Cargo Features
[dependencies]
protoflow-blocks = { version = "0.4.3", default-features = false, features = ["std", "all", "hash", "rand", "serde", "sysml", "tracing", "unstable"] }
- default = all, std
-
These default features are set whenever
protoflow-blocks
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional blake3, protoflow-core, optional serde, optional sysml-model, and optional tracing
blake3:
This crate uses libstd for std::io trait implementations, and also for runtime CPU feature detection. This feature is enabled by default. If you use --no-default-features, the only way to use the SIMD implementations in this
crate is to enable the corresponding instruction sets statically for the entire build, with e.g. RUSTFLAGS="-C target-cpu=native".Affects
sys::sys
,protoflow-blocks::build_stdio_system
… - all default = hash, rand, serde, sysml, tracing
- hash all
-
Enables blake3
Affects
hash::hash
… - rand all
-
Enables rand of protoflow-core
protoflow-core:
FIXME: , "rand/getrandom"]
- serde all
-
Enables serde and serde_yml, serde of ubyte, serde of duration-str and protoflow-core
- sysml all
-
Enables sysml-model, sysml of protoflow-core
- tracing all
-
Enables tracing, tracing of protoflow-core
- unstable
-
Enables unstable of protoflow-core and protoflow-derive