goertzenator / rebar3_rust

Rebar3 plugin to build Rust crates (unmaintained). See https://github.com/filmor/rebar3_rust/tree/update for more recent work.
Apache License 2.0
9 stars 5 forks source link

rename crates to rust_src? #4

Open benoitc opened 7 years ago

benoitc commented 7 years ago

nitpicking but having a folder named rust_src would be more obvious for me. Also why do the crates needs in their own folder in priv? Why not put the resulting so directly inpriv/

goertzenator commented 7 years ago
filmor commented 6 years ago

Regarding rust_src, couldn't it be both single and multiple crates? Theoretically, the plugin could check whether there is a Cargo.toml at the root and otherwise assume multiple crates. I don't think the case of random .rs files is something anyone would expect to be supported.