# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "fcnet" version = "0.7.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An in-process Firecracker microVM networking backend based on fcnet-types." readme = "README.md" keywords = [ "firecracker", "microvm", "networking", ] categories = ["network-programming"] license = "MIT" repository = "https://github.com/rust-firecracker/fcnet" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "fcnet" path = "src/lib.rs" [dependencies.async-executor] version = "1.13.1" optional = true [dependencies.async-io] version = "2.4.0" optional = true [dependencies.cidr] version = "0.3.0" [dependencies.fcnet-types] version = "0.1.1" [dependencies.futures-channel] version = "0.3.31" optional = true default-features = false [dependencies.futures-util] version = "0.3.31" default-features = false [dependencies.netlink-packet-route] version = "0.19" [dependencies.netlink-proto] version = "0.11.3" default-features = false [dependencies.netlink-sys] version = "0.8.6" default-features = false [dependencies.nftables] version = "0.5.0" [dependencies.nftables-async] version = "0.2.2" [dependencies.nix] version = "0.29.0" features = [ "mount", "sched", "process", ] optional = true default-features = false [dependencies.rtnetlink] version = "0.14.1" default-features = false [dependencies.serde_json] version = "1.0.132" [dependencies.tokio] version = "1.41.1" features = ["rt"] optional = true default-features = false [dependencies.tokio-tun] version = "0.12.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", ] tokio-backend = [ "dep:tokio", "netlink-proto/tokio_socket", "nftables-async/tokio-process", ]