[package] name = "medea-control-api-proto" version = "0.13.0" edition = "2021" rust-version = "1.81" description = "Control API protocol implementation for Medea media server." authors = ["Instrumentisto Team "] license = "BlueOak-1.0.0" documentation = "https://docs.rs/medea-control-api-proto" homepage = "https://github.com/instrumentisto/medea-jason/tree/master/proto/control-api" repository = "https://github.com/instrumentisto/medea-jason" readme = "README.md" keywords = ["medea", "grpc", "control-api"] categories = ["api-bindings", "network-programming"] include = ["/src/", "/build.rs", "/CHANGELOG.md", "/LICENSE.md"] [features] default = ["client", "grpc", "server"] client = [] server = [] direct = ["dep:futures"] grpc = ["dep:prost", "dep:prost-types", "dep:tonic", "dep:tonic-build", "time/formatting", "time/parsing"] serde = ["dep:serde", "dep:humantime-serde", "url/serde"] client-api = ["dep:medea-client-api-proto"] [dependencies] async-trait = "0.1.34" derive_more = { version = "1.0", features = ["as_ref", "display", "error", "from", "from_str", "into"] } futures = { version = "0.3.21", optional = true } humantime-serde = { version = "1.1", optional = true } medea-client-api-proto = { version = "0.7", path = "../client-api", optional = true } prost = { version = "0.13", optional = true } prost-types = { version = "0.13", optional = true } rand = "0.8" ref-cast = "1.0.7" secrecy = { version = "0.10", features = ["serde"] } serde = { version = "1.0.103", features = ["derive"], optional = true } subtle = "2.6" time = "0.3.9" tonic = { version = "0.12", optional = true } url = "2.2" [build-dependencies] tonic-build = { version = "0.12", optional = true } [dev-dependencies] serde_yaml = "0.9"