-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Now uses rust-embed (fixes #69 ) * widened bound for render_template * de-duplicated code inside generator/common.rs by moving different cargo_/some_command/ functions to single macro cargo_command! * calling cargo fmt should work now
- Loading branch information
1 parent
30dd9f3
commit 3d36917
Showing
4 changed files
with
59 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
mod common; | ||
pub use common::{check_for_overwrite, template_render_write, write_multiple_templates}; | ||
|
||
mod model; | ||
pub use common::{ | ||
cargo_fix, cargo_fmt, cargo_generate_rustdoc, cargo_init_project, check_for_overwrite, | ||
template_render_write, write_multiple_templates, | ||
}; | ||
mod template_functions; | ||
pub use model::generate_models_folder; | ||
|
||
mod template_functions; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters