[package] name = "containerd-shim-client" version = "0.1.2" authors = ["Maksym Pavlenko ", "The containerd Authors"] edition = "2018" license = "Apache-2.0" repository = "https://github.com/containerd/rust-extensions" description = "TTRPC bindings for containerd shim interfaces" keywords = ["containerd", "shim", "containers", "ttrpc", "client"] categories = ["api-bindings"] homepage = "https://containerd.io" [badges] # Use `containerd-shim-protos` instead. maintenance = { status = "deprecated" } [dependencies] protobuf = "2.23.0" ttrpc = "0.5.2" [build-dependencies] ttrpc-codegen = { version = "0.3.0", optional = true } [dev-dependencies] ctrlc = { version = "3.0", features = ["termination"] } log = "0.4" simple_logger = { version = "1.16", default-features = false, features = ["stderr"] } [features] # In current implementation we check in all generated TTRPC code because of the following Rust limitations: # - `include!` doesn't handle well .rs files with attributes: https://github.com/rust-lang/rust/issues/18810 # - `cargo publish` will complain on modified `src` directory if it's modified from `build.rs` - https://github.com/rust-lang/cargo/issues/5073 # - There is now way to include the whole module from `OUT_DIR`, not just individual files. generate_bindings = ["ttrpc-codegen"] [[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"