# `RustQ.Config`
[🔗](https://github.com/dannote/rustq/blob/v0.11.1/lib/rustq/config.ex#L1)

Concise manifest DSL for checked-in generated files.

Use `rust/2` when a target is a list of RustQ AST items and `generate/2`
with `content/1` for arbitrary generated content:

    use RustQ.Config

    alias RustQ.Rustler.Term

    rust "native/my_nif/src/generated_term_helpers.rs" do
      Term.helpers()
    end

    generate "lib/my_app/native/generated_stubs.ex" do
      content(MyApp.Codegen.Native.stubs())
    end

Run `mix rustq.gen` to write targets and `mix rustq.gen --check` in CI.

# `build`
*macro* 

Sets a custom zero-arity build function for the current `generate` target.

# `content`
*macro* 

Sets content for the current `generate` target.

# `generate`
*macro* 

Declares an arbitrary generated target, inferring its name from the path.

# `generate`
*macro* 

Declares an arbitrary generated target with an explicit name.

# `require_file`
*macro* 

Requires a generator source file once and returns the current manifest.

# `rust`
*macro* 

Declares a generated Rust item target, inferring its name from the path.

# `rust`
*macro* 

Declares a generated Rust item target with an explicit name.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
