mozim 0.3.2

DHCP Client Library
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 = "2021"
rust-version = "1.77"
name = "mozim"
version = "0.3.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DHCP Client Library"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/nispor/mozim"

[features]
default = ["netlink"]
netlink = ["dep:rtnetlink"]

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

[[example]]
name = "mozim_dhcpv4"
path = "examples/mozim_dhcpv4.rs"

[[example]]
name = "mozim_dhcpv4_proxy"
path = "examples/mozim_dhcpv4_proxy.rs"

[[example]]
name = "mozim_dhcpv6"
path = "examples/mozim_dhcpv6.rs"

[[example]]
name = "mozim_dhcpv6_pd"
path = "examples/mozim_dhcpv6_pd.rs"

[dependencies.etherparse]
version = "0.19.0"

[dependencies.futures]
version = "0.3"
features = ["std"]
default-features = false

[dependencies.libc]
version = "0.2.132"

[dependencies.log]
version = "0.4.17"

[dependencies.nix]
version = "0.30"
features = [
    "poll",
    "time",
    "event",
    "socket",
    "fs",
]

[dependencies.rand]
version = "0.9"
features = [
    "std",
    "std_rng",
    "thread_rng",
]
default-features = false

[dependencies.rtnetlink]
version = "0.20.0"
optional = true

[dependencies.tokio]
version = "1.19"
features = [
    "macros",
    "rt",
    "net",
    "time",
]

[dev-dependencies.env_logger]
version = "0.11.0"