# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
name = "spacetimedb-memory-usage"
version = "1.11.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides the trait `MemoryUsage`"
readme = "README.md"
license-file = "LICENSE"
resolver = "3"

[features]
decorum = ["dep:decorum"]
default = [
    "hash_map",
    "smallvec",
    "ethnum",
    "decorum",
]
ethnum = ["dep:ethnum"]
hash_map = ["dep:hashbrown"]
smallvec = ["dep:smallvec"]

[lib]
name = "spacetimedb_memory_usage"
path = "src/lib.rs"

[dependencies.decorum]
version = "0.3.1"
features = ["std"]
optional = true
default-features = false

[dependencies.ethnum]
version = "1.5.0"
features = ["serde"]
optional = true

[dependencies.hashbrown]
version = "0.16.1"
features = [
    "equivalent",
    "inline-more",
    "rayon",
    "serde",
]
optional = true
default-features = false

[dependencies.smallvec]
version = "1.11"
features = [
    "union",
    "const_generics",
]
optional = true
