Skip to content

Commit cb0a796

Browse files
committed
Cargo.toml,README.md: Bump version to 0.4.0
Main features since v0.3.0 include: - Support for eBPF-to-eBPF function calls with automatic stack frame management, including: - stack frame context preservation during function calls - maximum nesting level of 8 function calls - customizable StackUsageCalculator for stack size optimization - support in both interpreter and JIT modes - assembler and disassembler support for eBPF call instructions - JIT support in no_std mode - users can now manually provide executable memory areas to use JIT without requiring the standard library. - Replacing single-byte address representation with Range type for memory access ranges, to reduce memory overhead for maps storing large amounts of data; and using the hashbrown crate for better HashMap performance in no_std mode. - Reduced dependency on libc, obtained by replacing several calls with standard library alternatives: - Replaced rand() with a simple Wyrand implementation - Replaced libc::memcpy with ptr::copy_nonoverlapping - Replaced libc memory allocation with std::alloc Only mprotect() remains as a libc dependency. - Bumping cargo edition to 2024 - Dependency updates, including: - replacing the deprecated time v0.2 crate with std::time::Instant, providing cross-platform monotonic time functionality using only the standard library - cranelift - elf (we were stuck with a very old version because newer versions had breaking changes; these changes have now been addressed) - Various fixes and clean-ups (These notes were mostly generated from the Git history by Claude Code.) Signed-off-by: Quentin Monnet <qmo@qmon.net>
1 parent ebafc6c commit cb0a796

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Project metadata
44
name = "rbpf"
5-
version = "0.3.0"
5+
version = "0.4.0"
66
authors = ["Quentin Monnet <qmo@qmon.net>"]
77

88
# Additional metadata for packaging

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ file:
5252

5353
```toml
5454
[dependencies]
55-
rbpf = "0.3.0"
55+
rbpf = "0.4.0"
5656
```
5757

5858
You can also use the development version from this GitHub repository. This
@@ -388,7 +388,7 @@ to your `Cargo.toml` file.
388388

389389
```toml
390390
[dependencies]
391-
rbpf = "0.3.0"
391+
rbpf = "0.4.0"
392392
elf = "0.0.10"
393393
```
394394

@@ -581,7 +581,7 @@ enabled-by-default features.
581581

582582
```toml
583583
[dependencies]
584-
rbpf = { version = "0.3.0", default-features = false }
584+
rbpf = { version = "0.4.0", default-features = false }
585585
```
586586

587587
Note that when using this crate in `no_std` environments, the `jit` module

0 commit comments

Comments
 (0)