# 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 = "2018"
name = "rnetmgr"
version = "0.2.1"
authors = ["Seimizu Joukan <joukan.seimizu@gmail.com>"]
description = "A simple network manager."
license = "MIT OR Apache-2.0"
repository = "https://gitlab.com/joukan/netmgr.git"

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

[[bin]]
name = "rnetmon"
path = "src/main.rs"

[dependencies.cfg-if]
version = "1.0.0"

[dependencies.clap]
version = "3.0.0-beta.4"

[dependencies.error-stack]
version = "0.2"

[dependencies.futures]
version = "0.3.19"

[dependencies.ipcon-sys]
version = "0.2.0"
features = ["async"]
optional = true

[dependencies.ipnetwork]
version = "0.18.0"

[dependencies.jlogger-tracing]
version = "0.1"

[dependencies.netlink-packet-core]
version = "0.4.1"

[dependencies.netlink-packet-route]
version = "0.10.0"

[dependencies.rtnetlink]
version = "0.9.0"

[dependencies.serde]
version = "1.0"

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tracing]
version = "0.1.37"

[build-dependencies.jlogger-tracing]
version = "0.1"

[features]
default = []
enable_ipcon = ["ipcon-sys"]
