# 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" rust-version = "1.65" name = "typesize" version = "0.1.10" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A library to fetch an accurate estimate of the total memory usage of a value." readme = "README.md" keywords = [ "memory", "optimisation", "derive", ] categories = [ "development-tools", "no-std", ] license = "MIT" repository = "https://github.com/GnomedDev/typesize" [package.metadata.docs.rs] all-features = true [lib] name = "typesize" path = "src/lib.rs" [[test]] name = "details" path = "tests/details.rs" [[test]] name = "enum_derive" path = "tests/enum_derive.rs" [[test]] name = "ptr_size" path = "tests/ptr_size.rs" [[test]] name = "struct_derive" path = "tests/struct_derive.rs" [dependencies.arrayvec] version = "0.7.4" optional = true default-features = false [dependencies.bitvec] version = "1.0.1" optional = true [dependencies.chrono] version = "0.4.31" optional = true default-features = false [dependencies.dashmap] version = "5.5.3" features = ["raw-api"] optional = true [dependencies.extract_map] version = "0.1.0" optional = true [dependencies.halfbrown] version = "0.2.4" optional = true default-features = false [dependencies.hashbrown] version = "0.14.2" optional = true default-features = false [dependencies.mini-moka] version = "0.10.2" optional = true default-features = false [dependencies.nonmax] version = "0.5.5" optional = true [dependencies.parking_lot] version = "0.12.1" optional = true default-features = false [dependencies.secrecy] version = "0.8.0" optional = true [dependencies.serde_json] version = "1" optional = true [dependencies.simd-json] version = "0.13" optional = true default-features = false [dependencies.time] version = "0.3.30" optional = true default-features = false [dependencies.typesize-derive] version = "=0.1.10" [dependencies.url] version = "2.4" optional = true default-features = false [dependencies.web-time] version = "1.1.0" optional = true [features] arrayvec = [ "dep:arrayvec", "halfbrown?/arraybackend", ] bitvec = ["dep:bitvec"] chrono = ["dep:chrono"] dashmap = [ "dep:dashmap", "mini-moka?/sync", "hashbrown", ] default = ["std"] details = ["typesize-derive/details"] extract_map_01 = ["dep:extract_map"] halfbrown = [ "dep:halfbrown", "hashbrown", ] hashbrown = ["dep:hashbrown"] mini_moka = ["dep:mini-moka"] nonmax = ["dep:nonmax"] parking_lot = ["dep:parking_lot"] saturating_impls = [] secrecy = ["dep:secrecy"] serde_json = ["dep:serde_json"] simd_json = [ "dep:simd-json", "halfbrown", ] std = [] time = ["dep:time"] url = ["dep:url"] web-time = ["dep:web-time"]