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 default-features = false somewhere in the dependency tree.

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 the Editor struct

anytime_poisoning = manual_poisoning

Unsafe: Enables the unsafe mark_poisoned method on the Rusturn 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.

futures-timer suspending_with_timeout?