nmstate 2.2.58

Library for networking management in a declarative manner
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "nmstate"
version = "2.2.58"
authors = ["Gris Ge <fge@redhat.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Library for networking management in a declarative manner"
homepage = "https://nmstate.io"
documentation = "https://nmstate.io"
readme = false
keywords = [
    "network",
    "linux",
]
categories = [
    "network-programming",
    "os::linux-apis",
]
license = "Apache-2.0"
repository = "https://github.com/nmstate/nmstate"
resolver = "2"

[features]
default = [
    "query_apply",
    "gen_conf",
    "gen_revert",
]
gen_conf = []
gen_revert = []
query_apply = [
    "dep:nispor",
    "dep:nix",
    "dep:zbus",
    "dep:tokio",
]

[lib]
name = "nmstate"
path = "lib.rs"

[dependencies.log]
version = "0.4.17"

[dependencies.nispor]
version = "2.0.0"
optional = true

[dependencies.nix]
version = "0.30"
features = [
    "feature",
    "hostname",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0.75"
features = ["preserve_order"]
default-features = false

[dependencies.serde_yaml]
version = "0.9"

[dependencies.tokio]
version = "1.30"
features = [
    "rt",
    "net",
    "time",
]
optional = true

[dependencies.uuid]
version = "1.1 "
features = [
    "v4",
    "v5",
]
default-features = false

[dependencies.zbus]
version = "5.1.0"
features = ["tokio"]
optional = true
default-features = false

[dependencies.zvariant]
version = "5.1.0"
default-features = false

[dev-dependencies.serde_yaml]
version = "0.9"