[package]
edition = "2021"
name = "shine-rs"
version = "0.1.3"
authors = ["Shon Wang <code@wshon.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A pure Rust MP3 encoder based on the shine library, providing complete MPEG Layer III encoding functionality"
homepage = "https://github.com/wshon/shine-rs"
documentation = "https://docs.rs/shine-rs"
readme = "README.md"
keywords = [
"mp3",
"audio",
"encoder",
"codec",
"shine",
]
categories = [
"multimedia::audio",
"encoding",
]
license = "LGPL-2.0"
repository = "https://github.com/wshon/shine-rs"
[features]
default = []
diagnostics = [
"serde",
"serde_json",
"chrono",
]
[lib]
name = "shine_rs"
path = "src/lib.rs"
[[example]]
name = "comprehensive_example"
path = "examples/comprehensive_example.rs"
[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
[[example]]
name = "simple_encoding"
path = "examples/simple_encoding.rs"
[[test]]
name = "bitstream_tests"
path = "tests/bitstream_tests.rs"
[[test]]
name = "encoder_tests"
path = "tests/encoder_tests.rs"
[[test]]
name = "mdct_tests"
path = "tests/mdct_tests.rs"
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "mp3_encoder_tests"
path = "tests/mp3_encoder_tests.rs"
[[test]]
name = "quantization_tests"
path = "tests/quantization_tests.rs"
[[test]]
name = "scfsi_tests"
path = "tests/scfsi_tests.rs"
[[test]]
name = "subband_tests"
path = "tests/subband_tests.rs"
[[test]]
name = "types_tests"
path = "tests/types_tests.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
[dependencies.hound]
version = "3.5"
[dependencies.lazy_static]
version = "1.4"
[dependencies.log]
version = "0.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.thiserror]
version = "1.0"
[dev-dependencies.env_logger]
version = "0.10"
[dev-dependencies.proptest]
version = "1.4"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"