bunsen 0.27.0

bunsen is a batteries included common library for burn
Documentation
# 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.1"
name = "bunsen"
version = "0.27.0"
authors = ["Crutcher Dunnavant <crutcher@zspacelabs.ai>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "bunsen is a batteries included common library for burn"
homepage = "https://zspacelabs.ai/bunsen/book"
documentation = "https://docs.rs/bunsen/latest/"
readme = "README.md"
license = "MIT or Apache-2.0"
repository = "https://github.com/zspacelabs/bunsen"
resolver = "2"

[features]
cache = [
    "std",
    "dep:downloader",
    "dep:directories-next",
    "downloader/default-tls",
]
cuda = ["burn/cuda"]
default = [
    "reflection",
    "train",
    "testing",
    "store",
]
flex = ["burn/flex"]
metal = ["burn/metal"]
reflection = [
    "std",
    "dep:xot",
    "dep:paste",
    "dep:xee-xpath",
    "dep:spanned_error_message",
]
std = ["burn/std"]
store = [
    "std",
    "cache",
    "burn/store",
    "burn-store/pytorch",
    "bunsen-onnx-gen",
]
testing = ["flex"]
train = [
    "std",
    "burn/train",
    "dep:hashbrown",
]
wgpu = ["burn/wgpu"]

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

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

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

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

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

[dependencies.bunsen-contracts-macros]
version = "0.27.0"

[dependencies.bunsen-onnx-gen]
version = "0.27.0"
optional = true

[dependencies.burn]
version = "0.21.0"

[dependencies.burn-store]
version = "0.21.0"
optional = true

[dependencies.crc]
version = "3.4.0"

[dependencies.directories-next]
version = "2.0.0"
optional = true

[dependencies.document-features]
version = "0.2.12"

[dependencies.downloader]
version = "0.2.7"
optional = true
default-features = false

[dependencies.hashbrown]
version = "0.17.0"
optional = true

[dependencies.num-traits]
version = "0.2.19"

[dependencies.paste]
version = "1.0.15"
optional = true

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

[dependencies.serde_json]
version = "1.0.145"

[dependencies.spanned_error_message]
version = "0.1.0"
optional = true

[dependencies.strum]
version = "0.28.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.18"

[dependencies.xee-xpath]
version = "0.1.5"
optional = true

[dependencies.xot]
version = "0.31.2"
optional = true

[dev-dependencies.burn]
version = "0.21.0"
features = ["autodiff"]

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

[dev-dependencies.hamcrest]
version = "0.1.5"

[dev-dependencies.hound]
version = "3.5.1"

[dev-dependencies.indoc]
version = "2.0.7"

[dev-dependencies.nearly]
version = "0.4.0"

[dev-dependencies.serde]
version = "1.0.228"

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

[dev-dependencies.serial_test]
version = "3.4.0"

[lints.clippy]
doc_markdown = "warn"
double_must_use = "allow"

[lints.rust]
exported-private-dependencies = "allow"
warnings = "deny"