Crate crate2nix[][src]

Expand description

crate2nix

Internal library for the crate2nix binary. This is not meant to be used separately, I just enjoy writing doc tests ;)

Repository

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

BuildInfo

The resolved build info and the input for rendering the build.nix.tera template.

GenerateConfig

Configuration for the default.nix generation.

GenerateInfo

Some info about the crate2nix invocation.