Cargo Features

[dependencies]
typesize = { version = "0.1.7", default-features = false, features = ["std", "details", "dashmap", "arrayvec", "simd_json", "halfbrown", "extract_map_01", "parking_lot", "serde_json", "mini_moka", "hashbrown", "secrecy", "chrono", "nonmax", "time", "url"] }
default = std

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

std default
details

Enables details of typesize-derive

Affects typesize::TypeSize.get_collection_item_count, typesize::TypeSize.get_size_details, typesize::Field

dashmap = hashbrown

Update docs in lib.rs, and tests in .github/workflows/ci.yml!

Enables dashmap, sync of optional mini-moka

arrayvec

Enables arrayvec, arraybackend of optional halfbrown

simd_json = halfbrown

Enables simd-json

halfbrown simd_json? = hashbrown

Enables halfbrown

extract_map_01

Enables extract_map

parking_lot

Enables parking_lot

serde_json

Enables serde_json

mini_moka

Enables mini-moka

hashbrown dashmap? halfbrown?

Enables hashbrown

secrecy

Enables secrecy

chrono

Enables chrono

nonmax

Enables nonmax

time

Enables time

url

Enables url