Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cmazakas/fiona-rs
https://github.com/cmazakas/fiona-rs
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmazakas/fiona-rs
- Owner: cmazakas
- License: bsl-1.0
- Created: 2024-10-02T03:55:06.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-12-14T03:14:20.000Z (26 days ago)
- Last Synced: 2024-12-14T04:18:38.923Z (26 days ago)
- Language: Rust
- Size: 83 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# fiona-rs
Requires Linux kernel version 6.8 and up.
A Rust port of some C++ I had written which was a port of some Rust code I originally worked on.
Aims to be a competitively fast I/O runtime using io_uring and all of its features.
## Dev Scripts
For local dev testing, a script like this is useful:
```bash
#!/bin/bashset -ex
export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-19
export MSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-19
export ASAN_OPTIONS="detect_leaks=1:detect_invalid_pointer_pairs=2:strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1"
export LSAN_OPTIONS="suppressions=suppr.txt"clear
CARGO_FLAGS=(--target x86_64-unknown-linux-gnu -Zbuild-std)
export RUSTFLAGS='-Zsanitizer=address'
cargo test "${CARGO_FLAGS[@]}" "$@"# export RUSTFLAGS='-Zsanitizer=thread'
# cargo test "${CARGO_FLAGS[@]}" "$@"# cargo test "${CARGO_FLAGS[@]}" "$@"
```and for a more comprehensive coverage suite:
```bash
#!/bin/bashset -ex
export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-19
export MSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-19
export ASAN_OPTIONS="detect_leaks=1:detect_invalid_pointer_pairs=2:strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1"
export LSAN_OPTIONS="suppressions=suppr.txt"clear
CARGO_FLAGS=(--target x86_64-unknown-linux-gnu -Zbuild-std)
export RUSTFLAGS='-Zsanitizer=address'
cargo test "${CARGO_FLAGS[@]}"export RUSTFLAGS='-Zsanitizer=thread'
cargo test "${CARGO_FLAGS[@]}"cargo test "${CARGO_FLAGS[@]}"
export RUSTFLAGS='-Zsanitizer=address'
cargo test "${CARGO_FLAGS[@]}" --releaseexport RUSTFLAGS='-Zsanitizer=thread'
cargo test "${CARGO_FLAGS[@]}" --releasecargo test "${CARGO_FLAGS[@]}" --release
```