Skip to content

Commit

Permalink
More documentation. Start fuzzing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
levkk committed Nov 17, 2024
1 parent 51df3aa commit d822f33
Show file tree
Hide file tree
Showing 29 changed files with 2,244 additions and 16 deletions.
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ members = [
"rwf-tests",
"examples/request-tracking",
"examples/engine",
"rwf-admin", "examples/files",
"rwf-admin",
"examples/files",
]
exclude = ["examples/rails", "rwf-ruby", "examples/django"]
exclude = ["examples/rails", "rwf-ruby", "examples/django", "rwf-fuzz"]
1 change: 1 addition & 0 deletions out/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
default
10 changes: 10 additions & 0 deletions rwf-cli/src/templates/routes.rs.tpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
use rwf::http::Handler;
use rwf::prelude::*;

<% for route in routes %>use crate::controllers::<%= route %>::<%= route.camelize %>;
<% end %>
pub fn routes() -> Vec<Handler> {
vec![<% for route in routes %>
route!("/<%= route %>" => <%= route.camelize %>),<% end %>
]
}
Loading

0 comments on commit d822f33

Please sign in to comment.