wip: rename harmony-secret* by harmony_secret*
All checks were successful
Run Check Script / check (pull_request) Successful in 1m14s

This commit is contained in:
Ian Letourneau
2025-08-28 14:29:24 -04:00
parent 8cc7adf196
commit f180cc4c80
8 changed files with 61 additions and 38 deletions

View File

@@ -10,10 +10,10 @@ pub fn derive_secret(input: TokenStream) -> TokenStream {
// The key for the secret will be the stringified name of the struct itself.
// e.g., `struct OKDClusterSecret` becomes key `"OKDClusterSecret"`.
let key = struct_ident.to_string();
let key = struct_ident.to_string(); // TODO: Utiliser path complet de la struct
// Find the path to the `harmony_secret` crate.
let secret_crate_path = match crate_name("harmony-secret") {
let secret_crate_path = match crate_name("harmony_secret") {
Ok(FoundCrate::Itself) => quote!(crate),
Ok(FoundCrate::Name(name)) => {
let ident = Ident::new(&name, proc_macro2::Span::call_site());