ajj 0.3.1

Simple, modern, ergonomic JSON-RPC 2.0 router built with tower and axum
Documentation
[dependencies.axum]
optional = true
version = "0.8.1"

[dependencies.bytes]
version = "1.9.0"

[dependencies.futures-util]
optional = true
version = "0.3.31"

[dependencies.interprocess]
features = ["async", "tokio"]
optional = true
version = "2.2.2"

[dependencies.mime]
version = "0.3.17"

[dependencies.pin-project]
version = "1.1.8"

[dependencies.serde]
features = ["derive"]
version = "1.0.217"

[dependencies.serde_json]
features = ["raw_value"]
version = "1.0.135"

[dependencies.thiserror]
version = "2.0.9"

[dependencies.tokio]
features = ["sync", "rt", "macros"]
version = "1.43.0"

[dependencies.tokio-stream]
optional = true
version = "0.1.17"

[dependencies.tokio-tungstenite]
features = ["rustls-tls-webpki-roots"]
optional = true
version = "0.26.1"

[dependencies.tokio-util]
features = ["io", "rt"]
optional = true
version = "0.7.13"

[dependencies.tower]
features = ["util"]
version = "0.5.2"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.tempfile]
version = "3.15.0"

[dev-dependencies.tracing-subscriber]
version = "0.3.19"

[features]
axum = ["dep:axum"]
default = ["axum", "ws", "ipc"]
ipc = ["pubsub", "dep:tokio-util", "dep:interprocess"]
pubsub = ["dep:tokio-stream"]
tokio-util = ["dep:tokio-util"]
ws = ["pubsub", "dep:tokio-tungstenite", "dep:futures-util"]

[lib]
name = "ajj"
path = "src/lib.rs"

[package]
authors = ["init4", "James Prestwich"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server", "web-programming::websocket"]
description = "Simple, modern, ergonomic JSON-RPC 2.0 router built with tower and axum"
edition = "2021"
homepage = "https://github.com/init4tech/ajj"
keywords = ["json-rpc", "jsonrpc", "json"]
license = "MIT OR Apache-2.0"
name = "ajj"
readme = "README.md"
repository = "https://github.com/init4tech/ajj"
rust-version = "1.81"
version = "0.3.1"

[profile.bench]
inherits = "profiling"

[profile.ci-rust]
debug = 0
incremental = false
inherits = "dev"
strip = true

[profile.profiling]
debug = 2
inherits = "release"
strip = false

[profile.release]
codegen-units = 16
debug = "line-tables-only"
lto = "thin"
opt-level = 3
panic = "unwind"
strip = true

[[test]]
name = "ipc"
path = "tests/ipc.rs"

[[test]]
name = "ws"
path = "tests/ws.rs"