1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-02-22 20:52:27 +00:00

bump MSRV to 1.49+

not sure why but all older rust versions fail generic type resolution
This commit is contained in:
Dominic 2021-02-04 00:12:17 +01:00
parent 8b73701405
commit 1bd398c7ee
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 9 additions and 9 deletions

View file

@ -10,20 +10,20 @@ variables:
test-default: test-default:
stage: test stage: test
image: rust:1.43-slim image: rust:1.49-slim
before_script: before_script:
- cargo -V - cargo -V
script: script:
- cargo test - cargo test
cache: cache:
key: cargo-1-43-default key: cargo-1-49-default
paths: paths:
- cargo/ - cargo/
- target/ - target/
test-full: test-full:
stage: test stage: test
image: rust:1.43-slim image: rust:1.49-slim
before_script: before_script:
- apt update -y - apt update -y
- apt install -y --no-install-recommends libpq-dev - apt install -y --no-install-recommends libpq-dev
@ -31,7 +31,7 @@ test-full:
script: script:
- cargo test --no-default-features --features full - cargo test --no-default-features --features full
cache: cache:
key: cargo-1-43-all key: cargo-1-49-all
paths: paths:
- cargo/ - cargo/
- target/ - target/
@ -67,7 +67,7 @@ test-trybuild-ui:
script: script:
- cargo test --no-default-features --features full --tests -- --ignored - cargo test --no-default-features --features full --tests -- --ignored
cache: cache:
key: cargo-1-48-all key: cargo-1-49-all
paths: paths:
- cargo/ - cargo/
- target/ - target/

View file

@ -17,8 +17,8 @@
<a href="https://msrd0.gitlab.io/gotham-restful/gotham_restful/index.html"> <a href="https://msrd0.gitlab.io/gotham-restful/gotham_restful/index.html">
<img alt="rustdoc" src="https://img.shields.io/badge/docs-master-blue.svg"/> <img alt="rustdoc" src="https://img.shields.io/badge/docs-master-blue.svg"/>
</a> </a>
<a href="https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html"> <a href="https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html">
<img alt="Minimum Rust Version" src="https://img.shields.io/badge/rustc-1.43+-orange.svg"/> <img alt="Minimum Rust Version" src="https://img.shields.io/badge/rustc-1.49+-orange.svg"/>
</a> </a>
<a href="https://deps.rs/repo/gitlab/msrd0/gotham-restful"> <a href="https://deps.rs/repo/gitlab/msrd0/gotham-restful">
<img alt="dependencies" src="https://deps.rs/repo/gitlab/msrd0/gotham-restful/status.svg"/> <img alt="dependencies" src="https://deps.rs/repo/gitlab/msrd0/gotham-restful/status.svg"/>

View file

@ -17,8 +17,8 @@
<a href="https://msrd0.gitlab.io/gotham-restful/gotham_restful/index.html"> <a href="https://msrd0.gitlab.io/gotham-restful/gotham_restful/index.html">
<img alt="rustdoc" src="https://img.shields.io/badge/docs-master-blue.svg"/> <img alt="rustdoc" src="https://img.shields.io/badge/docs-master-blue.svg"/>
</a> </a>
<a href="https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html"> <a href="https://blog.rust-lang.org/2020/12/31/Rust-1.49.0.html">
<img alt="Minimum Rust Version" src="https://img.shields.io/badge/rustc-1.43+-orange.svg"/> <img alt="Minimum Rust Version" src="https://img.shields.io/badge/rustc-1.49+-orange.svg"/>
</a> </a>
<a href="https://deps.rs/repo/gitlab/msrd0/gotham-restful"> <a href="https://deps.rs/repo/gitlab/msrd0/gotham-restful">
<img alt="dependencies" src="https://deps.rs/repo/gitlab/msrd0/gotham-restful/status.svg"/> <img alt="dependencies" src="https://deps.rs/repo/gitlab/msrd0/gotham-restful/status.svg"/>