[package]
edition = "2024"
rust-version = "1.89"
name = "rmv-core"
version = "1.0.0"
authors = ["Daniel Schroeder"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configuration, retries, stop resolution and connection status for the RMV API"
readme = "README.md"
keywords = [
"rmv",
"transit",
"public-transport",
"realtime",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/udondan/rmv"
[lib]
name = "rmv_core"
path = "src/lib.rs"
[[test]]
name = "config"
path = "tests/config.rs"
[[test]]
name = "logging"
path = "tests/logging.rs"
[[test]]
name = "service"
path = "tests/service.rs"
[dependencies.directories]
version = "6.0.0"
[dependencies.hafas]
version = "1.0.0"
[dependencies.jiff]
version = "1.0.3"
features = [
"serde",
"tzdb-bundle-always",
]
[dependencies.schemars]
version = "1.2.3"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.154"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tokio]
version = "1.54.1"
features = ["time"]
[dependencies.toml]
version = "1.2.3"
[dependencies.tracing]
version = "0.1.44"
features = ["std"]
default-features = false
[dev-dependencies.hafas-sim]
version = "1.0.0"
[dev-dependencies.tempfile]
version = "=3.27.0"
[dev-dependencies.tokio]
version = "=1.54.1"
features = [
"macros",
"rt-multi-thread",
"time",
]
[dev-dependencies.tracing-subscriber]
version = "=0.3.23"
features = [
"fmt",
"std",
]
default-features = false
[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"