Cargo Features
[dependencies]
dsf-core = { version = "0.2.0", default-features = false, features = ["std", "alloc", "no-std-net", "diesel", "serde"] }
- default = serde, std
-
These default features are set whenever
dsf-core
is added without
somewhere in the dependency tree.default-features = false - std default = strum, strum_macros
-
Enables std of base64 ^0.12.1, byteorder, bytes ^0.5.4, chrono, managed ^0.7.1, sha2 ^0.8.1, and sodiumoxide
Affects
dsf-core::api
… - alloc
-
Enables alloc of base64 ^0.12.1 and chrono
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.
- strum_macros std
-
Enables strum_macros ^0.20.1
- no-std-net implicit feature
-
Enables no-std-net ^0.3.0
no-std-net:
Rust's std::net... without the 'std'.
- diesel implicit feature
-
Enables diesel ^1.4.3
diesel:
A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
- serde default
- strum std
-
Enables strum ^0.20.0