Commit graph

15 commits

Author SHA1 Message Date
John Ericson
43252576c2 Derivation::to_json_string and test
Use `serde_json` at test time.
2026-01-24 19:44:09 -05:00
Robert Hensing
6619b881b3 Assert STORE_PATH_HASH_SIZE matches C struct
`zerocopy` is safe enough, but it's good to be explicit about this.
2026-01-14 21:47:57 +01:00
John Ericson
65abededca Add new StorePath bindings 2026-01-14 15:43:13 -05:00
John Ericson
ab64f87160 Fix cargo doc 2026-01-14 15:19:47 -05:00
John Ericson
dbb00333b1 Split monolithic raw crates into sys crates
Creating a crate for bwd-gc highlights the fact that it would be nice to
fix 2!

The file blocklist is a lost less unmaintainable then the more
fine-grained one we had before.

Fix #9
2026-01-12 19:48:45 -05:00
Robert Hensing
6d941407fe Fix broken rustdoc links 2026-01-12 20:17:40 +01:00
Robert Hensing
e6148b587f Rename nix-bindings-bindgen-raw to nix-bindings-util-sys
Adopt idiomatic Rust `-sys` crate naming convention, aligning with
the direction in PR #37 without adopting the full crate splitting.
2026-01-12 19:56:04 +01:00
John Ericson
351a206776 Fix clippy and track in CI
`flake check` will run clippy.
2025-12-15 19:48:45 -05:00
Robert Hensing
53641a179b feat: Enable Nix 2.33 APIs for pre-release testing/validation
Pre-release versions (2.33.0pre) now enable 2.33 APIs, allowing development
and integration testing before the stable release. Tests remain disabled for
2.33 until stable to avoid blocking on unrelated pre-release issues.
2025-12-09 23:02:24 +01:00
John Ericson
07058ecfe2 Clone for Derivation
And `as_ptr` too.

This will be tested once we get the harmonia bindings in.
2025-12-06 13:42:24 -05:00
John Ericson
5cf732957c Clone for StorePath
This will be tested once we get the harmonia bindings in.
2025-12-06 13:42:12 -05:00
Robert Hensing
f24b749c4a
Merge pull request #24 from nixops4/treefmt
Format, and keep formatted
2025-12-06 12:17:49 +01:00
John Ericson
cfda626614 Format, and keep formatted 2025-12-05 16:55:09 -05:00
John Ericson
369e679594 Update to latest Nix master 2025-12-05 16:34:56 -05:00
Robert Hensing
55eacf43c3 maint: Move to /rust/* to /
This makes it easier for tooling to find the Rust stuff.
Rust/non-rust is not a useful distinction in this repo anymore anyway.
2025-10-26 23:29:13 +01:00