# 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 = "tatara-net"
version = "0.2.136"
authors = ["Pleme.io <engineering@pleme.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform networking plane for tatara cluster fabric — eBPF + WASI + WireGuard"
readme = false
license = "MIT"

[features]
default = ["userspace"]
ebpf = []
userspace = []
wasi = [
    "dep:wasmtime",
    "dep:wasmtime-wasi",
]
wireguard = []

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

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.dirs]
version = "6.0"

[dependencies.ipnet]
version = "2"
features = ["serde"]

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.tatara-core]
version = "0.2.65"

[dependencies.thiserror]
version = "2.0"

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

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = [
    "v4",
    "serde",
]

[dependencies.wasmtime]
version = "29"
optional = true

[dependencies.wasmtime-wasi]
version = "29"
optional = true

[lints.clippy]
pedantic = "warn"
