The gen_server API port itself already landed upstream (078072b, tracking
smarm HEAD efbc254 pre-git-dep). This just moves the dependency off the
local path checkout onto the git remote, pinned to the smarm v0.5.0
release tag (a03a7ca) rather than a floating branch HEAD.
Verified: 90 lib + 45 integration + 2 doc tests green, examples build,
under default and --all-features.
49 lines
1.1 KiB
TOML
49 lines
1.1 KiB
TOML
[package]
|
|
name = "urus"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
rust-version = "1.95"
|
|
description = "Cowboy/bandit-style HTTP library for the smarm actor runtime"
|
|
|
|
[dependencies]
|
|
smarm = { git = "https://git.kalsbeek.dev/Markk116/smarm", tag = "v0.5.0" }
|
|
httparse = "1.9"
|
|
libc = "0.2"
|
|
sha1_smol = "1"
|
|
|
|
# dep #4, ratified 2026-06-12: serde/serde_json behind the opt-in
|
|
# "phoenix" feature only — the "channels" core stays dependency-free.
|
|
serde = { version = "1", optional = true }
|
|
serde_json = { version = "1", optional = true }
|
|
|
|
[features]
|
|
smarm-trace = ["smarm/smarm-trace"]
|
|
smarm-causal = ["smarm/smarm-causal"]
|
|
channels = []
|
|
phoenix = ["channels", "dep:serde", "dep:serde_json"]
|
|
|
|
[dev-dependencies]
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
[[example]]
|
|
name = "causal_bench"
|
|
required-features = ["smarm-causal"]
|
|
|
|
[profile.dev]
|
|
panic = "unwind"
|
|
|
|
[profile.release]
|
|
panic = "unwind"
|
|
lto = "thin"
|
|
codegen-units = 1
|
|
|
|
[[example]]
|
|
name = "crud"
|
|
path = "examples/crud.rs"
|
|
|
|
[[example]]
|
|
name = "channels_chat"
|
|
path = "examples/channels_chat.rs"
|
|
required-features = ["phoenix"]
|