# 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.94"
name = "nodedb-codec"
version = "0.0.0-beta.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Compression codecs for NodeDB timeseries columnar storage"
homepage = "https://nodedb.dev"
readme = "README.md"
license = "BUSL-1.1"
repository = "https://github.com/NodeDB-Lab/nodedb"
resolver = "2"

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

[dependencies.lz4_flex]
version = "0.11"
features = [
    "safe-encode",
    "safe-decode",
]
default-features = false

[dependencies.pco]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sonic-rs]
version = "0.5"

[dependencies.thiserror]
version = "2.0"

[dependencies.zerompk]
version = "0.3"
features = [
    "std",
    "derive",
]

[dev-dependencies.rand]
version = "0.9"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.zstd]
version = "0.13"

[target.'cfg(target_arch = "wasm32")'.dependencies.ruzstd]
version = "0.7"
