Convert a contract name to a directory name under contracts-generated/.
(contract_name: &str)
| 55 | |
| 56 | /// Convert a contract name to a directory name under contracts-generated/. |
| 57 | fn to_dir_name(contract_name: &str) -> String { |
| 58 | contract_name.to_lowercase() |
| 59 | } |
| 60 | |
| 61 | /// Convert a crate name (kebab-case) to a Rust identifier (underscore_case). |
| 62 | fn to_rust_ident(crate_name: &str) -> String { |
no outgoing calls
no test coverage detected