# 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"
rust-version = "1.91.1"
name = "icechunk-format"
version = "2.0.5"
authors = ["Earthmover PBC"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Binary format types and serialization for the Icechunk storage engine"
homepage = "https://icechunk.io"
readme = "README.md"
keywords = [
    "zarr",
    "xarray",
    "database",
]
categories = [
    "database",
    "science",
    "science::geo",
]
license = "Apache-2.0"
repository = "https://github.com/earth-mover/icechunk"
resolver = "2"

[package.metadata.cargo-machete]
ignored = ["serde_bytes"]

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

[dependencies.base32]
version = "0.5.1"

[dependencies.bytes]
version = "1.11.1"
features = ["serde"]

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

[dependencies.flatbuffers]
version = "25.12.19"

[dependencies.flexbuffers]
version = "25.12.19"

[dependencies.futures]
version = "0.3.32"

[dependencies.icechunk-types]
version = "2.0.5"

[dependencies.itertools]
version = "0.14.0"

[dependencies.quick_cache]
version = "0.6.21"

[dependencies.rand]
version = "0.10.1"

[dependencies.rmp-serde]
version = "1.3.1"

[dependencies.serde]
version = "1.0.228"
features = [
    "derive",
    "rc",
]

[dependencies.serde_bytes]
version = "0.11.19"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tracing]
version = "0.1.44"

[dependencies.url]
version = "2.5.8"
features = ["serde"]

[dependencies.zstd]
version = "0.13.3"

[dev-dependencies.icechunk-macros]
version = "2.0.5"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.test-log]
version = "0.2.20"
features = [
    "trace",
    "color",
    "unstable",
]
default-features = false

[dev-dependencies.test-strategy]
version = "0.4.5"

[dev-dependencies.tokio]
version = "1.52.1"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[lints.clippy]
allow_attributes = "warn"
cargo_common_metadata = "warn"
clone_on_ref_ptr = "warn"
create_dir = "warn"
dbg_macro = "warn"
doc_markdown = "warn"
exit = "warn"
expect_used = "warn"
implicit_clone = "warn"
inefficient_to_string = "warn"
large_types_passed_by_value = "warn"
manual_let_else = "warn"
needless_pass_by_value = "warn"
panic = "warn"
semicolon_if_nothing_returned = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
uninlined_format_args = "warn"
unused_result_ok = "warn"
unused_trait_names = "warn"
unwrap_used = "warn"
wildcard_dependencies = "warn"

[lints.rust]
bare_trait_objects = "warn"
elided_lifetimes_in_paths = "warn"
missing_debug_implementations = "warn"
trivial_numeric_casts = "warn"
unreachable_pub = "warn"
unsafe_code = "warn"
unused_qualifications = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("shuttle"))']
