Cargo Features
[dependencies]
rusturnate = { version = "0.0.9", default-features = false, features = ["std", "blocking", "suspending", "suspending_with_timeout", "manual_poisoning", "anytime_poisoning"] }
- default = blocking, std, suspending
-
These default features are set whenever
rusturnate
is added without
somewhere in the dependency tree.default-features = false - std default blocking suspending_with_timeout?
-
Enables usage of std functionality
- blocking default = std
-
Enables awaiting results in threads by blocking
- suspending default suspending_with_timeout?
-
Enabled awaiting results in futures by suspending
- suspending_with_timeout = futures-timer, std, suspending
-
Enabled awaiting results in futures by suspending with a timeout
- manual_poisoning anytime_poisoning?
-
Unsafe: Enables the unsafe
mark_poisoned
method on theEditor
struct - anytime_poisoning = manual_poisoning
-
Unsafe: Enables the unsafe
mark_poisoned
method on theRusturn
struct
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.