Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2.1: Integrate everything from the todo #4

Merged
9 commits merged into from
Oct 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/target
.utpm
.vscode
utpm
utpm
/test
187 changes: 182 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 20 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "utpm"
version = "1.0.0"
version = "2.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -10,13 +10,30 @@ dirs = "5.0"
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_with = "1.0"
colored = "2.0"
colored = { version = "2.0"}
toml = { version = "0.7.5", features = ["display"] }
inquire = "0.6.2"
semver = { version = "1.0.18", features = ["serde"] }
spdx = "0.10.2"
spdx = { version = "0.10.2", features = ["text"] }
clap = { version = "4.4.2", features = ["derive"] }
git2 = "0.18.0"

[[bin]]
name = "utpm"
path = "src/main.rs"

[[bin]]
name = "utpm-portable"
path = "src/portable.rs"

[features]
portable = []

# For future dependencies check and other things, it will be usefull
# Reduce size
[profile.release]
strip = true
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
11 changes: 1 addition & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,7 @@ There is a `build.sh` to install/update the project.

# TODO:

- [x] Reimpl errors
- [x] Last typst version
- [x] More commands:
- [x] Unlink
- [x] List
- [x] Create `typst.toml` by asking questions
- [ ] ""pre-export"" package by giving them what they need
- [x] use semver
- [x] Use custom packages namespace (e.g "@custom/example:1.0.1")
- [x] Fix typo
See TODO.md

# Contribution

Expand Down
Loading