Cargo Features
[dependencies]
rattler-build = { version = "0.27.0", default-features = false, features = ["native-tls", "rustls-tls", "tui", "recipe-generation", "generate-cli-docs"] }
- default = native-tls, recipe-generation
-
These default features are set whenever
rattler-build
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables native-tls of rattler ^0.27.15, rattler_installs_packages ^0.9.0, and reqwest
rattler:
Rattler crates
- rustls-tls
-
Enables rustls-tls and rustls-tls-native-roots of reqwest, rustls-tls of rattler ^0.27.15 and rattler_installs_packages ^0.9.0
- tui = ansi-to-tui, crossterm, ratatui, throbber-widgets-tui, tui-input
-
Affects
rattler-build::tui
… - recipe-generation default = rattler_installs_packages
-
Affects
rattler-build::recipe_generator
…Required by the binary
- generate-cli-docs
-
but in order to be able to publish to crates we remove this feature
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.
- rattler_installs_packages native-tls recipe-generation rustls-tls?
-
Enables rattler_installs_packages ^0.9.0
- ratatui tui?
-
Enables ratatui ^0.28.1
- crossterm tui?
- ansi-to-tui tui?
-
Enables ansi-to-tui ^6.0.0
- throbber-widgets-tui tui?
-
Enables throbber-widgets-tui ^0.7
- tui-input tui?
-
Enables tui-input ^0.10.1