[dependencies.bytes]
version = "1.3.0"
[dependencies.futures]
version = "0.3"
[dependencies.libc]
version = "0.2.138"
[dependencies.tokio]
features = ["net", "sync"]
version = "1"
[dependencies.tonic]
optional = true
version = "0.12.0"
[dependencies.vsock]
version = "0.5.1"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.sha2]
version = "0.10.6"
[dev-dependencies.tokio]
features = ["macros", "rt", "io-util"]
version = "1"
[features]
tonic-conn = ["tonic"]
[lib]
name = "tokio_vsock"
path = "src/lib.rs"
[package]
authors = ["fsyncd", "rust-vsock"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Asynchronous Virtio socket support for Rust"
edition = "2018"
exclude = ["test_fixture"]
homepage = "https://github.com/rust-vsock/tokio-vsock"
license = "Apache-2.0"
name = "tokio-vsock"
readme = "README.md"
repository = "https://github.com/rust-vsock/tokio-vsock"
version = "0.6.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "vsock"
path = "tests/vsock.rs"