Compare commits
2 commits
c01e23adc3
...
fe98c451f0
Author | SHA1 | Date | |
---|---|---|---|
fe98c451f0 | |||
53bbc022a3 |
2 changed files with 8 additions and 3 deletions
|
@ -7,7 +7,11 @@ crate-type = ["lib"]
|
||||||
[[bin]]
|
[[bin]]
|
||||||
name = "xpkey"
|
name = "xpkey"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
[profile.release]
|
||||||
|
strip = true
|
||||||
|
opt-level = "z"
|
||||||
|
lto = true
|
||||||
|
codegen-units = 1
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.71"
|
anyhow = "1.0.71"
|
||||||
|
|
|
@ -32,7 +32,8 @@ enum Commands {
|
||||||
/// Validate a product key
|
/// Validate a product key
|
||||||
Validate(ValidateArgs),
|
Validate(ValidateArgs),
|
||||||
/// Generate a phone activation Confirmation ID from an Installation ID
|
/// Generate a phone activation Confirmation ID from an Installation ID
|
||||||
Confid(ConfirmationIdArgs),
|
#[command(name = "confid")]
|
||||||
|
ConfirmationId(ConfirmationIdArgs),
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Args, Clone, Debug)]
|
#[derive(Args, Clone, Debug)]
|
||||||
|
@ -115,7 +116,7 @@ fn main() -> Result<()> {
|
||||||
args.verbose,
|
args.verbose,
|
||||||
)?;
|
)?;
|
||||||
}
|
}
|
||||||
Commands::Confid(confirmation_id_args) => {
|
Commands::ConfirmationId(confirmation_id_args) => {
|
||||||
confirmation_id(&confirmation_id_args.instid)?;
|
confirmation_id(&confirmation_id_args.instid)?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue