Cargo Features
[dependencies]
librarian = { version = "0.2.3", default-features = false, features = ["zip", "web", "tgz", "download"] }
- default = download
-
The
download
feature is set by default wheneverlibrarian
is added without
somewhere in the dependency tree.default-features = false - zip download = positioned-io, rc-zip
- web download = bytes, reqwest, url
- tgz download = flate2, tar
- download default = tgz, web, zip
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- bytes web?
-
Enables bytes ^0.5
- positioned-io zip?
-
Enables positioned-io ^0.2.2
- rc-zip zip?
-
Enables rc-zip ^0.0.1
- reqwest web?
-
Enables reqwest ^0.10.8
- url web?
- tar tgz?
- flate2 tgz?