Cargo Features
[dependencies]
shellcaster = { version = "2.0.1", default-features = false, features = ["sqlite_bundled", "native_tls", "native_certs"] }
- default = native_certs
-
The
native_certs
feature is set by default whenevershellcaster
is added without
somewhere in the dependency tree.default-features = false - sqlite_bundled
-
bundle sqlite library with app; recommended for Windows. This is turned on by default, but if you are building this for a package manager, consider building with
--no-default-features
specified, and adding libsqlite3-dev or sqlite3 as a dependency on the packageEnables bundled of rusqlite ^0.26.3
- native_tls = native-tls
-
by default, shellcaster uses the
rustls
crate to enable TLS support; if this is causing issues for some URLs (e.g., those using TLS 1.0 or 1.1), you can try building it to use thenative-tls
crate instead by specifying--features "native_tls"
Enables native-tls of ureq
- native_certs default
-
the
native_certs
feature (enabled by default) extracts the trusted certificate roots from your OS's trust store; you can instead use a bundled copy of the Mozilla Root program (which will thus not update if the program is not updated). To do so, build shellcaster with--no-default-features
to turn off use of the native certificatesEnables native-certs of ureq
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.