Skip to navigation

Publish under your own crate metadata

The generated crate’s [package] block can now carry your own identity instead of Fern’s template metadata. Set packageIdentity in generators.yml to control the crate name, description, license, repository, homepage, authors, and keywords. A name override renames the matching Cargo.lock entry in the same pass, so cargo build --locked still resolves.

generators.yml
config:
packageIdentity:
name: contoso-cli
description: The official Contoso CLI
license: MIT
repository: https://github.com/contoso/cli