burn-optim 0.22.0

Optimizer building blocks for the Burn deep learning framework
# 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 = "burn-optim"
version = "0.22.0"
authors = ["nathanielsimard <nathaniel.simard.42@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Optimizer building blocks for the Burn deep learning framework"
documentation = "https://docs.rs/burn-optim"
readme = "README.md"
keywords = [
    "deep-learning",
    "machine-learning",
    "tensor",
    "pytorch",
    "ndarray",
]
categories = [
    "science",
    "no-std",
    "embedded",
    "wasm",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/tracel-ai/burn/tree/main/crates/burn-optim"

[package.metadata.docs.rs]
features = ["doc"]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = [
    "std",
    "burn-core/default",
]
doc = [
    "std",
    "burn-core/doc",
]
std = [
    "burn-core/std",
    "burn-pack/std",
    "num-traits/std",
    "serde/std",
    "log",
]
tracing = ["burn-core/tracing"]

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

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

[dependencies.burn-core]
version = "0.22.0"
features = [
    "autodiff",
    "extension",
]
default-features = false

[dependencies.burn-derive]
version = "0.22.0"
default-features = false

[dependencies.burn-pack]
version = "0.22.0"
default-features = false

[dependencies.derive-new]
version = "0.7.0"
default-features = false

[dependencies.hashbrown]
version = "0.16"
features = ["serde"]

[dependencies.log]
version = "0.4.34"
optional = true
default-features = false

[dependencies.num-traits]
version = "0.2.19"
features = ["libm"]
default-features = false

[dependencies.serde]
version = "1.0.229"
features = [
    "derive",
    "alloc",
    "derive",
]
default-features = false

[dev-dependencies]

[lints.clippy]
redundant_field_names = "allow"

[lints.rustdoc]
broken_intra_doc_links = "deny"
invalid_html_tags = "deny"