[package] name = "ebpf" version = "0.1.0" edition = "2021" [dependencies] # These crates are not published so use a git dependency for now. See https://github.com/aya-rs/aya/issues/464 # TODO switch to the main repo once the xdpmaps are available - https://github.com/aya-rs/aya/pull/527 aya-bpf = { git = "https://github.com/camshaft/aya", branch = "xdpmaps" } aya-log-ebpf = { git = "https://github.com/camshaft/aya", branch = "xdpmaps" } s2n-quic-core = { path = "../../../quic/s2n-quic-core", default-features = false } [features] default = [] trace = [] [[bin]] name = "s2n-quic-xdp" path = "src/main.rs" # everything needs to be optimized so we don't get any unsupported output in the BPF program [profile.dev] opt-level = 3 debug = false debug-assertions = false overflow-checks = false lto = true panic = "abort" incremental = false codegen-units = 1 rpath = false [profile.release] lto = true panic = "abort" codegen-units = 1 [workspace] members = ["."]