[package]
edition = "2024"
rust-version = "1.85"
name = "comnum-mapping"
version = "0.3.0"
authors = ["Vincent Choqueuse <vincent.choqueuse@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Constellations, Gray labelling, mapping, hard and soft demapping, differential PSK, sources and closed-form error rates of comnum"
homepage = "https://com-rs.github.io/comnum/"
documentation = "https://docs.rs/comnum-mapping"
readme = "README.md"
keywords = [
"modulation",
"qam",
"constellation",
"llr",
"communications",
]
categories = [
"science",
"simulation",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/com-rs/comnum"
[package.metadata.docs.rs]
rustdoc-args = [
"--html-in-header",
"katex-header.html",
]
all-features = true
[lib]
name = "comnum_mapping"
path = "src/lib.rs"
[dependencies.comnum-core]
version = "0.3.0"
[dependencies.comnum-math]
version = "0.3.0"
[dependencies.ndarray]
version = "0.16"
[lints.clippy]
allow_attributes_without_reason = "warn"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
expect_used = "warn"
float_cmp = "allow"
manual_midpoint = "allow"
many_single_char_names = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
naive_bytecount = "allow"
needless_range_loop = "allow"
return_self_not_must_use = "allow"
similar_names = "allow"
suboptimal_flops = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"