Rust library to generate static websites

feat: 0.3.1

+25 -19
+2 -2
Cargo.lock
··· 2426 2426 2427 2427 [[package]] 2428 2428 name = "maudit" 2429 - version = "0.2.0" 2429 + version = "0.3.1" 2430 2430 dependencies = [ 2431 2431 "blake3", 2432 2432 "brk_rolldown", ··· 2451 2451 2452 2452 [[package]] 2453 2453 name = "maudit-cli" 2454 - version = "0.3.1" 2454 + version = "0.4.0" 2455 2455 dependencies = [ 2456 2456 "axum", 2457 2457 "chrono",
+7 -5
README.md
··· 1 - # Maudit <img align="right" valign="center" width="89" height="75" src="./.github/assets/logo_light.svg#gh-dark-mode-only" alt="Logo of Maudit, a crudely crown" /> <img align="right" valign="center" width="89" height="75" src="./.github/assets/logo.svg#gh-light-mode-only" alt="Logo of Maudit, a crudely crown" /> 1 + # Maudit <img align="right" valign="center" width="89" height="75" src="https://raw.githubusercontent.com/bruits/maudit/main/.github/assets/logo_light.svg#gh-dark-mode-only" alt="Logo of Maudit, a crudely crown" /> <img align="right" valign="center" width="89" height="75" src="https://raw.githubusercontent.com/bruits/maudit/main/.github/assets/logo.svg#gh-light-mode-only" alt="Logo of Maudit, a crudely crown" /> 2 2 3 3 > A dire coronation, a situation where nobility, power, or status becomes inextricably tied to disastrous circumstances. 4 4 ··· 17 17 18 18 📦 See the [crate](https://crates.io/crates/maudit) on Crates.io, and the [reference](https://docs.rs/maudit/latest/maudit/) on Docs.rs. 19 19 20 - 🐛 [Report a bug](https://github.com/bruits/maudit/issues), please read our [contributing guidelines](#) and [code of conduct](#) first. 21 - 22 - 🚨 [Report a security vulnerability](#), and be sure to review our [security policy](#). 20 + 🐛 [Report a bug](https://github.com/bruits/maudit/issues), please read our [contributing guidelines](https://github.com/bruits/maudit/blob/main/CONTRIBUTING.md) and [code of conduct](https://github.com/bruits/maudit/blob/main/CODE_OF_CONDUCT.md) first. 23 21 24 22 💬 Join the discussion on [Github](https://github.com/bruits/maudit/discussions) and [Discord](https://maudit.org/chat/), if you have any questions, ideas, or suggestions. 25 23 26 24 ## Contributing 27 25 28 - Contributions are welcome! See our [Contributor Guide](CONTRIBUTING.md) for help getting started. 26 + Contributions are welcome! See our [Contributor Guide](https://github.com/bruits/maudit/blob/main/CONTRIBUTING.md) for help getting started. 27 + 28 + # License 29 + 30 + Maudit is licensed under [the MIT License](https://opensource.org/license/MIT). See [LICENSE](LICENSE) for details.
+1 -1
crates/maudit-cli/Cargo.toml
··· 1 1 [package] 2 2 name = "maudit-cli" 3 3 description = "CLI to operate on maudit projects." 4 - version = "0.3.1" 4 + version = "0.4.0" 5 5 license = "MIT" 6 6 edition = "2021" 7 7
+4 -1
crates/maudit/Cargo.toml
··· 1 1 [package] 2 2 name = "maudit" 3 3 description = "Library for generating static websites." 4 - version = "0.2.0" 4 + documentation = "https://docs.rs/maudit" 5 + homepage = "https://maudit.org" 6 + repository = "https://github.com/bruits/maudit" 7 + version = "0.3.1" 5 8 license = "MIT" 6 9 edition = "2021" 7 10
+1
crates/maudit/README.md
··· 1 + ../../README.md
+1 -1
crates/maudit/src/lib.rs
··· 1 1 #![cfg_attr(docsrs, feature(doc_cfg))] 2 - #![doc = include_str!("../../../README.md")] 2 + #![doc = include_str!("../README.md")] 3 3 //! 4 4 //! <div class="warning"> 5 5 //! You are currently reading Maudit API reference. For a more gentle introduction, please refer to our <a href="https://maudit.dev/docs">documentation</a>.
+1 -1
crates/oubli/Cargo.toml
··· 6 6 edition = "2021" 7 7 8 8 [dependencies] 9 - maudit = { path = "../maudit", version = "0.2" } 9 + maudit = { path = "../maudit", version = "*" } 10 10 maud = { workspace = true } 11 11 serde = { workspace = true }
+1 -1
examples/basics/Cargo.toml
··· 5 5 publish = false 6 6 7 7 [package.metadata.maudit] 8 - intended_version = "0.2.0" 8 + intended_version = "0.3.0" 9 9 10 10 [dependencies] 11 11 maudit = { workspace = true }
+1 -1
examples/blog/Cargo.toml
··· 5 5 publish = false 6 6 7 7 [package.metadata.maudit] 8 - intended_version = "0.2.0" 8 + intended_version = "0.3.0" 9 9 10 10 [dependencies] 11 11 maudit = { workspace = true }
+1 -1
examples/empty/Cargo.toml
··· 5 5 publish = false 6 6 7 7 [package.metadata.maudit] 8 - intended_version = "0.2.0" 8 + intended_version = "0.3.0" 9 9 10 10 [dependencies] 11 11 maudit = { workspace = true }
+1 -1
examples/kitchen-sink/Cargo.toml
··· 5 5 publish = false 6 6 7 7 [package.metadata.maudit] 8 - intended_version = "0.2.0" 8 + intended_version = "0.3.0" 9 9 10 10 [dependencies] 11 11 maudit = { workspace = true }
+1 -1
examples/markdown-components/Cargo.toml
··· 5 5 publish = false 6 6 7 7 [package.metadata.maudit] 8 - intended_version = "0.2.0" 8 + intended_version = "0.3.0" 9 9 10 10 [dependencies] 11 11 maudit = { workspace = true }
+1 -1
examples/markdown-components/content/showcase.md
··· 78 78 } 79 79 ``` 80 80 81 - In Maudit 0.3.0, code blocks do not unfortunately allow for custom components. 81 + In Maudit 0.3.0, code blocks do not unfortunately allow for custom components yet. 82 82 83 83 ## Tables 84 84
+2 -2
website/content/news/maudit01.md
··· 40 40 } 41 41 ``` 42 42 43 - That said, we hope to avoid as much boilerplate as possible, as such fancy macros are involved at times. But, we also want to ensure that the generated code is easy to understand. For instance, the `route` macro currently expand solely to the definition of a trait on the struct exposing the route entered. 43 + That said, we hope to avoid as much boilerplate as possible, as such fancy macros are involved at times. But, we're not much into magic either, so expanding those macros should still yield code that is easy to understand. 44 44 45 - Our goal is to strike a balance between convenience and clarity. It shouldn't feel like there's a lot of impossible to understand magic happening behind the scenes either. 45 + Our goal is to strike a balance between convenience and clarity. It shouldn't feel like there's a lot of impossible to understand weird code happening behind the scenes. 46 46 47 47 ## Reasonably fast 48 48