Cargo Features
[dependencies]
git-box = { version = "0.2.0", default-features = false, features = ["all", "lint", "s3", "artifactory", "psql", "nexus", "archiva", "file"] }
- default = all
-
The
all
feature is set by default whenevergit-box
is added without
somewhere in the dependency tree.default-features = false - all default = archiva, artifactory, file, mysql, nexus, psql, rusqlite, s3, ssh2
- lint = clippy
- s3 all = chrono, curl, env_logger, urlparse, warheadhateus
-
Affects
filter::s3
,filter::repo
… - artifactory all = curl, sha1
-
Affects
repo::art
,filter::repo
… - psql all = openssl, postgres
- nexus all = curl
-
Affects
repo::nexus
,filter::repo
… - archiva all
-
Affects
repo::archiva
,filter::repo
… - file all
-
Affects
filter::file
…
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.
- chrono s3?
-
Enables chrono ~0.2.19
- clippy lint?
- env_logger s3?
-
Enables env_logger ^0.3.2
- mysql all
-
Enables mysql ^1.2.1
Affects
db::mysql
,filter::db
… - openssl psql?
-
Enables openssl ^0.7.6
- postgres psql?
-
Enables postgres ~0.11.1
Affects
db::postgres
,filter::db
… - rusqlite all
-
Enables rusqlite ~0.6.0
Affects
db::sqlite
,filter::db
… - sha1 artifactory?
-
Enables sha1 ~0.1.1
- ssh2 all
-
Enables ssh2 ~0.2.10
Affects
filter::ssh2
… - urlparse s3?
- warheadhateus s3?
- curl artifactory? nexus? s3?
-
Enables curl ~0.2.16