mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-07 00:00:12 +02:00
Rename to awebframework (#13)
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# tower-web
|
||||
# awebframework
|
||||
|
||||
**WARNING:** tower-web is very much still work in progress. Nothing is released
|
||||
**WARNING:** awebframework is very much still work in progress. Nothing is released
|
||||
to crates.io yet and you shouldn't be using this in production.
|
||||
|
||||
tower-web (name pending) is a tiny web application framework that focuses on
|
||||
awebframework (name pending) is a tiny web application framework that focuses on
|
||||
ergonomics and modularity.
|
||||
|
||||
[](https://github.com/davidpdrsn/tower-web/actions)
|
||||
[](https://github.com/davidpdrsn/awebframework/actions)
|
||||
<!--
|
||||
[](https://crates.io/crates/tower-web)
|
||||
[](https://docs.rs/tower-web)
|
||||
[](LICENSE)
|
||||
[](https://crates.io/crates/awebframework)
|
||||
[](https://docs.rs/awebframework)
|
||||
[](LICENSE)
|
||||
-->
|
||||
|
||||
More information about this crate can be found in the [crate documentation][docs].
|
||||
@@ -19,17 +19,17 @@ More information about this crate can be found in the [crate documentation][docs
|
||||
|
||||
- Ease of use. Building web apps in Rust should be as easy as `async fn
|
||||
handle(Request) -> Response`.
|
||||
- Solid foundation. tower-web is built on top of tower and makes it easy to
|
||||
- Solid foundation. awebframework is built on top of tower and makes it easy to
|
||||
plug in any middleware from the [tower] and [tower-http] ecosystem.
|
||||
- Focus on routing, extracting data from requests, and generating responses.
|
||||
Tower middleware can handle the rest.
|
||||
- Macro free core. Macro frameworks have their place but tower-web focuses
|
||||
- Macro free core. Macro frameworks have their place but awebframework focuses
|
||||
on providing a core that is macro free.
|
||||
|
||||
## Usage example
|
||||
|
||||
```rust
|
||||
use tower_web::prelude::*;
|
||||
use awebframework::prelude::*;
|
||||
use hyper::Server;
|
||||
use std::net::SocketAddr;
|
||||
use tower::make::Shared;
|
||||
@@ -50,21 +50,20 @@ async fn main() {
|
||||
|
||||
## Examples
|
||||
|
||||
The [examples] folder contains various examples of how to use tower-web. The
|
||||
The [examples] folder contains various examples of how to use awebframework. The
|
||||
[docs] also have lots of examples
|
||||
|
||||
## Getting Help
|
||||
|
||||
If you're new to tower its [guides] might help. In the tower-web repo we also
|
||||
have a [number of examples][examples] showing how to put everything together.
|
||||
You're also welcome to ask in the [`#tower` Discord channel][chat] or open an
|
||||
[issue] with your question.
|
||||
In the awebframework's repo we also have a [number of examples][examples]
|
||||
showing how to put everything together. You're also welcome to ask in the
|
||||
[`#tower` Discord channel][chat] or open an [issue] with your question.
|
||||
|
||||
## Contributing
|
||||
|
||||
:balloon: Thanks for your help improving the project! We are so happy to have
|
||||
you! We have a [contributing guide][guide] to help you get involved in the
|
||||
tower-web project.
|
||||
awebframework project.
|
||||
|
||||
## License
|
||||
|
||||
@@ -73,13 +72,13 @@ This project is licensed under the [MIT license](LICENSE).
|
||||
### Contribution
|
||||
|
||||
Unless you explicitly state otherwise, any contribution intentionally submitted
|
||||
for inclusion in tower-web by you, shall be licensed as MIT, without any
|
||||
for inclusion in awebframework by you, shall be licensed as MIT, without any
|
||||
additional terms or conditions.
|
||||
|
||||
[examples]: https://github.com/davidpdrsn/tower-web/tree/master/examples
|
||||
[examples]: https://github.com/davidpdrsn/awebframework/tree/master/examples
|
||||
[docs]: https://docs.rs/tower-http/0.1.0
|
||||
[tower]: https://crates.io/crates/tower
|
||||
[tower-http]: https://crates.io/crates/tower-http
|
||||
[guide]: CONTRIBUTING.md
|
||||
[chat]: https://discord.gg/tokio
|
||||
[issue]: https://github.com/davidpdrsn/tower-web/issues/new
|
||||
[issue]: https://github.com/davidpdrsn/awebframework/issues/new
|
||||
|
||||
Reference in New Issue
Block a user