Cargo Features

[dependencies]
abi_stable = { version = "0.11.3", default-features = false, features = ["rust_1_64", "rust_latest_stable", "only_new_tests", "sabi_trait_examples", "nonexhaustive_examples", "testing", "no_fn_promotion", "no_tagging_doctest", "channels", "docsrs", "serde_json"] }
default = channels, serde_json

These default features are set whenever abi_stable is added without default-features = false somewhere in the dependency tree.

rust_1_64 rust_latest_stable?
rust_latest_stable = rust_1_64
test_miri_track_raw only_new_tests = testing
sabi_trait_examples
nonexhaustive_examples

Affects nonexhaustive_enum::examples

testing only_new_tests? test_miri_track_raw?

Affects abi_stable::test_utils, nonexhaustive_enum::examples

no_fn_promotion = no_tagging_doctest

For disabling tests that break with the reduced promotion in https://github.com/rust-lang/rust/pull/80243#event-4161720040

no_tagging_doctest no_fn_promotion?
channels default = crossbeam-channel
docsrs

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.

crossbeam-channel channels

Affects external_types::crossbeam_channel

serde_json default

Affects external_types::serde_json