[package]
name = "tokio-vsock"
version = "0.5.0"
authors = ["fsyncd", "rust-vsock"]
description = "Asynchronous Virtio socket support for Rust"
repository = "https://github.com/rust-vsock/tokio-vsock"
homepage = "https://github.com/rust-vsock/tokio-vsock"
readme = "README.md"
license = "Apache-2.0"
edition = "2018"
exclude = ["test_fixture"]
[features]
tonic-conn = ["tonic"]
[dependencies]
bytes = "1.3.0"
futures = "0.3"
libc = "0.2.138"
vsock = "0.4.0"
tokio = { version = "1", features = ["net", "sync"] }
tonic = { version = "0.10.2", optional = true }
[dev-dependencies]
sha2 = "0.10.6"
rand = "0.8.5"
tokio = { version = "1", features = ["macros", "rt", "io-util"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]