Cargo Features
[dependencies]
syd = { version = "3.29.4", default-features = false, features = ["oci", "uring", "utils", "prof"] }
- default = utils
-
The
utils
feature is set by default wheneversyd
is added without
somewhere in the dependency tree.default-features = false - oci = clap, libcgroups, libcontainer, liboci-cli, oci-spec, tabwriter, tracing, tracing-subscriber
-
Build OCI runtime helper "syd-oci"
Required by the syd-oci binary
- uring = io-uring
-
Enables io-uring based integration tests.
This is not used by the main Syd binary. - utils default = linefeed
-
Build helper utilities.
No reason to disable this unless you want fast build cycles.Required by syd-cat, syd-dns, syd-err, syd-fork, syd-ldd, syd-load, syd-log, syd-ls, syd-mdwe, syd-mem, syd-net, syd-open, syd-path, syd-poc, syd-read, syd-rnd, syd-run, syd-sh, syd-sha, syd-stat, syd-sys, syd-tck and syd-tty binaries
- prof = gperftools, tcmalloc
-
Enable profiling.
Requires gperftools installed.
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.
- io-uring uring?
-
Enables io-uring ^0.6
- linefeed utils
-
Enables linefeed
syd-sh deps.
- gperftools prof?
-
Enables gperftools
profiling deps.
- tcmalloc prof?
- clap oci?
-
Enables clap
syd-oci deps.
- libcgroups oci?
- libcontainer oci?
- liboci-cli oci?
- oci-spec oci?
-
Enables oci-spec =0.6
- tabwriter oci?
- tracing oci?
- tracing-subscriber oci?