ttrpc 0.9.0

A Rust version of ttrpc.
Documentation
# 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 = "2018"
rust-version = "1.70"
name = "ttrpc"
version = "0.9.0"
authors = ["The AntFin Kata Team <kata@list.alibaba-inc.com>"]
build = "build.rs"
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust version of ttrpc."
homepage = "https://github.com/containerd/ttrpc-rust"
readme = "README.md"
keywords = [
    "ttrpc",
    "protobuf",
    "rpc",
]
license = "Apache-2.0"
repository = "https://github.com/containerd/ttrpc-rust"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[lib]
name = "ttrpc"
path = "src/lib.rs"

[[test]]
name = "run-examples"
path = "tests/run-examples.rs"

[dependencies.async-stream]
version = "0.3.6"
optional = true

[dependencies.async-trait]
version = "0.1.31"
optional = true

[dependencies.byteorder]
version = "1.3.2"

[dependencies.crossbeam]
version = "0.8.0"

[dependencies.futures]
version = "0.3"
optional = true

[dependencies.libc]
version = "0.2.59"
features = ["extra_traits"]

[dependencies.log]
version = "0.4"

[dependencies.nix]
version = "0.26.2"

[dependencies.protobuf]
version = "3.7.2"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "io-util",
    "macros",
    "time",
    "net",
]
optional = true

[build-dependencies.protobuf-codegen]
version = "3.7.2"

[features]
async = [
    "async-trait",
    "async-stream",
    "tokio",
    "futures",
    "tokio-vsock",
]
default = ["sync"]
sync = []

[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.tokio-vsock]
version = "0.7.0"
optional = true

[target."cfg(windows)".dependencies.windows-sys]
version = "0.48"
features = [
    "Win32_Foundation",
    "Win32_Storage_FileSystem",
    "Win32_System_IO",
    "Win32_System_Pipes",
    "Win32_Security",
    "Win32_System_Threading",
]