virtual-net 0.12.0

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

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

[dependencies.base64]
version = "0.22.0"

[dependencies.bincode]
version = "1.3"

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

[dependencies.bytes]
version = "1.1"

[dependencies.derive_more]
features = ["debug"]
version = "1"

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

[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]
optional = true
version = "1"

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

[dependencies.rkyv]
features = ["indexmap-2", "bytes-1"]
optional = true
version = "0.8.8"

[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.5.7"

[dependencies.thiserror]
version = "1"

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

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

[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.6.0"

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

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

[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 = []
tokio-tungstenite = ["dep:tokio-tungstenite"]

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

[package]
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Wasmer Virtual Networking"
edition = "2021"
homepage = "https://wasmer.io/"
license = "MIT"
name = "virtual-net"
readme = false
repository = "https://github.com/wasmerio/wasmer"
rust-version = "1.81"
version = "0.12.0"

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