Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
bcc69c1
regex: only enable implicit capture groups
marmeladema Oct 9, 2025
21d5f12
Fix `FieldIndex` documentation
marmeladema Nov 7, 2025
3e6ec6c
Fix miri
marmeladema Nov 7, 2025
8bab3ed
Call specialized `serialize_bytes` method instead of serializing a slice
marmeladema Nov 7, 2025
afa9568
Rename rhs `Bytes` to `BytesExpr`
marmeladema Dec 23, 2025
1501209
Introduce custom `Bytes` type
marmeladema Dec 24, 2025
013d4dd
Avoid unsafe code in `Bytes::to_mut`
marmeladema Dec 24, 2025
39bfcbf
Update wildcard crate to version 0.3.0
marmeladema Jan 6, 2026
d9cea51
Support list (de)serialization with any serde compatible format
marmeladema Jan 6, 2026
2beccf5
Fully remove ability to mutate an `Array`
marmeladema Jan 7, 2026
3363b07
Allow downstream crates to convert their own types to `LhsValue::Bytes`
marmeladema Jan 8, 2026
4ca0136
Prefer `From` trait over `Into` to fix small performance regression
marmeladema Jan 9, 2026
27fbb35
Refactor map code
marmeladema Jan 8, 2026
124b16d
Refactor array code
marmeladema Jan 13, 2026
27a99d9
Avoid clone when compiling `OneOf` operator for IPs
marmeladema Jan 30, 2026
333d96e
Replace `memmem` by `memchr` as default substring searcher engine
marmeladema Feb 6, 2026
bc66f56
Re-use heap allocation when converting bytes expr to map key
marmeladema Feb 9, 2026
279af41
Run tombi format
utkarshgupta137 Feb 6, 2026
b2d5670
Add tombi format --check to CI
utkarshgupta137 Feb 6, 2026
51f81b6
Move all deps to workspace Cargo.toml
utkarshgupta137 Feb 6, 2026
d9acc05
Update deps
utkarshgupta137 Feb 6, 2026
a13f4ca
Upgrade deps
utkarshgupta137 Feb 6, 2026
22aa5f6
Format YAML
utkarshgupta137 Feb 12, 2026
f65e225
Update rust.yml
utkarshgupta137 Feb 12, 2026
ec61f61
Fix rustfmt.toml
utkarshgupta137 Feb 12, 2026
d14cb71
Update rustfmt.toml
utkarshgupta137 Feb 12, 2026
99fedf6
Format code
utkarshgupta137 Feb 12, 2026
6621924
Format imports
utkarshgupta137 Feb 16, 2026
84faf1f
Bump rand from 0.9.2 to 0.9.3
dependabot[bot] Apr 14, 2026
21b3103
ci: add Semgrep OSS scanning workflow
hrushikeshdeshpande Apr 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
129 changes: 72 additions & 57 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,84 @@ name: Rust

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy,rustfmt
- name: Print versions
run: |
cargo --version
rustc --version
clippy-driver --version
rustfmt --version
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run clippy
run: cargo clippy --verbose --all-targets -- -D clippy::all
- name: Check code formatting
run: cargo fmt --verbose --all -- --check
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
components: clippy
- name: Print versions
run: |
cargo --version
rustc --version
clippy-driver --version
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run clippy
run: cargo clippy --verbose --all-targets -- -D clippy::all

fmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: rustfmt
- uses: tombi-toml/setup-tombi@v1
- name: Print versions
run: |
cargo fmt --version
tombi --version
- name: Check code formatting
uses: actions-rust-lang/rustfmt@v1
- name: Check toml formatting
run: tombi format --check

doc:
name: Documentation
runs-on: ubuntu-latest
env:
RUSTDOCFLAGS: -D warnings
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Print versions
run: |
cargo --version
rustc --version
rustdoc --version
- name: Doc
run: cargo doc --verbose
- name: Doc with all features
run: cargo doc --verbose --all-features
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable
- name: Print versions
run: |
cargo --version
rustc --version
rustdoc --version
- name: Doc
run: cargo doc --verbose
- name: Doc with all features
run: cargo doc --verbose --all-features

miri-test:
name: Test with miri
runs-on: ubuntu-latest
env:
MIRIFLAGS: -Zmiri-disable-isolation
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: miri
- run: cargo miri test --verbose --no-default-features
- run: cargo miri test --verbose --all-features
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: miri
- run: cargo miri test --verbose --no-default-features
- run: cargo miri test --verbose --all-features

sanitizer-test:
name: Test with -Zsanitizer=${{ matrix.sanitizer }}
Expand All @@ -74,19 +89,19 @@ jobs:
matrix:
sanitizer: [address, thread, leak]
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: rust-src
- name: Test with sanitizer
env:
RUSTFLAGS: -Zsanitizer=${{ matrix.sanitizer }}
RUSTDOCFLAGS: -Zsanitizer=${{ matrix.sanitizer }}
# only needed by asan
ASAN_OPTIONS: detect_stack_use_after_return=1,detect_leaks=0
# Asan's leak detection occasionally complains
# about some small leaks if backtraces are captured,
# so ensure they're not
RUST_BACKTRACE: 0
run: cargo test -Zbuild-std --verbose --target=x86_64-unknown-linux-gnu --lib --bins --tests
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: rust-src
- name: Test with sanitizer
env:
RUSTFLAGS: -Zsanitizer=${{ matrix.sanitizer }}
RUSTDOCFLAGS: -Zsanitizer=${{ matrix.sanitizer }}
# only needed by asan
ASAN_OPTIONS: detect_stack_use_after_return=1,detect_leaks=0
# Asan's leak detection occasionally complains
# about some small leaks if backtraces are captured,
# so ensure they're not
RUST_BACKTRACE: 0
run: cargo test -Zbuild-std --verbose --target=x86_64-unknown-linux-gnu --lib --bins --tests
40 changes: 23 additions & 17 deletions .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
name: Semgrep OSS scan
on:
pull_request: {}
push:
branches: [main, master]
workflow_dispatch: {}
push:
branches:
- main
- master
schedule:
- cron: '0 0 * * *'
name: Semgrep config
- cron: '0 0 20 * *'
concurrency:
group: semgrep-${{ github.event_name }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
semgrep:
name: semgrep/ci
runs-on: ubuntu-latest
env:
SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }}
SEMGREP_URL: https://cloudflare.semgrep.dev
SEMGREP_APP_URL: https://cloudflare.semgrep.dev
SEMGREP_VERSION_CHECK_URL: https://cloudflare.semgrep.dev/api/check-version
container:
image: semgrep/semgrep
name: semgrep-oss
runs-on: ubuntu-slim
steps:
- uses: actions/checkout@v4
- run: semgrep ci
- uses: actions/checkout@v5
with:
fetch-depth: 1
- id: cache-semgrep
uses: actions/cache@v5
with:
path: ~/.local
key: semgrep-1.160.0-${{ runner.os }}
- if: steps.cache-semgrep.outputs.cache-hit != 'true'
run: pip install --user semgrep==1.160.0
- run: echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- run: semgrep scan --config=auto
Loading