[package]
edition = "2021"
rust-version = "1.88"
name = "rvoip-codec-core"
version = "0.2.3"
authors = ["RVOIP AUTHORS"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "G.711 and optional G.729A/G.729AB audio codec implementation for RVOIP"
homepage = "https://github.com/eisenzopf/rvoip"
documentation = "https://docs.rs/rvoip"
readme = "README.md"
keywords = [
"sip",
"voip",
"rtp",
"communication",
"telephony",
]
categories = [
"network-programming",
"multimedia",
"web-programming",
]
license = "MIT"
repository = "https://github.com/eisenzopf/rvoip"
[features]
default = ["g711"]
g711 = []
g729 = []
opus = []
opus-sim = []
[lib]
name = "codec_core"
path = "src/lib.rs"
[[bench]]
name = "g711_codec"
path = "benches/g711_codec.rs"
harness = false
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.tokio]
version = "1.36"
features = ["full"]
[lints.clippy]
absurd_extreme_comparisons = "allow"
approx_constant = "allow"
assertions_on_constants = "allow"
bool_assert_comparison = "allow"
bool_comparison = "allow"
cargo = "allow"
cast_abs_to_unsigned = "allow"
collapsible_else_if = "allow"
comparison_to_empty = "allow"
complexity = "allow"
correctness = "warn"
empty_line_after_doc_comments = "allow"
expect_fun_call = "allow"
explicit_auto_deref = "allow"
items_after_test_module = "allow"
legacy_numeric_constants = "allow"
len_without_is_empty = "allow"
len_zero = "allow"
manual_find = "allow"
match_like_matches_macro = "allow"
module_inception = "allow"
multiple_bound_locations = "allow"
needless_borrows_for_generic_args = "allow"
needless_option_as_deref = "allow"
new_without_default = "allow"
nursery = "allow"
option_as_ref_deref = "allow"
partialeq_to_none = "allow"
pedantic = "allow"
perf = "allow"
redundant_closure = "allow"
redundant_pattern_matching = "allow"
restriction = "allow"
should_implement_trait = "allow"
single_match = "allow"
style = "allow"
suspicious = "warn"
too_many_arguments = "allow"
unnecessary_filter_map = "allow"
unnecessary_get_then_check = "allow"
unnecessary_literal_unwrap = "allow"
useless_conversion = "allow"
useless_vec = "allow"
vec_init_then_push = "allow"
[lints.rust]
ambiguous_glob_reexports = "warn"
async_fn_in_trait = "allow"
dead_code = "warn"
irrefutable_let_patterns = "allow"
mismatched_lifetime_syntaxes = "warn"
unexpected_cfgs = "warn"
unreachable_patterns = "allow"
unused_assignments = "warn"
unused_comparisons = "warn"
unused_imports = "warn"
unused_mut = "warn"
unused_variables = "warn"