Skip to main content

Crate sui_compat

Crate sui_compat 

Source
Expand description

Clean-room Nix format and protocol compatibility layer.

All types implemented from scratch based on public Nix documentation. No vendored code from any GPL-licensed project.

Modules§

content_address
Content-addressed store path types.
derivation
Nix derivation (.drv) ATerm format — parse/serialize.
flake
Nix flake.lock (v7) parser and input-graph resolver.
flake_ref
Flake reference parser for CLI-style references like .#cid.
hash
Nix hash types and encodings.
nar
NAR (Nix Archive) format — backed by the nix-nar crate.
narinfo
NarInfo binary cache metadata format.
signature
Ed25519 store path signatures.
source
Source-tree store-path computation — the primitive behind builtins.getFlake "path:...".
store_path
Nix store path parsing and computation.
versions
Nix version-string algorithms — single typed implementation shared by every engine (tree-walker sui-eval, bytecode VM sui-bytecode, and any future engine).
wire
Nix worker protocol wire format.