Re:Will Hare replace C? Or Rust? Or Zig? Or anything else?
by cgh on Tuesday May 03, 2022 @12:53PM
(#31250555)
Does Cargo have the equivalent of Maven’s archetypes? Eg, project templates to generate a particular directory structure, some default files, etc.
[ Parent
| on HN ]
Re:Will Hare replace C? Or Rust? Or Zig? Or anything else?
by ssokolow on Tuesday May 03, 2022 @05:38PM
(#31253931)
Currently, it has two built-in ones for `cargo new` and `cargo init` (--bin and --lib) and there are third-party tools like `cargo generate` which provide for more, but they haven't accepted anything into the main distribution yet.