Cargo Features

[dependencies]
rust-cc = { version = "0.6.2", default-features = false, features = ["nightly", "derive", "auto-collect", "finalization", "weak-ptrs", "cleaners", "std", "pedantic-debug-assertions"] }
default = auto-collect, derive, finalization, std

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

nightly

Enables support for nightly-only features

derive default

Enables the derive macros for the Trace and Finalize traits

Enables rust-cc-derive

auto-collect default

Enables automatic executions of the collection algorithm

Affects rust-cc::config

finalization default

Enables finalization

weak-ptrs cleaners?

Enables weak pointers

Affects rust-cc::weak

cleaners = weak-ptrs

Enables cleaners

Enables slotmap

Affects rust-cc::cleaners

std default

Enables support for stdlib, disable for no-std support (requires ELF TLS and nightly)

Enables std of optional slotmap and thiserror

pedantic-debug-assertions

(Internal use only) Enables more debug assertions useful for debugging