# 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 = "beve"
version = "1.0.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust implementation of the BEVE (Binary Efficient Versatile Encoding) specification with serde support"
homepage = "https://github.com/beve-org/beve-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/beve-org/beve-rs"

[features]
default = ["mat"]
mat = ["dep:hdf5-pure"]

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

[[bin]]
name = "beve-cli"
path = "src/bin/beve-cli.rs"

[[example]]
name = "emit_bool"
path = "examples/emit_bool.rs"

[[example]]
name = "emit_color"
path = "examples/emit_color.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "fast"
path = "tests/fast.rs"

[[test]]
name = "field"
path = "tests/field.rs"

[[test]]
name = "interop"
path = "tests/interop.rs"

[[test]]
name = "mat_v73"
path = "tests/mat_v73.rs"

[[test]]
name = "property"
path = "tests/property.rs"

[[test]]
name = "spec"
path = "tests/spec.rs"

[[test]]
name = "streaming"
path = "tests/streaming.rs"

[[test]]
name = "value"
path = "tests/value.rs"

[[bench]]
name = "serialization"
path = "benches/serialization.rs"
harness = false

[dependencies.half]
version = "2.4"
features = ["serde"]

[dependencies.hdf5-pure]
version = "0.1"
optional = true

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

[dependencies.simdutf8]
version = "0.1"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.hdf5-pure]
version = "0.1"

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

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

[dev-dependencies.serde_json]
version = "1"
