# 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 = "opus-rs"
version = "0.1.18"
authors = ["jinti<shenjindi@fourz.cn>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pure Rust implementation of Opus codec"
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/restsend/opus-rs"

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

[[example]]
name = "wav_test"
path = "examples/wav_test.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies]

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

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