Expand description
§crate2nix
Internal library for the crate2nix binary. This is not meant to be used separately, I just enjoy writing doc tests ;)
Modules§
- config
- Managing the
crate2nix.json
config. - nix_
build - Code for invoking
nix-build
. - render
- “Render” files using tera templates.
- sources
- Manage nix-generated Cargo workspaces.
- util
- Homeless code. Usually abstract and algorithmic.
Structs§
- Build
Info - The resolved build info and the input for rendering the build.nix.tera template.
- Generate
Config - Configuration for the default.nix generation.
- Generate
Info - Some info about the crate2nix invocation.