Skip to content

Commit d7b8529

Browse files
committed
Release v0.1.4 and add landing page to example
Bump workspace and internal crate versions to 0.1.4 for consistent publishing. Add a minimal GET / landing page to the proof-of-concept example. Update documentation and changelog to reflect the new version and features.
1 parent 4db3a86 commit d7b8529

5 files changed

Lines changed: 51 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.4] - 2026-01-03
11+
12+
### Added
13+
- `#[rustapi_rs::schema]` attribute macro for opt-in OpenAPI schema auto-registration
14+
15+
### Changed
16+
- Internal workspace dependency pins aligned to the workspace version for consistent publishing
17+
- Proof-of-concept example includes a minimal `GET /` landing page
18+
1019
## [0.1.3] - 2026-01-01
1120

1221
### Added
@@ -100,7 +109,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
100109
- `extras` meta-feature for common optional features
101110
- `full` feature for all optional features
102111

103-
[Unreleased]: https://github.com/Tuntii/RustAPI/compare/v0.1.2...HEAD
112+
[Unreleased]: https://github.com/Tuntii/RustAPI/compare/v0.1.4...HEAD
113+
[0.1.4]: https://github.com/Tuntii/RustAPI/compare/v0.1.3...v0.1.4
114+
[0.1.3]: https://github.com/Tuntii/RustAPI/compare/v0.1.2...v0.1.3
104115
[0.1.2]: https://github.com/Tuntii/RustAPI/compare/v0.1.1...v0.1.2
105116
[0.1.1]: https://github.com/Tuntii/RustAPI/compare/v0.1.0...v0.1.1
106117
[0.1.0]: https://github.com/Tuntii/RustAPI/releases/tag/v0.1.0

Cargo.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ members = [
1818
]
1919

2020
[workspace.package]
21-
version = "0.1.3"
21+
version = "0.1.4"
2222
edition = "2021"
2323
authors = ["RustAPI Contributors"]
2424
license = "MIT OR Apache-2.0"
@@ -83,9 +83,9 @@ toon-format = { version = "0.4", default-features = false }
8383
criterion = { version = "0.5", features = ["html_reports"] }
8484

8585
# Internal crates
86-
rustapi-core = { path = "crates/rustapi-core", version = "0.1.2", default-features = false }
87-
rustapi-macros = { path = "crates/rustapi-macros", version = "0.1.2" }
88-
rustapi-validate = { path = "crates/rustapi-validate", version = "0.1.2" }
89-
rustapi-openapi = { path = "crates/rustapi-openapi", version = "0.1.2", default-features = false }
90-
rustapi-extras = { path = "crates/rustapi-extras", version = "0.1.2" }
91-
rustapi-toon = { path = "crates/rustapi-toon", version = "0.1.2" }
86+
rustapi-core = { path = "crates/rustapi-core", version = "0.1.4", default-features = false }
87+
rustapi-macros = { path = "crates/rustapi-macros", version = "0.1.4" }
88+
rustapi-validate = { path = "crates/rustapi-validate", version = "0.1.4" }
89+
rustapi-openapi = { path = "crates/rustapi-openapi", version = "0.1.4", default-features = false }
90+
rustapi-extras = { path = "crates/rustapi-extras", version = "0.1.4" }
91+
rustapi-toon = { path = "crates/rustapi-toon", version = "0.1.4" }

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
4040

4141
```toml
4242
[dependencies]
43-
rustapi-rs = "0.1.3"
43+
rustapi-rs = "0.1.4"
4444
```
4545

4646
```rust
@@ -81,7 +81,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
8181
### Optional Features
8282

8383
```toml
84-
rustapi-rs = { version = "0.1.3", features = ["jwt", "cors", "toon"] }
84+
rustapi-rs = { version = "0.1.4", features = ["jwt", "cors", "toon"] }
8585
```
8686

8787
- `jwt` — JWT authentication

examples/proof-of-concept/src/handlers/mod.rs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,28 @@ use rustapi_rs::prelude::*;
99

1010
use crate::models::HealthResponse;
1111

12+
/// Frontend (very small landing page)
13+
#[rustapi_rs::get("/")]
14+
#[rustapi_rs::tag("System")]
15+
#[rustapi_rs::summary("Frontend")]
16+
async fn index() -> Html<&'static str> {
17+
Html(
18+
r#"<!doctype html>
19+
<html lang=\"en\">
20+
<head>
21+
<meta charset=\"utf-8\" />
22+
<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />
23+
<title>RustAPI Proof of Concept</title>
24+
</head>
25+
<body>
26+
<h1>RustAPI Proof of Concept</h1>
27+
<p>Swagger UI: <a href=\"/docs\">/docs</a></p>
28+
<p>Health: <a href=\"/health\">/health</a></p>
29+
</body>
30+
</html>"#,
31+
)
32+
}
33+
1234
/// Health check endpoint
1335
#[rustapi_rs::get("/health")]
1436
#[rustapi_rs::tag("System")]

0 commit comments

Comments
 (0)