Skip to content

Commit

Permalink
increase rust minimal version
Browse files Browse the repository at this point in the history
  • Loading branch information
Elrendio committed Nov 7, 2022
1 parent 59acb7d commit ad8c0b6
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 15 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,11 +423,11 @@ jobs:
run: cargo +nightly -Z build-std test --manifest-path diesel/Cargo.toml --no-default-features --features "sqlite extras libsqlite3-sys libsqlite3-sys/bundled libsqlite3-sys/with-asan" --target x86_64-unknown-linux-gnu

minimal_rust_version:
name: Check Minimal supported rust version (1.60.0)
name: Check Minimal supported rust version (1.65.0)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@1.60.0
- uses: dtolnay/rust-toolchain@1.65.0
- uses: dtolnay/rust-toolchain@nightly
- uses: taiki-e/install-action@cargo-hack
- uses: taiki-e/install-action@cargo-minimal-versions
Expand All @@ -443,12 +443,12 @@ jobs:
sudo apt-get update
sudo apt-get -y install libsqlite3-dev libpq-dev libmysqlclient-dev
- name: Check diesel_derives
run: cargo +1.60.0 minimal-versions check -p diesel_derives --all-features
run: cargo +1.65.0 minimal-versions check -p diesel_derives --all-features
- name: Check diesel
run: cargo +1.60.0 minimal-versions check -p diesel --features "postgres mysql sqlite extras"
run: cargo +1.65.0 minimal-versions check -p diesel --features "postgres mysql sqlite extras"
- name: Check diesel_dynamic_schema
run: cargo +1.60.0 minimal-versions check -p diesel-dynamic-schema --all-features
run: cargo +1.65.0 minimal-versions check -p diesel-dynamic-schema --all-features
- name: Check diesel_migrations
run: cargo +1.60.0 minimal-versions check -p diesel_migrations --all-features
run: cargo +1.65.0 minimal-versions check -p diesel_migrations --all-features
- name: Check diesel_cli
run: cargo +1.60.0 minimal-versions check -p diesel_cli --all-features
run: cargo +1.65.0 minimal-versions check -p diesel_cli --all-features
2 changes: 1 addition & 1 deletion diesel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/diesel-rs/diesel"
keywords = ["orm", "database", "sql"]
categories = ["database"]
edition = "2018"
rust-version = "1.60.0"
rust-version = "1.65.0"

[dependencies]
byteorder = { version = "1.0", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion diesel_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ keywords = ["diesel", "migrations", "cli"]
autotests = false
edition = "2018"
include = ["src/**/*", "LICENSE-*", "README.md"]
rust-version = "1.60.0"
rust-version = "1.65.0"

[[bin]]
name = "diesel"
Expand Down
2 changes: 1 addition & 1 deletion diesel_derives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ homepage = "https://diesel.rs"
repository = "https://github.com/diesel-rs/diesel/tree/master/diesel_derives"
autotests = false
include = ["src/**/*", "LICENSE-*"]
rust-version = "1.60.0"
rust-version = "1.65.0"

[dependencies]
syn = { version = "1.0.73", features = ["derive", "fold", "full"] }
Expand Down
2 changes: 1 addition & 1 deletion diesel_dynamic_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository = "https://github.com/diesel-rs/diesel"
keywords = ["orm", "database", "sql"]
categories = ["database"]
include = ["src/**/*", "LICENSE-*", "README.md"]
rust-version = "1.60.0"
rust-version = "1.65.0"

[dependencies.diesel]
version = "~2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion diesel_migrations/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Migration management for diesel"
documentation = "https://docs.rs/crate/diesel_migrations"
homepage = "https://diesel.rs"
edition = "2018"
rust-version = "1.60.0"
rust-version = "1.65.0"

[dependencies.migrations_internals]
version = "~2.0.0"
Expand Down
3 changes: 1 addition & 2 deletions diesel_migrations/migrations_internals/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ version = "2.0.0"
license = "MIT OR Apache-2.0"
description = "Internal implementation of diesels migration mechanism"
homepage = "https://diesel.rs"
rust-version = "1.60.0"
rust-version = "1.65.0"

[dependencies]
serde = {version = "1", features = ["derive"]}
toml = "0.5"

2 changes: 1 addition & 1 deletion diesel_migrations/migrations_macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = "MIT OR Apache-2.0"
description = "Codegeneration macros for diesels embedded migrations"
homepage = "https://diesel.rs"
edition = "2018"
rust-version = "1.60.0"
rust-version = "1.65.0"

[dependencies]
quote = "1"
Expand Down

0 comments on commit ad8c0b6

Please sign in to comment.