51 lines
1.9 KiB
Markdown
51 lines
1.9 KiB
Markdown
<div align="center">
|
|
|
|
<h1>PageTop Macros</h1>
|
|
|
|
<p>A collection of macros that boost PageTop development.</p>
|
|
|
|
[](#-license)
|
|
[](https://docs.rs/pagetop-macros)
|
|
[](https://crates.io/crates/pagetop-macros)
|
|
[](https://crates.io/crates/pagetop-macros)
|
|
|
|
</div>
|
|
|
|
# 📦 About PageTop
|
|
|
|
[PageTop](https://docs.rs/pagetop) is an opinionated web framework to build modular *Server-Side
|
|
Rendering* web solutions.
|
|
|
|
|
|
# 🚧 Warning
|
|
|
|
**PageTop** framework is currently in active development. The API is unstable and subject to
|
|
frequent changes. Production use is not recommended until version **0.1.0**.
|
|
|
|
|
|
# 🔖 Credits
|
|
|
|
This crate includes an adapted version of [maud-macros](https://crates.io/crates/maud_macros)
|
|
(version [0.25.0](https://github.com/lambda-fairy/maud/tree/v0.25.0/maud_macros)) by
|
|
[Chris Wong](https://crates.io/users/lambda-fairy).
|
|
|
|
Additionally, the [SmartDefault](https://crates.io/crates/smart_default) crate (version 0.7.1) by
|
|
[Jane Doe](https://crates.io/users/jane-doe) has been embedded as `AutoDefault`, simplifying
|
|
`Default` implementations.
|
|
|
|
Both eliminate the need to explicitly reference `maud` or `smart_default` in the `Cargo.toml` file
|
|
of each project.
|
|
|
|
|
|
# 📜 License
|
|
|
|
All code in this crate is dual-licensed under either:
|
|
|
|
* MIT License
|
|
([LICENSE-MIT](LICENSE-MIT) or https://opensource.org/licenses/MIT)
|
|
|
|
* Apache License, Version 2.0,
|
|
([LICENSE-APACHE](LICENSE-APACHE) or https://www.apache.org/licenses/LICENSE-2.0)
|
|
|
|
at your option. This means you can select the license you prefer! This dual-licensing approach is
|
|
the de-facto standard in the Rust ecosystem.
|