diff --git a/yama/src/bin/yama.rs b/yama/src/bin/yama.rs index bff675f..5d00979 100644 --- a/yama/src/bin/yama.rs +++ b/yama/src/bin/yama.rs @@ -18,9 +18,9 @@ along with Yama. If not, see . use std::path::{Path, PathBuf}; use anyhow::{bail, Context}; -use clap::{crate_authors, crate_description, crate_version, Parser}; use log::info; +use clap::Parser; use env_logger::Env; use std::sync::Arc; use yama::commands::{fully_integrate_pointer_node, load_pile_descriptor, open_pile}; @@ -32,7 +32,7 @@ use yama::pile::{Pile, PileDescriptor, RawPile}; use yama::{commands, debug}; #[derive(Parser)] -#[clap(version = crate_version!(), author = crate_authors!(), about = crate_description!())] +#[clap(version = env!("CARGO_PKG_VERSION"), author = env!("CARGO_PKG_AUTHORS"), about = env!("CARGO_PKG_DESCRIPTION"))] struct Opts { /// Chooses a different pile to be the working pile. /// If specified, must be the name of a remote in yama.toml.