[package]
edition = "2024"
rust-version = "1.97"
name = "sprawling-wire"
version = "0.0.12"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The process boundary of a sprawling city: the frames its clients speak, and the server that answers them."
homepage = "https://github.com/2youg1/sprawling-agents"
readme = false
license = "MPL-2.0"
repository = "https://github.com/2youg1/sprawling-agents"
[features]
default = ["server"]
schema = [
"dep:schemars",
"kernel/schema",
"documents/schema",
]
server = [
"dep:tokio",
"dep:axum",
"dep:futures-util",
"dep:aws-lc-rs",
]
[lib]
name = "wire"
path = "src/lib.rs"
[[test]]
name = "control_and_auth"
path = "tests/control_and_auth.rs"
[[test]]
name = "dropping"
path = "tests/dropping.rs"
[[test]]
name = "enrolment"
path = "tests/enrolment.rs"
[[test]]
name = "entry"
path = "tests/entry.rs"
[[test]]
name = "pursuit_line"
path = "tests/pursuit_line.rs"
[[test]]
name = "reading"
path = "tests/reading.rs"
[[test]]
name = "recording"
path = "tests/recording.rs"
[[test]]
name = "trybuild"
path = "tests/trybuild.rs"
[[test]]
name = "watchdog_note"
path = "tests/watchdog_note.rs"
[[test]]
name = "wire_contract"
path = "tests/wire_contract.rs"
[dependencies.aws-lc-rs]
version = "1.18"
features = [
"aws-lc-sys",
"alloc",
"prebuilt-nasm",
]
optional = true
default-features = false
[dependencies.axum]
version = "0.8"
features = ["ws"]
optional = true
[dependencies.documents]
version = "=0.0.12"
package = "sprawling-documents"
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
optional = true
default-features = false
[dependencies.kernel]
version = "=0.0.12"
package = "sprawling-kernel"
[dependencies.schemars]
version = "1"
features = ["uuid1"]
optional = true
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"net",
"macros",
"signal",
"sync",
"time",
]
optional = true
[dev-dependencies.proptest]
version = "1"
features = ["std"]
default-features = false
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.trybuild]
version = "1"
[lints.clippy]
arithmetic_side_effects = "deny"
as_conversions = "deny"
dbg_macro = "deny"
expect_used = "deny"
fn_params_excessive_bools = "deny"
indexing_slicing = "deny"
let_underscore_must_use = "deny"
let_underscore_untyped = "deny"
panic = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_used = "deny"
wildcard_enum_match_arm = "deny"
[lints.rust]
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "deny"
priority = 0
check-cfg = ["cfg(kani)"]