Cargo Features

[dependencies]
gc-arena = { version = "0.6.0", default-features = false, features = ["std", "tracing", "enum-map", "hashbrown", "indexmap", "slotmap", "smallvec"] }
default = std

The std feature is set by default whenever gc-arena is added without default-features = false somewhere in the dependency tree.

std default
tracing

Enables tracing

Features from optional dependencies

enum-map implicit feature

Enables enum-map

enum-map:

A map with C-like enum keys represented internally as an array

hashbrown implicit feature

Enables hashbrown

hashbrown:

A Rust port of Google's SwissTable hash map

indexmap implicit feature

Enables indexmap

indexmap:

A hash table with consistent order and fast iteration

slotmap implicit feature

Enables slotmap

slotmap:

Slotmap data structure

smallvec implicit feature

Enables smallvec

smallvec:

'Small vector' optimization: store up to a small number of items on the stack