wip: rename harmony-secret* by harmony_secret*
All checks were successful
Run Check Script / check (pull_request) Successful in 1m14s
All checks were successful
Run Check Script / check (pull_request) Successful in 1m14s
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user