Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ scripts/redirect.html
# Backup files.
*.bak

# Roadmap notes (local planning, not tracked).
roadmap/

# Uploads in pastebin example.
examples/pastebin/upload/*
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## 1.2.0 - 2026-07-29

### Added

Expand All @@ -21,6 +21,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Documentation for capped uploads explaining expected behavior for HTTP/1.1
connections in the event of the upload byte limit being reached.

### Changed

- Upgrade dependencies: tokio-tungstenite 0.30


[PROXY protocol]: https://www.haproxy.org/download/2.9/doc/proxy-protocol.txt

## 1.1.0 - 2026-07-07
Expand Down
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ members = [
]

[workspace.package]
version = "1.1.0"
version = "1.2.0"
authors = ["Sergio Benitez <sb@sergio.bz>"]
license = "MIT OR Apache-2.0"
edition = "2021"
Expand All @@ -20,9 +20,9 @@ repository = "https://github.com/rustfoo/rkt"
readme = "README.md"

[workspace.dependencies]
rkt = { version = "1.1.0", path = "core/lib/", default-features = false }
rkt_http = { version = "1.1.0", path = "core/http/" }
rkt_codegen = { version = "1.1.0", path = "core/codegen/" }
rkt = { version = "1.2.0", path = "core/lib/", default-features = false }
rkt_http = { version = "1.2.0", path = "core/http/" }
rkt_codegen = { version = "1.2.0", path = "core/codegen/" }

[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nightly)'] }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Add `rkt` to your `Cargo.toml`:

```toml
[dependencies]
rkt = "1.1.0"
rkt = "1.2.0"
```

## Crates
Expand Down
2 changes: 1 addition & 1 deletion contrib/dyn_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and automatically reloads templates when compiled in debug mode. It supports [Ha

```toml
[dependencies.rkt_dyn_templates]
version = "1.1.0"
version = "1.2.0"
features = ["handlebars", "tera", "minijinja"]
```

Expand Down
2 changes: 1 addition & 1 deletion contrib/ws/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ default = ["tungstenite"]
tungstenite = ["tokio-tungstenite"]

[dependencies]
tokio-tungstenite = { version = "0.29", optional = true }
tokio-tungstenite = { version = "0.30", optional = true }

[dependencies.rkt]
workspace = true
Expand Down
2 changes: 1 addition & 1 deletion contrib/ws/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This crate provides WebSocket support for rkt via integration with rkt's

```toml
[dependencies]
ws = { package = "rkt_ws", version = "1.1.0" }
ws = { package = "rkt_ws", version = "1.2.0" }
```

2. Use it!
Expand Down
2 changes: 1 addition & 1 deletion core/codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//!
//! ```toml
//! [dependencies]
//! rkt = { version = "1.1.0" }
//! rkt = { version = "1.2.0" }
//! ```
//!
//! And to import all macros, attributes, and derives via `#[macro_use]` in the
Expand Down
6 changes: 3 additions & 3 deletions core/lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
//!
//! ```toml
//! [dependencies]
//! rkt = { package = version = "1.1.0" }
//! rkt = "1.2.0"
//! ```
//!
//! See the [guide](https://rkt.rs/guide) for more information on how
Expand Down Expand Up @@ -70,14 +70,14 @@
//!
//! ```toml
//! [dependencies]
//! rkt = { version = "1.1.0", features = ["secrets", "tls", "json"] }
//! rkt = { version = "1.2.0", features = ["secrets", "tls", "json"] }
//! ```
//!
//! Conversely, HTTP/2 can be disabled:
//!
//! ```toml
//! [dependencies]
//! rkt = { version = "1.1.0", default-features = false }
//! rkt = { version = "1.2.0", default-features = false }
//! ```
//!
//! [subscriber]: crate::trace::subscriber
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/listener/quic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
//! ```toml
//! // Add the following to your Cargo.toml:
//! [dependencies]
//! rkt = { version = "1.1.0", features = ["http3-preview"] }
//! rkt = { version = "1.2.0", features = ["http3-preview"] }
//!
//! // In your Rocket.toml or other equivalent config source:
//! [default.tls]
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/serde/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! ```toml
//! [dependencies.rkt]
//! version = "1.1.0"
//! version = "1.2.0"
//! features = ["json"]
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/serde/msgpack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! ```toml
//! [dependencies.rkt]
//! version = "1.1.0"
//! version = "1.2.0"
//! features = ["msgpack"]
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion core/lib/src/serde/uuid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
//!
//! ```toml
//! [dependencies.rkt]
//! version = "1.1.0"
//! version = "1.2.0"
//! features = ["uuid"]
//! ```
//!
Expand Down
2 changes: 1 addition & 1 deletion release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# core/lib/Cargo.toml so they run exactly once (cargo-release otherwise applies
# workspace-level replacements once per crate, resolving paths per-crate).
#
# Release a new version with, e.g.: cargo release 1.0.2 --execute
# Release a new version with, e.g.: cargo release 1.0.2 --execute --no-publish
# (omit --execute for a dry run).

# Bump every crate in the workspace together.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/02-getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Now, add rkt as a dependency in your `Cargo.toml`:

```toml
[dependencies]
rkt = "1.1.0"
rkt = "1.2.0"
```

Modify `src/main.rs` so that it contains the code for the rkt `Hello, world!`
Expand Down
4 changes: 2 additions & 2 deletions website/docs/04-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ feature:

```toml
## in Cargo.toml
rkt = { version = "1.1.0", features = ["secrets"] }
rkt = { version = "1.2.0", features = ["secrets"] }
```

The API for retrieving, adding, and removing private cookies is identical except
Expand Down Expand Up @@ -847,7 +847,7 @@ docs](https://docs.rs/rkt/latest/rkt/#features) for a list of available features
feature can be enabled in the `Cargo.toml`:

```toml
rkt = { version = "1.1.0", features = ["json"] }
rkt = { version = "1.2.0", features = ["json"] }
```
:::

Expand Down
4 changes: 2 additions & 2 deletions website/docs/10-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ Security). To enable TLS support:

```toml,ignore
[dependencies]
rkt = { version = "1.1.0", features = ["tls"] }
rkt = { version = "1.2.0", features = ["tls"] }
```

2. Configure a TLS certificate chain and private key via the `tls.key` and
Expand Down Expand Up @@ -335,7 +335,7 @@ enabled and support configured via the `tls.mutual` config parameter:

```toml,ignore
[dependencies]
rkt = { version = "1.1.0", features = ["mtls"] }
rkt = { version = "1.2.0", features = ["mtls"] }
```

This implicitly enables the `tls` feature.
Expand Down
2 changes: 1 addition & 1 deletion website/docs/12-pastebin.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Then add the usual rkt dependencies to the `Cargo.toml` file:

```toml
[dependencies]
rkt = "1.1.0"
rkt = "1.2.0"
```

And finally, create a skeleton rkt application to work off of in
Expand Down
2 changes: 1 addition & 1 deletion website/docs/14-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ is to depend on a `contrib` library from git while also depending on a
`crates.io` version of Rocket or vice-versa:

```toml
rkt = { version = "1.1.0" }
rkt = { version = "1.2.0" }
rkt_dyn_templates = { git = "https://github.com/rustfoo/rkt.git" }
```

Expand Down
2 changes: 1 addition & 1 deletion website/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ sidebar_position: 1

Welcome to rkt!

This is the official guide for rkt v1.1.0. It is designed to serve as a
This is the official guide for rkt v1.2.0. It is designed to serve as a
starting point to writing web applications with rkt and Rust.

The guide is also designed to be a reference for experienced Rocket developers.
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function QuickStart() {
</Link>
</div>
<div className={styles.quickStartCode}>
<CodeBlock language="toml" title="Cargo.toml">{`[dependencies]\nrkt = "1.1.0"`}</CodeBlock>
<CodeBlock language="toml" title="Cargo.toml">{`[dependencies]\nrkt = "1.2.0"`}</CodeBlock>
<CodeBlock language="rust" title="src/main.rs">{TYPED_EXAMPLE}</CodeBlock>
</div>
</div>
Expand Down
Loading