Cargo Features
[dependencies]
harden-file-transfer-rs = { version = "0.1.0", default-features = false, features = ["server", "conversion", "native-tls", "hyper-openssl", "hyper-tls", "openssl"] }
- default = server
-
The
server
feature is set by default wheneverharden-file-transfer-rs
is added without
somewhere in the dependency tree.default-features = false - server default = hyper, lazy_static, percent-encoding, regex, serde_ignored, url
-
Affects
harden-file-transfer-rs::server
,harden-file-transfer-rs::context
… - conversion = frunk, frunk-enum-core, frunk-enum-derive, frunk_core, frunk_derives
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.
- hyper server
-
Enables hyper ^0.14
server features
- serde_ignored server
- url server
- lazy_static server
-
Enables lazy_static
Server callback-specific
- percent-encoding server
- regex server
- frunk conversion?
-
Enables frunk ^0.3.0
Conversion
- frunk_derives conversion?
-
Enables frunk_derives ^0.3.0
- frunk_core conversion?
-
Enables frunk_core ^0.3.0
- frunk-enum-derive conversion?
-
Enables frunk-enum-derive ^0.2.0
- frunk-enum-core conversion?
-
Enables frunk-enum-core ^0.2.0
- native-tls mac win ios implicit feature
-
Enables native-tls
native-tls:
A wrapper over a platform's native TLS implementation
- hyper-openssl not mac win ios implicit feature
-
Enables hyper-openssl ^0.9
hyper-openssl:
Hyper TLS support via OpenSSL
- hyper-tls mac win ios implicit feature
-
Enables hyper-tls ^0.5
hyper-tls:
Default TLS implementation for use with hyper
- openssl not mac win ios implicit feature
-
Enables openssl
openssl:
OpenSSL bindings