-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (42 loc) · 1.64 KB
/
Copy pathCargo.toml
File metadata and controls
46 lines (42 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
edition = "2024"
authors = ["jinti<shenjindi@fourz.cn>", "Remade-With-Rust"]
name = "rusty-opus"
version = "0.9.1"
description = "pure Rust Opus codec - performance fork of opus-rs (AVX2 SILK/CELT kernels, frame-parallel encode)"
license = "BSD-3-Clause"
repository = "https://github.com/Remade-With-Rust/rusty-opus"
homepage = "https://github.com/Remade-With-Rust/rusty-opus"
readme = "README.md"
keywords = ["opus", "audio", "codec", "decoder", "encoder"]
categories = ["multimedia::audio", "multimedia::encoding"]
rust-version = "1.85"
# Keep the published crate to the codec itself: no fuzz harness, no local
# debug traces, no WIP analysis tests.
exclude = [
"fuzz/",
"*.txt",
"bench_quick.sh",
"tests/analyze_encode.rs",
# Campaign development tooling and corpus: dev-only, and the corpus WAVs
# are regenerated by tools/gen_gate_corpus.py rather than shipped.
"tools/",
"fixtures/gate_corpus/",
"docs/census-2026-08-07/",
]
[features]
# Dev-only stage profiler (src/prof.rs): per-stage tick buckets + dump().
# OFF (default) = zero-cost ZST guards, release builds byte-identical.
profile = []
[dev-dependencies]
criterion = { version = "0.8.2", features = ["html_reports"] }
proptest = "1"
# PROJECT CONVENTION: every encoder-carrying binary/bench/example runs under our
# own rusty_alloc (pure-Rust mimalloc remake), because that is what ships - an
# arm measured under the system allocator is not comparable to production.
# A DEV-dependency on purpose: the library must never set a global allocator, or
# it would hijack a downstream binary's choice.
rusty_alloc-api = "=1.1.6"
[[bench]]
name = "opus_bench"
harness = false