rust-pcap 0.1.0

Userspace packet library for rust-pcap
# 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"
name = "rust-pcap"
version = "0.1.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Userspace packet library for rust-pcap"
readme = false
license = "MIT OR Apache-2.0"
resolver = "2"

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

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

[dependencies.anyhow]
version = "1"
default-features = true

[dependencies.aya]
version = "0.14"
default-features = false

[dependencies.aya-log]
version = "0.3"
default-features = false

[dependencies.env_logger]
version = "0.11.5"
default-features = false

[dependencies.libc]
version = "0.2.159"
default-features = false

[dependencies.log]
version = "0.4.22"
default-features = false

[dependencies.rust-pcap-common]
version = "0.1"
features = ["user"]

[dependencies.socket2]
version = "0.6"
features = ["all"]

[dependencies.tokio]
version = "1.51.0"
features = [
    "macros",
    "rt",
    "net",
    "signal",
    "fs",
    "io-util",
    "rt-multi-thread",
]
default-features = false

[build-dependencies.anyhow]
version = "1"
default-features = false

[build-dependencies.aya-build]
version = "0.2"
default-features = false

[build-dependencies.cargo_metadata]
version = "0.23.0"
default-features = false

[build-dependencies.rust-pcap-ebpf]
version = "0.1"