123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- [package]
- name = "rbpf"
- version = "0.2.0"
- authors = ["Quentin <quentin@isovalent.com>"]
- description = "Virtual machine and JIT compiler for eBPF programs"
- repository = "https://github.com/qmonnet/rbpf"
- readme = "README.md"
- keywords = ["BPF", "eBPF", "interpreter", "JIT", "filtering"]
- license = "Apache-2.0/MIT"
- edition = "2021"
- include = [
- "src/**",
- "examples/**",
- "tests/**",
- "bench/**",
- "LICENSE*",
- "Cargo.toml",
- ]
- [dependencies]
- byteorder = { version = "1.2", default-features = false }
- log = {version = "0.4.21", default-features = false }
- combine = { version = "4.6", default-features = false }
- libc = { version = "0.2", optional = true }
- time = { version = "0.2", optional = true }
- cranelift-codegen = { version = "0.99", optional = true }
- cranelift-frontend = { version = "0.99", optional = true }
- cranelift-jit = { version = "0.99", optional = true }
- cranelift-native = { version = "0.99", optional = true }
- cranelift-module = { version = "0.99", optional = true }
- [dev-dependencies]
- elf = "0.0.10"
- json = "0.11"
- hex = "0.4.3"
- [features]
- cargo-clippy = []
- std = ["dep:time", "dep:libc", "combine/std"]
- cranelift = [
- "dep:cranelift-codegen",
- "dep:cranelift-frontend",
- "dep:cranelift-jit",
- "dep:cranelift-native",
- "dep:cranelift-module",
- ]
- user = []
- [[example]]
- name = "disassemble"
- required-features = ["std"]
- [[example]]
- name = "uptime"
- required-features = ["std"]
- [[example]]
- name = "to_json"
- [[example]]
- name = "rbpf_plugin"
|