# 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.0"
name = "dbc-rs"
version = "0.1.3"
authors = ["dbc-rs contributors"]
build = "build.rs"
exclude = [
    ".github/",
    "examples/",
    "tests/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Database CAN (DBC) parsing and editing library"
homepage = "https://github.com/reneherrero/dbc-rs"
documentation = "https://docs.rs/dbc-rs"
readme = "README.md"
keywords = [
    "can",
    "dbc",
    "automotive",
    "no_std",
]
categories = [
    "parsing",
    "embedded",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/reneherrero/dbc-rs"

[package.metadata.docs.rs]
features = ["std"]

[features]
alloc = []
default = ["std"]
embedded-can = ["dep:embedded-can"]
heapless = ["dep:heapless"]
std = ["alloc"]

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

[[bench]]
name = "parse_bench"
path = "benches/parse_bench.rs"
harness = false
required-features = ["std"]

[dependencies.embedded-can]
version = "0.4.1"
optional = true

[dependencies.heapless]
version = "0.9.2"
optional = true

[dev-dependencies.criterion]
version = "0.8.1"
default-features = false

[dev-dependencies.proptest]
version = "1.9.0"
features = ["std"]
default-features = false
