Skip to content

Commit

Permalink
Bump rust-version and add lints
Browse files Browse the repository at this point in the history
  • Loading branch information
udoprog committed Sep 12, 2024
1 parent ffb683e commit 887dd70
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: ['1.65', stable]
rust: ['1.70', stable]
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
Expand Down
2 changes: 1 addition & 1 deletion audio-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio-core"
version = "0.2.0"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "The core audio traits"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion audio-device-alsa-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio-device-alsa-sys"
version = "0.1.0-alpha.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "audio-device system bindings for ALSA"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion audio-device-pipewire-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio-device-pipewire-sys"
version = "0.1.0-alpha.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "audio-device system bindings for PipeWire"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion audio-device-pulse-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio-device-pulse-sys"
version = "0.1.0-alpha.1"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "audio-device system bindings for PulseAudio"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion audio-device/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio-device"
version = "0.1.0-alpha.6"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "A library for interacting with audio devices"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion audio-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio-generator"
version = "0.1.0-alpha.2"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "Audio generator APIs"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion audio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "audio"
version = "0.2.0"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "A crate for working with audio in Rust"
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand Down
5 changes: 4 additions & 1 deletion ste/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "ste"
version = "0.1.0-alpha.11"
authors = ["John-John Tedro <[email protected]>"]
edition = "2018"
rust-version = "1.65"
rust-version = "1.70"
description = "A single-threaded executor with some tricks up its sleeve."
documentation = "https://docs.rs/audio"
readme = "README.md"
Expand All @@ -13,6 +13,9 @@ license = "MIT OR Apache-2.0"
keywords = ["executor", "thread"]
categories = ["concurrency"]

[lints.rust]
unexpected_cfgs = { level = "deny", check-cfg = ['cfg(loom)'] }

[features]
default = ["tokio"]

Expand Down

0 comments on commit 887dd70

Please sign in to comment.