1 unstable release
0.1.0 | May 25, 2024 |
---|
#91 in #nix
184 downloads per month
Used in nixrs
2KB
nixrs
Nix binding for Rust
example
See example
fn eval() -> Result<()> {
init()?;
let mut state = State::new(Store::new("daemon")?)?;
let libclang = &state.eval("(import <nixpkgs> {}).libclang")?;
dbg!(state.build(libclang)?);
Ok(())
}
No runtime deps
~0–1.8MB
~36K SLoC