fix pimalaya-tui package name

This commit is contained in:
Clément DOUIN 2024-09-01 16:07:50 +02:00
parent b92d7b4a08
commit cce0baf81a
No known key found for this signature in database
GPG key ID: 353E4A18EE0FAB72
2 changed files with 6 additions and 2 deletions

2
Cargo.lock generated
View file

@ -3191,7 +3191,7 @@ dependencies = [
[[package]] [[package]]
name = "pimalaya-tui" name = "pimalaya-tui"
version = "0.1.0" version = "0.1.0"
source = "git+https://github.com/pimalaya/tui#0b2403886edcc57491e56da86537541e9b126cbc" source = "git+https://github.com/pimalaya/tui#fba8c1284dbaaa4433c7cb6b242e68864d8d5b44"
dependencies = [ dependencies = [
"clap", "clap",
"color-eyre", "color-eyre",

View file

@ -28,7 +28,11 @@ pub struct Config {
pub account: Option<AccountsConfig>, pub account: Option<AccountsConfig>,
} }
impl TomlConfig<AccountConfig> for Config {} impl TomlConfig<AccountConfig> for Config {
fn project_name() -> &'static str {
env!("CARGO_PKG_NAME")
}
}
impl Config { impl Config {
/// Create and save a TOML configuration using the wizard. /// Create and save a TOML configuration using the wizard.