# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.81" name = "medea-control-api-proto" version = "0.13.0" authors = ["Instrumentisto Team "] build = "build.rs" include = [ "/src/", "/build.rs", "/CHANGELOG.md", "/LICENSE.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Control API protocol implementation for Medea media server." homepage = "https://github.com/instrumentisto/medea-jason/tree/master/proto/control-api" documentation = "https://docs.rs/medea-control-api-proto" readme = "README.md" keywords = [ "medea", "grpc", "control-api", ] categories = [ "api-bindings", "network-programming", ] license = "BlueOak-1.0.0" repository = "https://github.com/instrumentisto/medea-jason" [lib] name = "medea_control_api_proto" path = "src/lib.rs" [dependencies.async-trait] version = "0.1.34" [dependencies.derive_more] version = "1.0" features = [ "as_ref", "display", "error", "from", "from_str", "into", ] [dependencies.futures] version = "0.3.21" optional = true [dependencies.humantime-serde] version = "1.1" optional = true [dependencies.medea-client-api-proto] version = "0.7" optional = true [dependencies.prost] version = "0.13" optional = true [dependencies.prost-types] version = "0.13" optional = true [dependencies.rand] version = "0.8" [dependencies.ref-cast] version = "1.0.7" [dependencies.secrecy] version = "0.10" features = ["serde"] [dependencies.serde] version = "1.0.103" features = ["derive"] optional = true [dependencies.subtle] version = "2.6" [dependencies.time] version = "0.3.9" [dependencies.tonic] version = "0.12" optional = true [dependencies.url] version = "2.2" [dev-dependencies.serde_yaml] version = "0.9" [build-dependencies.tonic-build] version = "0.12" optional = true [features] client = [] client-api = ["dep:medea-client-api-proto"] default = [ "client", "grpc", "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", ] server = []