Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RouteDsl::or to combine routes #108

Merged
merged 7 commits into from
Aug 7, 2021
Merged

Add RouteDsl::or to combine routes #108

merged 7 commits into from
Aug 7, 2021

Commits on Aug 3, 2021

  1. Add RouteDsl::or to combine routes

    With this you'll be able to do:
    
    ```rust
    let one = route("/foo", get(|| async { "foo" }))
        .route("/bar", get(|| async { "bar" }));
    
    let two = route("/baz", get(|| async { "baz" }));
    
    let app = one.or(two);
    ```
    
    Fixes #101
    davidpdrsn committed Aug 3, 2021
    Configuration menu
    Copy the full SHA
    b2cb6e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2021

  1. Begin adding tests

    davidpdrsn committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    4a1dc77 View commit details
    Browse the repository at this point in the history
  2. docs

    davidpdrsn committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    98fa4be View commit details
    Browse the repository at this point in the history
  3. misc fixes

    davidpdrsn committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    45a8353 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c7ec628 View commit details
    Browse the repository at this point in the history
  5. changelog

    davidpdrsn committed Aug 4, 2021
    Configuration menu
    Copy the full SHA
    5947c75 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. Configuration menu
    Copy the full SHA
    77dad6f View commit details
    Browse the repository at this point in the history