[package]
edition = "2024"
rust-version = "1.94"
name = "mediation"
version = "0.3.0"
authors = ["hupe1980"]
build = false
exclude = [
"site/templates/",
"site/sass/",
"site/static/",
"site/config.toml",
".github/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Telecom usage mediation as a pure Rust library: normalise, deduplicate, correlate and reconcile CDRs from mobile and fixed-line networks, with a conservation law that proves no record was lost. Zero I/O, no clock, integer quantities."
homepage = "https://hupe1980.github.io/mediation"
documentation = "https://docs.rs/mediation"
readme = "README.md"
keywords = [
"telecom",
"cdr",
"mediation",
"charging",
"billing",
]
categories = [
"data-structures",
"parser-implementations",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/mediation"
[features]
default = []
serde = [
"dep:serde",
"time/serde",
]
[lib]
name = "mediation"
path = "src/lib.rs"
[[test]]
name = "ber_framing"
path = "tests/ber_framing.rs"
[[test]]
name = "conservation"
path = "tests/conservation.rs"
[[test]]
name = "fixed_voice"
path = "tests/fixed_voice.rs"
[[test]]
name = "hardening_network"
path = "tests/hardening_network.rs"
[[test]]
name = "hardening_pipeline"
path = "tests/hardening_pipeline.rs"
[[test]]
name = "hardening_regulatory"
path = "tests/hardening_regulatory.rs"
[[test]]
name = "hardening_wire"
path = "tests/hardening_wire.rs"
[[test]]
name = "identity_checkdigits"
path = "tests/identity_checkdigits.rs"
[[test]]
name = "jurisdiction"
path = "tests/jurisdiction.rs"
[[test]]
name = "numbering_and_fraud"
path = "tests/numbering_and_fraud.rs"
[[test]]
name = "offset_arithmetic"
path = "tests/offset_arithmetic.rs"
[[test]]
name = "period_and_correlation"
path = "tests/period_and_correlation.rs"
[[test]]
name = "pipeline"
path = "tests/pipeline.rs"
[[test]]
name = "regulatory"
path = "tests/regulatory.rs"
[[test]]
name = "roaming_batch"
path = "tests/roaming_batch.rs"
[[test]]
name = "robustness"
path = "tests/robustness.rs"
[[test]]
name = "sequence_and_dedup"
path = "tests/sequence_and_dedup.rs"
[[test]]
name = "serde_representation"
path = "tests/serde_representation.rs"
[[test]]
name = "string_canonicalisation"
path = "tests/string_canonicalisation.rs"
[[test]]
name = "timeband_and_location"
path = "tests/timeband_and_location.rs"
[[test]]
name = "user_location_wire"
path = "tests/user_location_wire.rs"
[[test]]
name = "wire_codecs"
path = "tests/wire_codecs.rs"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2"
[dependencies.time]
version = "0.3"
features = [
"std",
"macros",
"parsing",
"formatting",
]
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.time]
version = "0.3"
features = ["macros"]