[dependencies.async-executor]
optional = true
version = "1.13.3"
[dependencies.async-io]
optional = true
version = "2.5.0"
[dependencies.cidr]
version = "0.3.1"
[dependencies.fcnet-types]
version = "0.1.1"
[dependencies.futures-channel]
default-features = false
optional = true
version = "0.3.31"
[dependencies.futures-util]
default-features = false
version = "0.3.31"
[dependencies.netlink-proto]
default-features = false
version = "0.12.0"
[dependencies.nftables]
version = "0.6.3"
[dependencies.nftables-async]
version = "0.4.0"
[dependencies.nix]
default-features = false
features = ["mount", "sched", "process"]
optional = true
version = "0.29.0"
[dependencies.rtnetlink]
default-features = false
version = "0.18.0"
[dependencies.serde_json]
version = "1.0.143"
[dependencies.tokio]
default-features = false
features = ["rt"]
optional = true
version = "1.47.1"
[dependencies.tokio-tun]
version = "0.15.0"
[dev-dependencies]
[features]
default = ["simple"]
full = ["simple", "namespaced", "tokio-backend", "smol-backend"]
namespaced = ["fcnet-types/namespaced", "dep:nix", "dep:futures-channel"]
simple = ["fcnet-types/simple"]
smol-backend = ["dep:async-executor", "dep:async-io", "netlink-proto/smol_socket", "nftables-async/async-process-driver"]
tokio-backend = ["dep:tokio", "netlink-proto/tokio_socket", "nftables-async/tokio-driver"]
[lib]
name = "fcnet"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["network-programming"]
description = "An in-process Firecracker microVM networking backend based on fcnet-types."
edition = "2021"
keywords = ["firecracker", "microvm", "networking"]
license = "MIT"
name = "fcnet"
readme = "README.md"
repository = "https://github.com/rust-firecracker/fcnet"
version = "0.11.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]