Re:Using Java 9 Modularization to Ship Zero-Dependency Apps
by steveklabnik on Wednesday January 03, 2018 @12:02AM
(#16058578)
> How do I get a preconfigured quickstart project for say iron and diesel with rust? I read the rust book. I must have missed it.
The book doesn't cover everything. That said, we currently don't have a built-in solution for this feature; we had one but it never hit stable. Since it didn't get accepted before the impl period late last year, the discussion was effectively on-hold; it can get started up again now that it's past the new year.
That said, many projects provide their own way to get started. Diesel's CLI has a "diesel setup" command to get going with it, for example. I'm not aware of one for Iron.
Re:Using Java 9 Modularization to Ship Zero-Dependency Apps
by danjoc on Wednesday January 03, 2018 @12:03PM
(#16062690)
Thanks for the reply Steve. I enjoyed v1 and v2 of the book. I look forward to having a standardized way to do this in rust.
Re:Using Java 9 Modularization to Ship Zero-Dependency Apps
by tdbgamer on Wednesday January 03, 2018 @04:33PM
(#16065399)
Iron and Diesel are pretty new, so they may not have very sophisticated templates yet. If you just mean setting up a rust project though it's as simple as 'cargo new --bin [project_name]'. I've found cargo to be a lot simpler to use than Gradle with the added bonus of not having to learn Groovy!
How do I get a preconfigured quickstart project for say iron and diesel with rust? I read the rust book. I must have missed it.