[package] name = "wai-audit" version = "0.1.0" edition = "2024" license = "Apache-2.0" description = "The reference collector of WAI's stream audit (extensions/stream-audit.md): it verifies each session bundle a player sends, stores the accepted ones one per session, takes Event-mode CMCD batches, and serves each channel's report signed with its key, which anyone holding the stored bundles recomputes byte for byte." repository = "https://git.transaction.science/Transaction-Science/open-standards" publish = false # The collector and its routes, for a service that hosts them; the binary is a thin caller. [lib] path = "src/lib.rs" [[bin]] name = "wai-audit" path = "src/main.rs" [dependencies] axum = "0.8" tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "sync", "time"] } serde_json = "1" ed25519-dalek = { version = "3", features = ["alloc"] } getrandom = "0.4" wai = { path = "../wai-rs", default-features = false, features = ["stream_audit"] } # GET /metrics, in the text exposition format. wai-metrics = { path = "../wai-metrics" } [dev-dependencies] tower = { version = "0.5", features = ["util"] } http-body-util = "0.1" sha2 = "0.11" [profile.release] lto = "thin"