comnum 0.3.1

Link-level simulation of digital communication systems, wireless and optical: the facade of the comnum workspace
Documentation
# 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"
rust-version = "1.85"
name = "comnum"
version = "0.3.1"
authors = ["Vincent Choqueuse <vincent.choqueuse@gmail.com>"]
build = false
exclude = ["tests/specs.rs"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Link-level simulation of digital communication systems, wireless and optical: the facade of the comnum workspace"
homepage = "https://com-rs.github.io/comnum/"
documentation = "https://docs.rs/comnum"
readme = "README.md"
keywords = [
    "communications",
    "wireless",
    "optics",
    "simulation",
    "dsp",
]
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",
]
features = [
    "optical",
    "spec",
]

[features]
default = [
    "optical",
    "spec",
]
optical = [
    "comnum-channel/optical",
    "comnum-hardware/optical",
]
spec = ["dep:comnum-spec"]

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

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

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

[dependencies.comnum-channel]
version = "0.3.1"

[dependencies.comnum-core]
version = "0.3.1"

[dependencies.comnum-dsp]
version = "0.3.1"

[dependencies.comnum-fec]
version = "0.3.1"

[dependencies.comnum-hardware]
version = "0.3.1"

[dependencies.comnum-mapping]
version = "0.3.1"

[dependencies.comnum-math]
version = "0.3.1"

[dependencies.comnum-metrics]
version = "0.3.1"

[dependencies.comnum-mimo]
version = "0.3.1"

[dependencies.comnum-sim]
version = "0.3.1"

[dependencies.comnum-spec]
version = "0.3.1"
optional = true

[dependencies.comnum-systems]
version = "0.3.1"

[dependencies.comnum-waveform]
version = "0.3.1"

[dev-dependencies.criterion]
version = "0.5"
features = ["cargo_bench_support"]
default-features = false

[dev-dependencies.serde_json]
version = "1"
features = ["preserve_order"]

[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"