Cargo Features
[dependencies]
orthrus-core = { version = "0.3.0", default-features = false, features = ["std", "alloc", "time", "certificate"] }
- default = std
-
The
std
feature is set by default wheneverorthrus-core
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
snafu:
Implement the
std::error::Error
trait.Required for time module
Affects
orthrus-core::identify
,time::current_timestamp
,time::current_time
,time::local_offset
… - alloc std
-
Affects
data::ReadExt.read_slice
,data::ReadExt.remaining_slice
,data::ReadExt.read_string
,time::format_timestamp
… - time
-
Enables time
Affects
orthrus-core::time
,prelude::time
… - certificate = der, x509-cert
-
Affects
orthrus-core::certificate
,prelude::cert
…
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.
- der certificate?
-
Enables der
Required for certificate module
- x509-cert certificate?