diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index eae303e4a5..d4bea38e43 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -33,7 +33,7 @@ jobs: matrix: rust: - name: MSRV - toolchain: "1.70" + toolchain: "1.73" nightly: false - name: Stable toolchain: stable @@ -58,7 +58,12 @@ jobs: - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@nightly if: matrix.rust.name == 'MSRV' - - run: cargo -Z minimal-versions update + - name: cargo -Z minimal-versions update + run: | + set -x + cargo -Z minimal-versions update + cargo update --precise 1.3.0 lazy_static + cargo update tracing if: matrix.rust.name == 'MSRV' - uses: dtolnay/rust-toolchain@master with: diff --git a/Cargo.toml b/Cargo.toml index 41e51b0b2c..e0086f0e75 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ name = "gotham_restful" version = "0.8.5" authors = ["Dominic Meiser "] edition = "2021" -rust-version = "1.70.0" +rust-version = "1.73.0" description = "RESTful additions for the gotham web framework" keywords = ["gotham", "rest", "restful", "web", "http"] categories = ["web-programming", "web-programming::http-server"] @@ -31,7 +31,7 @@ thiserror = "1.0.2" base64 = { version = "0.22", optional = true } gotham_middleware_diesel = { version = "0.5.1", optional = true } gotham_restful_redoc = { version = "0.2.5", path = "./redoc", optional = true } -jsonwebtoken = { version = "8.0", default-features = false, optional = true } +jsonwebtoken = { version = "9.3", default-features = false, optional = true } lazy-regex = { version = "3.0", optional = true } openapi_type = { version = "0.4.3", optional = true } parking_lot = { version = "0.12", optional = true } diff --git a/README.j2 b/README.j2 index 7df9127153..5157e53ae0 100644 --- a/README.j2 +++ b/README.j2 @@ -9,8 +9,8 @@ rustdoc - - Rust 1.70+ + + Rust 1.73+ License: Apache-2.0 diff --git a/README.md b/README.md index 9710129ea3..835fbc0711 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,8 @@ rustdoc - - Rust 1.70+ + + Rust 1.73+ License: Apache-2.0 @@ -427,7 +427,7 @@ limitations under the License. ``` [contributors]: https://github.com/msrd0/gotham_restful/graphs/contributors - [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG1wMqlyBOZbVG8EorMHhPjhfG72VrtCGBBrLGwHK4FQ6TmUvYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOC41gmxvcGVuYXBpX3R5cGVlMC40LjOCanNlcmRlX2pzb25nMS4wLjExNw + [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG_c05bNSqfUVG2tdi6p1jFmpG4qq1UVcYL2XGy6DEJ4tSdgGYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOC41gmxvcGVuYXBpX3R5cGVlMC40LjOCanNlcmRlX2pzb25nMS4wLjExNw [__link0]: https://crates.io/crates/gotham/0.7.4 [__link1]: https://doc.rust-lang.org/stable/std/primitive.i64.html [__link10]: https://docs.rs/gotham/0.7.4/gotham/?search=state::State diff --git a/crates-io.j2 b/crates-io.j2 index 8e5ca9c3ba..d5356eebf0 100644 --- a/crates-io.j2 +++ b/crates-io.j2 @@ -1,4 +1,4 @@ -# gotham-restful [![Rust 1.70+](https://img.shields.io/badge/rustc-1.70+-orange.svg)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/gotham_restful) +# gotham-restful [![Rust 1.73+](https://img.shields.io/badge/rustc-1.73+-orange.svg)](https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/gotham_restful) {{readme}} diff --git a/crates-io.md b/crates-io.md index 4b3a6ff56c..5631a2d864 100644 --- a/crates-io.md +++ b/crates-io.md @@ -1,4 +1,4 @@ -# gotham-restful [![Rust 1.70+](https://img.shields.io/badge/rustc-1.70+-orange.svg)](https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/gotham_restful) +# gotham-restful [![Rust 1.73+](https://img.shields.io/badge/rustc-1.73+-orange.svg)](https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html) [![License Apache-2.0](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0) [![GitHub](https://img.shields.io/badge/Code-On%20Github-blue?logo=GitHub)](https://github.com/msrd0/gotham_restful) This crate is an extension to the popular [gotham web framework][__link0] for Rust. It allows you to create resources with assigned endpoints that aim to be a more convenient way of creating handlers @@ -395,7 +395,7 @@ limitations under the License. ``` [contributors]: https://github.com/msrd0/gotham_restful/graphs/contributors - [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG_4bTZNKJJQjG9mY7gyonDwiGzyLNfy_TTeTG4ZZiZJodNyaYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOC41gmxvcGVuYXBpX3R5cGVlMC40LjOCanNlcmRlX2pzb25nMS4wLjExNw + [__cargo_doc2readme_dependencies_info]: ggGkYW0BYXSEG6RlNYoaGGVNG14HXEhSOW3-GwDJMt780dDKG2uMqUakEThCYXKEG5SJ8EcO8pvsG6aAql37ujSmG2rGlxSAmKbZG4WCYbMMmkI6YWSEgmZnb3RoYW1lMC43LjSCbmdvdGhhbV9yZXN0ZnVsZTAuOC41gmxvcGVuYXBpX3R5cGVlMC40LjOCanNlcmRlX2pzb25nMS4wLjExNw [__link0]: https://crates.io/crates/gotham/0.7.4 [__link1]: https://doc.rust-lang.org/stable/std/primitive.i64.html [__link10]: https://docs.rs/gotham/0.7.4/gotham/?search=state::State