# 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" name = "containerd-shim-protos" version = "0.7.2" authors = [ "Maksym Pavlenko ", "The containerd Authors", ] description = "TTRPC bindings for containerd shim interfaces" homepage = "https://containerd.io" readme = "README.md" keywords = [ "containerd", "shim", "containers", "ttrpc", "client", ] categories = [ "api-bindings", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/containerd/rust-extensions" [package.metadata.docs.rs] features = ["docs"] [[example]] name = "shim-proto-server" path = "examples/ttrpc-server.rs" [[example]] name = "shim-proto-client" path = "examples/ttrpc-client.rs" [[example]] name = "shim-proto-connect" path = "examples/connect.rs" [[example]] name = "shim-proto-server-async" path = "examples/ttrpc-server-async.rs" required-features = ["async"] [[example]] name = "shim-proto-client-async" path = "examples/ttrpc-client-async.rs" required-features = ["async"] [[example]] name = "shim-proto-connect-async" path = "examples/connect-async.rs" required-features = ["async"] [dependencies.async-trait] version = "0.1.52" optional = true [dependencies.protobuf] version = ">= 3.0, <3.5.0" [dependencies.ttrpc] version = "0.8.2" [dev-dependencies.crossbeam] version = "0.8.1" [dev-dependencies.ctrlc] version = "3.0" features = ["termination"] [dev-dependencies.simple_logger] version = "5.0" features = ["stderr"] default-features = false [dev-dependencies.tokio] version = "1.26" features = ["full"] [build-dependencies.ttrpc-codegen] version = "0.4.2" [features] async = [ "ttrpc/async", "async-trait", ] default = [] docs = [] sandbox = []