Oxidized bindings for the Nix package manager!!
Find a file
Robert Hensing 858bec68bc feat: Add crate nix-c-raw
See README. Most of this is in accordance with the bindgen introduction.

The c_headers function was taken from Zach Mitchell's work on bindings.

Co-authored-by: Zach Mitchell <zmitchell@fastmail.com>
(cherry picked from commit 83d8ae6b26d341bbd452a77d7361f58c06a2d322)
2025-09-30 18:19:39 +02:00
.vscode feat: Rust skeleton 2025-09-30 17:57:50 +02:00
rust feat: Add crate nix-c-raw 2025-09-30 18:19:39 +02:00
.envrc feat: Rust skeleton 2025-09-30 17:57:50 +02:00
.gitignore feat: Rust skeleton 2025-09-30 17:57:50 +02:00
flake.lock feat: Add nix overrides to make bindgen work 2025-09-30 18:05:54 +02:00
flake.nix feat: Add nix overrides to make bindgen work 2025-09-30 18:05:54 +02:00
README.md feat: Rust skeleton 2025-09-30 17:57:50 +02:00

nix_bindings_* crates

Use the Nix C API from Rust.

Hacking

The following will open a shell with dependencies, and install pre-commit for automatic formatting.

$ nix develop

VSCode

rust-analyzer

If the rust-analyzer extension fails, make sure the devShell was loaded into VSCode via Nix Env Selector or direnv.