Compare commits

..

No commits in common. "8732afd297c2ce628ac6f38e43a5d248beb9e875" and "76595d0c92ebb4ee9e2a25aeeaa53b787cb51468" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View file

@ -38,5 +38,5 @@ thiserror = "2.0"
vergen-gitcl = { version = "1.0", features = ["build", "cargo", "rustc", "si"] } vergen-gitcl = { version = "1.0", features = ["build", "cargo", "rustc", "si"] }
[features] [features]
bin = ["anyhow", "env_logger", "flatmap"] bin = ["anyhow", "env_logger"]
flatmap = ["csv"] flatmap = ["csv"]

View file

@ -15,16 +15,13 @@ struct Args {
#[derive(Debug, Subcommand)] #[derive(Debug, Subcommand)]
enum Commands { enum Commands {
/// Generate register interface code.
Generate { Generate {
/// Output directory. /// Output directory.
out: path::PathBuf, out: path::PathBuf,
}, },
/// Generate flattened register map in CSV.
#[cfg(feature = "flatmap")] #[cfg(feature = "flatmap")]
Flatmap { Flatmap {
/// Flattened csv out path. /// Flattened csv out path.
/// Print to stdout by default.
flatmap: Option<path::PathBuf>, flatmap: Option<path::PathBuf>,
}, },
} }