NeuralAmpModeler-rs 0.2.0

High-performance Neural Amp Modeler DSP core: WaveNet/LSTM/ConvNet inference, SIMD math (x86-64-v3), .nam/.namb loader, cabinet IR, resampling and noise gate.
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.0"
name = "NeuralAmpModeler-rs"
version = "0.2.0"
authors = ["Fábio Henrique de Lima Silva <fhl.bsb@gmail.com>"]
build = "build.rs"
include = [
    "examples/",
    "src/bin/",
    "src/common/",
    "src/dsp/",
    "src/loader/",
    "src/math/",
    "src/models/",
    "src/testing/",
    "src/lib.rs",
    "Cargo.toml",
    "/README.md",
    "/LICENSE.txt",
    "/NOTICE.txt",
    "/docs/",
    "build.rs",
    ".cargo/hide-libm-shadow.map",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance Neural Amp Modeler DSP core: WaveNet/LSTM/ConvNet inference, SIMD math (x86-64-v3), .nam/.namb loader, cabinet IR, resampling and noise gate."
readme = "README.md"
keywords = [
    "audio",
    "dsp",
    "nam",
    "neural-amp-modeler",
    "guitar",
]
categories = [
    "multimedia::audio",
    "multimedia",
]
license = "Apache-2.0"
repository = "https://github.com/fabiohl/NeuralAmpModeler-rs"

[package.metadata.docs.rs]
no-default-features = true
features = [
    "stereo",
    "testing",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
dynamic-engine = []
heap-audit = []
long_bench = []
pgo = []
stereo = []
testing = []

[lib]
name = "neural_amp_modeler_rs"
crate-type = ["rlib"]
path = "src/lib.rs"

[[bin]]
name = "gen_stress"
path = "src/bin/gen_stress.rs"
required-features = ["testing"]

[[bin]]
name = "wav_to_golden"
path = "src/bin/wav_to_golden.rs"
required-features = ["testing"]

[[example]]
name = "cabsim"
path = "examples/cabsim.rs"
required-features = []

[[example]]
name = "diagnostics"
path = "examples/diagnostics.rs"
required-features = []

[[example]]
name = "inspect_model"
path = "examples/inspect_model.rs"
required-features = []

[[example]]
name = "load_model"
path = "examples/load_model.rs"
required-features = []

[[example]]
name = "math_activations"
path = "examples/math_activations.rs"
required-features = []

[[example]]
name = "offline_render"
path = "examples/offline_render.rs"
required-features = []

[dependencies.anyhow]
version = "1.0.104"

[dependencies.libc]
version = "0.2.189"

[dependencies.log]
version = "0.4.33"

[dependencies.rtrb]
version = "0.3.4"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2.0"

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

[dev-dependencies.loom]
version = "0.7"

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

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

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

[dev-dependencies.serial_test]
version = "3"
features = ["async"]

[lints.clippy]
allow_attributes = "warn"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(loom)"]

[profile.dev]
opt-level = 0
debug = 1
split-debuginfo = "unpacked"
incremental = true

[profile.dist]
panic = "abort"
inherits = "release"

[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
panic = "unwind"
strip = true