Crates.io | bpf-script-derive |
lib.rs | bpf-script-derive |
version | 0.5.4 |
source | src |
created_at | 2022-11-02 01:12:04.609341 |
updated_at | 2022-11-05 00:35:21.561523 |
description | Macros for the bpf-script crate. |
homepage | https://github.com/arcjustin/bpf-script-derive |
repository | https://github.com/arcjustin/bpf-script-derive |
max_upload_size | |
id | 703175 |
size | 27,973 |
Provides a derive macro for AddToDatabase
to make adding Rust types to a bpf_script::types::TypeDatabase
easier.
For usage examples, see code located in examples/ :
Examples | Description |
---|---|
custom-type | Creates and inserts a custom type into an empty BTF database |