Cargo Features

[dependencies]
reference-counted = { version = "0.1.0", default-features = false, features = ["rc", "arc"] }
default = arc, rc

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

rc default

provide Rc struct implementing the ReferenceCounted trait

Enables alloc of maybe-std

arc default

provide Arc struct implementing the ReferenceCounted trait

Enables alloc of maybe-std