[package] name = "pf-rs" # Previously, this crate supported only most recent FreeBSD Kernel version. # Now, it was decided to extend the range of versions. Not all FreeBSD versions are # supported. version = "0.2.4" authors = ["Aleksandr Morozov "] edition = "2021" description="FreeBSD lib to access OpenBSD's implementation of the PF (Packet Filter) directly via /dev/pf" repository = "https://repo.4neko.org/4NEKO/pf-rs" keywords = ["PF", "FreeBSD", "PacketFilter"] categories = ["os", "network-programming"] license="BSD-2-Clause" [profile.dev] opt-level = 0 [profile.release] opt-level = 3 overflow-checks = true lto = true [features] default = [] log_to_stdout = [] FREEBSD_C1 = [] FREEBSD_V13_0 = ["FREEBSD_C1"] FREEBSD_V13_1 = ["FREEBSD_C1"] FREEBSD_V13_2 = ["FREEBSD_C1"] FREEBSD_V14_0 = ["FREEBSD_C1"] # for the [env] see .cargo/config.toml [dependencies] nix = { version = "0.27", features = ["fs"] } #todo #https://docs.rs/lrpar/0.10.1/lrpar/