Specify rust 1.81 (#5754)

* Specify Rust version 1.81

* fix ci
This commit is contained in:
Nutomic 2025-06-06 23:04:30 +00:00 committed by GitHub
parent 7458a9728d
commit eef8821b42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
38 changed files with 41 additions and 1 deletions

2
.cargo/config.toml Normal file
View File

@ -0,0 +1,2 @@
[resolver]
incompatible-rust-versions = "fallback"

View File

@ -75,7 +75,7 @@ steps:
# store cargo data in repo folder so that it gets cached between steps
CARGO_HOME: .cargo_home
commands:
- rustup component add rustfmt
- rustup component add rustfmt --toolchain nightly
- cargo +nightly fmt -- --check
when:
- event: pull_request

View File

@ -6,6 +6,7 @@ license = "AGPL-3.0"
homepage = "https://join-lemmy.org/"
documentation = "https://join-lemmy.org/docs/en/index.html"
repository = "https://github.com/LemmyNet/lemmy"
rust-version = "1.81"
[package]
name = "lemmy_server"
@ -16,6 +17,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
publish = false
[lib]

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_api"

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_api_common"

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lints]
workspace = true

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_apub"

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_apub_objects"

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lints]

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_db_schema"

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_db_schema_file"

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_email"

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
doctest = false

View File

@ -7,6 +7,7 @@ license.workspace = true
homepage.workspace = true
documentation.workspace = true
repository.workspace = true
rust-version.workspace = true
[lib]
name = "lemmy_utils"

2
rust-toolchain.toml Normal file
View File

@ -0,0 +1,2 @@
[toolchain]
channel = "1.81"