Cargo Features
zng-task has no features set by default.
[dependencies]
zng-task = { version = "0.4.8", features = ["deadlock_detection", "ipc", "http", "test_util"] }
- deadlock_detection
-
Enables parking_lot deadlock detection.
Enables deadlock_detection of parking_lot
- ipc
-
Enables ipc tasks.
Only enables in
cfg(not(any(target_os = "android", target_arch = "wasm32", target_os = "ios")))
builds.Enables bincode, duct, ipc-channel ^0.18, serde, zng-txt, and zng-unique-id
- http
-
Enables http tasks.
Enables async-recursion, async-trait, base64, fs4 ^0.9, http-cache-semantics ^1.0, http-serde ^1.1, isahc, once_cell, remove_dir_all, serde, serde_json, sha2, and zng-txt
http-cache-semantics:
isahc needs this version
- test_util
-
Enabled by doc tests.