Registry / utility / rnix
library0.14.0rscratesunverified

A Nix parser written in Rust.

# Cargo.toml [dependencies] rnix = "0.14.0"
INSTALL
IMPORT
SIG · RNIX
R
rnix
utilityrustv0.14.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

parse
use rnix::parse;

Parses Nix expressions into an AST.

use rnix::parse; fn main() { let ast = parse("let x = 1; in x"); println!("{:?}", ast); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.14.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
rnix — cargo add rnix · libregistry