ferranet 0.2.0

A modern, async-first, zero-copy datalink-layer (L2) networking library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Used only for the pcap-bench cross build (via CROSS_CONFIG=...). Installs arm64 libpcap into the
# cross image so the `pcap` crate can link against it. Kept out of the repo so the normal deploy
# `cross build` stays lean (no apt steps).
[target.aarch64-unknown-linux-gnu]
pre-build = [
  "dpkg --add-architecture arm64",
  "apt-get update && apt-get install --assume-yes libpcap0.8-dev:arm64 pkg-config",
]

[target.aarch64-unknown-linux-gnu.env]
passthrough = [
  "PKG_CONFIG_ALLOW_CROSS=1",
  "PKG_CONFIG_PATH=/usr/lib/aarch64-linux-gnu/pkgconfig",
  "PKG_CONFIG_LIBDIR=/usr/lib/aarch64-linux-gnu/pkgconfig",
  "LIBPCAP_LIBDIR=/usr/lib/aarch64-linux-gnu",
]