# 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 = "2021"
name = "flacenc"
version = "0.5.1"
authors = ["Yotaro Kubo <yotaro@ieee.org>"]
build = "build.rs"
exclude = [
    "bench_runner",
    "how_to_make_a_release.md",
    "pytools",
    "report",
    "Makefile.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure rust library for embedding FLAC encoder in your application."
documentation = "https://docs.rs/flacenc/latest/flacenc"
readme = "README.md"
keywords = [
    "flac",
    "lossless",
    "encoder",
    "audio",
]
categories = [
    "compression",
    "multimedia::audio",
    "multimedia::encoding",
]
license = "Apache-2.0"
repository = "https://github.com/yotarok/flacenc-rs/"

[features]
__export_sigen = ["dep:rand"]
decode = ["dep:nom"]
default = [
    "log",
    "par",
    "serde",
]
experimental = ["dep:nalgebra"]
log = ["dep:log"]
mimalloc = ["dep:mimalloc"]
par = ["dep:crossbeam-channel"]
serde = [
    "dep:serde",
    "heapless/serde",
]
simd-nightly = []

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

[dependencies.crc]
version = "3.2"

[dependencies.crossbeam-channel]
version = "0.5.15"
optional = true

[dependencies.heapless]
version = "0.8.0"

[dependencies.log]
version = "0.4"
optional = true

[dependencies.md-5]
version = "0.10.6"

[dependencies.mimalloc]
version = "0.1.39"
optional = true
default-features = false

[dependencies.nalgebra]
version = "0.32"
optional = true

[dependencies.nom]
version = "7"
optional = true

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

[dependencies.rand]
version = "0.8.5"
optional = true

[dependencies.rustversion]
version = "1.0"

[dependencies.seq-macro]
version = "0.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true

[dev-dependencies.claxon]
version = "0.4.3"

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

[dev-dependencies.nom]
version = "7"

[dev-dependencies.once_cell]
version = "1.10.0"

[dev-dependencies.rand]
version = "0.8.5"
features = ["std_rng"]

[dev-dependencies.rstest]
version = "0.22"

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

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

[build-dependencies.built]
version = "0.7.7"

[profile.release]
debug = 1
