[package]
edition = "2024"
name = "fritz-sim"
version = "0.2.2"
authors = ["Daniel Schroeder"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stateful fake TR-064 server built from recorded FRITZ!Box fixtures, for tests (unofficial, not affiliated with FRITZ! GmbH)"
readme = "README.md"
keywords = [
"fritzbox",
"tr-064",
"upnp",
"testing",
"mock",
]
categories = [
"development-tools::testing",
"network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/udondan/fritz"
[lib]
name = "fritz_sim"
path = "src/lib.rs"
[[bin]]
name = "fritz-sim"
path = "src/main.rs"
[[test]]
name = "binary"
path = "tests/binary.rs"
[[test]]
name = "fixture"
path = "tests/fixture.rs"
[[test]]
name = "sim"
path = "tests/sim.rs"
[dependencies.anyhow]
version = "1.0.104"
[dependencies.axum]
version = "0.8.9"
[dependencies.clap]
version = "4.6.9"
features = ["derive"]
[dependencies.form_urlencoded]
version = "1.2.3"
[dependencies.http-body]
version = "1.1.0"
[dependencies.md-5]
version = "0.11.0"
[dependencies.pbkdf2]
version = "0.13.0"
features = ["hmac"]
default-features = false
[dependencies.rcgen]
version = "0.14.10"
features = [
"crypto",
"pem",
"ring",
]
default-features = false
[dependencies.roxmltree]
version = "0.21.2"
[dependencies.rustls]
version = "0.23.46"
features = [
"ring",
"std",
"tls12",
]
default-features = false
[dependencies.serde_json]
version = "1.0.154"
[dependencies.sha2]
version = "0.11.1"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tokio]
version = "1.54.1"
features = [
"io-util",
"macros",
"net",
"rt-multi-thread",
"signal",
"time",
]
[dependencies.tokio-rustls]
version = "0.26.6"
features = [
"ring",
"tls12",
]
default-features = false
[dependencies.tr064]
version = "0.1.2"
[dev-dependencies.tempfile]
version = "=3.27.0"
[dev-dependencies.tokio]
version = "=1.54.1"
features = ["test-util"]
[lints.clippy]
missing_errors_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"