From adeff0bf858c747c338a5d255cd320f4464e5840 Mon Sep 17 00:00:00 2001 From: "matthias.gatto" Date: Thu, 1 Oct 2026 10:59:17 +0200 Subject: [PATCH 1/3] rust: add stdint Signed-off-by: matthias.gatto --- rust/csonpath_rust_backend.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/csonpath_rust_backend.h b/rust/csonpath_rust_backend.h index 4c3e84f..77cb5fa 100644 --- a/rust/csonpath_rust_backend.h +++ b/rust/csonpath_rust_backend.h @@ -5,6 +5,7 @@ #include #include #include +#include /* The C core treats JSON values as opaque pointers. All access goes through * FFI functions implemented in Rust (backend_serde.rs). */ From de91f2dfc6af13d18d91629bc98c9611e45f7e7c Mon Sep 17 00:00:00 2001 From: "matthias.gatto" Date: Thu, 1 Oct 2026 11:28:57 +0200 Subject: [PATCH 2/3] tests cargo on dry run Signed-off-by: matthias.gatto --- .github/workflows/test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index aea05af..3c0dbe0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -40,6 +40,10 @@ jobs: - name: build and test python run: | make tests-py + - name: Cargo publish dry-run + working-directory: rust + run: cargo publish --dry-run + build-windows: environment: auto-build From 0aeb808a72eb491fc66e2514249766d095fdc324 Mon Sep 17 00:00:00 2001 From: "matthias.gatto" Date: Thu, 1 Oct 2026 11:53:46 +0200 Subject: [PATCH 3/3] update rust c version Signed-off-by: matthias.gatto --- rust/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/build.rs b/rust/build.rs index 0e1e56c..57af21c 100644 --- a/rust/build.rs +++ b/rust/build.rs @@ -15,7 +15,7 @@ fn main() { .file("csonpath_rust_backend.c") .include(root_dir) .include(&manifest_dir) - .flag("-std=c11") + .flag("-std=c23") .flag("-O2") .flag("-fno-strict-aliasing") .flag("-Wno-unused-parameter")