mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-22 05:28:42 +00:00

`binstalk-downloader` contains stuff about http(s) before the git code is moved into it and now it becomes http and git. While git indeed uses http stuff, which is why I decided to put it into binstalk-downloader, it is more than just downloading since it is stateful (can be cached locally and updated) where as http is stateless. Also `binstalk-downloader`'s codegen time now increases dramatically and it also creates extra dependencies for binstalk-fetchers, delaying its execution. The git code also don't use anything from `binstalk-downloader` at all, it makes sense to be an independent crate. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
74 lines
1.4 KiB
TOML
74 lines
1.4 KiB
TOML
[workspace]
|
|
members = [
|
|
"crates/atomic-file-install",
|
|
"crates/bin",
|
|
"crates/binstalk",
|
|
"crates/binstalk-bins",
|
|
"crates/binstalk-fetchers",
|
|
"crates/binstalk-registry",
|
|
"crates/binstalk-manifests",
|
|
"crates/binstalk-types",
|
|
"crates/binstalk-downloader",
|
|
"crates/cargo-toml-workspace",
|
|
"crates/detect-wasi",
|
|
"crates/fs-lock",
|
|
"crates/normalize-path",
|
|
"crates/simple-git",
|
|
"crates/detect-targets",
|
|
"crates/leon",
|
|
"crates/leon-macros",
|
|
]
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
lto = true
|
|
codegen-units = 1
|
|
panic = "abort"
|
|
strip = "symbols"
|
|
|
|
[profile.release.build-override]
|
|
inherits = "dev.build-override"
|
|
|
|
[profile.release.package."tokio-tar"]
|
|
opt-level = "z"
|
|
|
|
[profile.release.package."binstall-tar"]
|
|
opt-level = "z"
|
|
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
lto = false
|
|
debug-assertions = true
|
|
overflow-checks = true
|
|
codegen-units = 32
|
|
|
|
# Set the default for dependencies on debug.
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
|
|
[profile.dev.package."tokio-tar"]
|
|
opt-level = "z"
|
|
|
|
[profile.dev.package."binstall-tar"]
|
|
opt-level = "z"
|
|
|
|
[profile.dev.build-override]
|
|
inherits = "dev"
|
|
debug = false
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
incremental = false
|
|
|
|
[profile.check-only]
|
|
inherits = "dev"
|
|
debug = false
|
|
debug-assertions = false
|
|
overflow-checks = false
|
|
panic = "abort"
|
|
|
|
[profile.check-only.build-override]
|
|
inherits = "check-only"
|
|
|
|
[profile.check-only.package."*"]
|
|
inherits = "check-only"
|