Add new optional dep cargo-dist-schema

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-09-24 12:39:12 +10:00
parent 7d25079422
commit ce5b3dbb9a
2 changed files with 63 additions and 0 deletions

View file

@ -15,6 +15,7 @@ async-trait = "0.1.68"
binstalk-downloader = { version = "0.9.6", path = "../binstalk-downloader", default-features = false, features = ["gh-api-client"] }
binstalk-types = { version = "0.6.1", path = "../binstalk-types" }
bytes = "1.4.0"
cargo-dist-schema = { version = "0.2.0", optional = true }
compact_str = { version = "0.7.0" }
either = "1.8.1"
itertools = "0.12.0"
@ -34,6 +35,7 @@ binstalk-downloader = { version = "0.9.6", path = "../binstalk-downloader" }
[features]
quickinstall = []
dist-manifest = ["dep:cargo-dist-schema"]
[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docsrs"]