cargo-nuget
cargo-nuget copied to clipboard
Cargo-nuget doesn't deal well with rust libraries/projects with hyphens in the name
Just tried this on a rust crate where there's a hyphen in the project name, meaning the library name has to be specified to use an underscore. AFAICT there's no way to specify alternative library names in cargo-nuget, so this caused packing to fail, when the generated library wasn't found because it didn't match the project name.
It'd be nice to have a way to specify alternative library names, even if it's just another CLI arg.
Hey @qdot! :wave:
I haven't worked on this project in a while, but this sounds like something we should be handling transparently so that kebab-case crate names are converted into snake_case when we attempt to locate the output.