get-size2 0.7.4

Determine the size in bytes an object occupies inside RAM.
Documentation
# 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 = "2024"
name = "get-size2"
version = "0.7.4"
authors = [
    "Denis Kerp",
    "Nicolas",
]
build = false
exclude = ["examples/*"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Determine the size in bytes an object occupies inside RAM."
readme = "README.md"
keywords = [
    "size",
    "heap",
    "ram",
    "memory",
    "get-size",
]
categories = [
    "memory-management",
    "caching",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bircni/get-size2"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bytes = ["dep:bytes"]
chrono = ["dep:chrono"]
chrono-tz = ["dep:chrono-tz"]
compact-str = ["dep:compact_str"]
default = []
derive = ["get-size-derive2"]
hashbrown = ["dep:hashbrown"]
indexmap = ["dep:indexmap"]
ordermap = ["dep:ordermap"]
smallvec = ["dep:smallvec"]
thin-vec = ["dep:thin-vec"]
url = ["dep:url"]

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

[dependencies.bytes]
version = "1"
optional = true
default-features = false

[dependencies.chrono]
version = "0.4"
optional = true
default-features = false

[dependencies.chrono-tz]
version = "0.10"
optional = true
default-features = false

[dependencies.compact_str]
version = "0.9"
optional = true
default-features = false

[dependencies.get-size-derive2]
version = "0.7.4"
optional = true

[dependencies.hashbrown]
version = "0.16"
optional = true
default-features = false

[dependencies.indexmap]
version = "2.10"
optional = true
default-features = false

[dependencies.ordermap]
version = "1.0"
optional = true
default-features = false

[dependencies.smallvec]
version = "1"
optional = true
default-features = false

[dependencies.thin-vec]
version = "0.2"
optional = true
default-features = false

[dependencies.url]
version = "2"
optional = true
default-features = false

[dev-dependencies]

[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
expect_used = "warn"
missing_assert_message = "warn"
panic_in_result_fn = "warn"
str_to_string = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
wildcard_enum_match_arm = "warn"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "warn"
priority = -1

[lints.clippy.needless_doctest_main]
level = "allow"
priority = 0

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
deprecated = "warn"
elided_lifetimes_in_paths = "warn"
rust_2021_prelude_collisions = "warn"
semicolon_in_expressions_from_macros = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "deny"
unsafe_op_in_unsafe_fn = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"

[lints.rustdoc]
all = "warn"
missing_crate_level_docs = "warn"