# 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.85"
name = "cdb2"
version = "0.8.0"
authors = ["Kan-Ru Chen <kanru@kanru.info>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure Rust library to read and write CDB files"
homepage = "https://github.com/kanru/cdb2-rs"
readme = "README.md"
license = "Unlicense"
repository = "https://github.com/kanru/cdb2-rs"

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

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

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

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

[dependencies.memmap2]
version = "0.9.1"

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

[dev-dependencies.tempfile]
version = "3.9.0"

[profile.fuzzing]
debug = 2
panic = "abort"
inherits = "release"
