[package]
edition = "2024"
rust-version = "1.88"
name = "spri"
version = "0.1.3"
authors = ["hupe1980"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "S/PRI 4.x (AK S&P), the German open-access fibre interface, for Rust: typed, sans-I/O orders and all 20 message types, XML read and write against schema 4.00.03, cited validation, the order lifecycle of Anlage 7, the 215 message codes and a simulated network owner for testing."
readme = "README.md"
keywords = [
"spri",
"telecom",
"open-access",
"ftth",
"carrier",
]
categories = [
"encoding",
"parser-implementations",
"network-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hupe1980/telco-interop"
[lib]
name = "spri"
path = "src/lib.rs"
[[test]]
name = "process"
path = "tests/process.rs"
[[test]]
name = "read_hostile"
path = "tests/read_hostile.rs"
[[test]]
name = "redaction"
path = "tests/redaction.rs"
[[test]]
name = "roundtrip"
path = "tests/roundtrip.rs"
[[test]]
name = "schema"
path = "tests/schema.rs"
[[test]]
name = "sim"
path = "tests/sim.rs"
[[test]]
name = "validation"
path = "tests/validation.rs"
[dependencies.carrier-core]
version = "=0.1.3"
[dependencies.jiff]
version = "1"
features = [
"std",
"static",
]
default-features = false
[dependencies.quick-xml]
version = "0.42"
[dependencies.thiserror]
version = "2"
[dev-dependencies.proptest]
version = "1"
[lints.clippy]
assert_is_empty = "allow"
expect_used = "warn"
indexing_slicing = "warn"
panic = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "deny"
unreachable_pub = "warn"
unsafe_code = "forbid"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1