rust - Renaming a crate with a hyphen doesn't compile anymore -


this no longer compiles:

extern crate "my-crate" my_crate1; 

what's new syntax? did not find searching.

dashes in extern crate names can replaced underscores. example should be

extern crate my_crate my_crate1; 

or if want underscored name, using following work

extern crate my_crate; 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -