# 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.71" name = "socket_filter" version = "0.2.2" authors = ["arloor "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "A simple bpf program to monitor host's net traffic" homepage = "https://github.com/arloor/bpf_rs_hub/tree/master/socket_filter" readme = "README.md" keywords = [ "socket", "libbpf", ] license = "LGPL-2.1-only OR BSD-2-Clause" repository = "https://github.com/arloor/bpf_rs_hub" [lib] name = "socket_filter" path = "src/lib.rs" [[example]] name = "ex_socket_filter" path = "examples/ex_socket_filter.rs" [dependencies.libbpf-rs] version = "0.24" [dependencies.libc] version = "0.2" [dependencies.log] version = "0.4" [dependencies.plain] version = "0.2.3" [dependencies.pnet] version = "0.35" [build-dependencies.libbpf-cargo] version = "0.24" [features] default = [] static = ["libbpf-rs/static"] vendored = ["libbpf-rs/vendored"]