use std::path::PathBuf; use derive_more::{AsRef, Constructor, Display}; /// The name of a Forge to connect to #[derive(Clone, Default, Debug, Hash, PartialEq, Eq, Constructor, Display, AsRef)] pub struct ForgeAlias(String); impl From<&ForgeAlias> for PathBuf { fn from(value: &ForgeAlias) -> Self { Self::from(&value.0) } }