virtual-net 0.8.0

Wasmer Virtual Networking
Documentation
[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "^0.1"

[dependencies.base64]
version = "0.21"

[dependencies.bincode]
version = "1.3"

[dependencies.bytecheck]
optional = true
version = "0.6.8"

[dependencies.bytes]
version = "1.1"

[dependencies.derivative]
version = "^2"

[dependencies.futures-util]
version = "0.3"

[dependencies.hyper]
optional = true
version = "1"

[dependencies.hyper-tungstenite]
optional = true
version = "0.13"

[dependencies.hyper-util]
features = ["tokio"]
optional = true
version = "0.1.5"

[dependencies.libc]
default-features = false
optional = true
version = "^0.2"

[dependencies.mio]
features = ["net"]
optional = true
version = "0.8"

[dependencies.pin-project-lite]
version = "0.2.9"

[dependencies.rkyv]
features = ["indexmap", "validation", "strict"]
optional = true
version = "0.7.40"

[dependencies.serde]
default-features = false
features = ["derive"]
version = "1.0"

[dependencies.smoltcp]
default-features = false
features = ["proto-ipv4", "std", "alloc"]
version = "0.8"

[dependencies.socket2]
optional = true
version = "0.4"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
default-features = false
features = ["io-util"]
version = "1"

[dependencies.tokio-serde]
features = ["bincode"]
optional = true
version = "0.8"

[dependencies.tokio-tungstenite]
optional = true
version = "0.21"

[dependencies.tokio-util]
features = ["codec"]
optional = true
version = "0.7.8"

[dependencies.tracing]
version = "0.1"

[dependencies.virtual-mio]
default-features = false
version = "0.3.0"

[dev-dependencies.serial_test]
version = "2.0.0"

[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread"]
version = "1"

[dev-dependencies.tracing-test]
version = "0.2"

[features]
cbor = ["tokio-serde/cbor"]
default = ["host-net", "remote", "json", "messagepack", "cbor", "hyper", "tokio-tungstenite"]
host-net = ["libc", "tokio/io-util", "virtual-mio/sys", "tokio/net", "tokio/rt", "socket2", "mio"]
hyper = ["hyper-tungstenite", "hyper-util", "dep:hyper"]
json = ["tokio-serde/json"]
messagepack = ["tokio-serde/messagepack"]
remote = ["libc", "tokio/io-util", "tokio/sync", "tokio-serde", "tokio-util"]
rkyv = ["dep:rkyv", "dep:bytecheck"]
tokio-tungstenite = ["dep:tokio-tungstenite"]

[package]
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
description = "Wasmer Virtual Networking"
edition = "2021"
homepage = "https://wasmer.io/"
license = "MIT"
name = "virtual-net"
repository = "https://github.com/wasmerio/wasmer"
rust-version = "1.74"
version = "0.8.0"

[package.metadata.docs.rs]
features = ["host-net", "remote"]
rustc-args = ["--cfg", "docsrs"]