mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 08:48:30 +00:00
feet: add license to docs and updated Cargo.toml to add build with no features flag
This commit is contained in:
25
Cargo.toml
25
Cargo.toml
@@ -69,16 +69,29 @@ toml = "1.0.3"
|
||||
serde_json = "1"
|
||||
ctrlc = "3"
|
||||
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
git2 = { version = "0.20.4", features = ["vendored-libgit2", "vendored-openssl"] }
|
||||
openssl = { version = "0.10", features = ["vendored"] }
|
||||
[features]
|
||||
default = ["vendored"]
|
||||
vendored = [
|
||||
"git2/vendored-libgit2",
|
||||
"git2/vendored-openssl",
|
||||
"openssl/vendored",
|
||||
]
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
git2 = { version = "0.20.4", features = ["vendored-libgit2"] }
|
||||
[target.'cfg(not(windows))'.dependencies]
|
||||
git2 = "0.20.4"
|
||||
openssl = "0.10"
|
||||
|
||||
[profile.release]
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
lto = "thin"
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
strip = true
|
||||
|
||||
[profile.fast]
|
||||
inherits = "release"
|
||||
opt-level = 1
|
||||
lto = false
|
||||
codegen-units = 16
|
||||
panic = "abort"
|
||||
strip = true
|
||||
Reference in New Issue
Block a user