rust-search-extension/rust/Cargo.toml
2020-03-06 00:54:12 +08:00

27 lines
840 B
TOML

[package]
name = "rust-search-extension"
version = "0.1.0"
authors = ["Folyd <lyshuhow@gmail.com>"]
edition = "2018"
[features]
crates-index = ["csv","semver","tar","libflate"]
books-index = ["futures","tokio","reqwest","select"]
default = ["crates-index"]
[dependencies]
serde = "1.0.102"
serde_json = "1.0.41"
serde_derive = "1.0.102"
minifier = "0.0.36"
unicode-segmentation = "1.6.0"
# books-index
futures = { version = "0.3.1", optional=true }
tokio = { version="0.2", features=["macros", "time"], optional=true }
reqwest = { version="0.10" , features=["json"], optional=true }
select = { version= "0.4.3", optional=true }
# crates-index
csv = { version = "1.1.3", optional=true }
semver = { version="0.9.0", features=["ci"], optional=true }
tar = { version = "0.4.26", optional=true }
libflate = { version="0.1.27", optional=true }