Cargo Features
[dependencies]
gitforge = { version = "0.2.0", default-features = false, features = ["github", "gitlab"] }
- default = github, gitlab
-
These default features are set whenever
gitforge
is added without
somewhere in the dependency tree.default-features = false - github default = octocrab, tokio
-
Affects
gitforge::hub
… - gitlab default = gitlab_crate
-
Affects
gitforge::lab
…
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.
- gitlab_crate gitlab
-
Enables gitlab ^0.1311
- octocrab github
-
Enables octocrab ^0.9
- tokio github