Skip to content

cipher: use workspace level clippy config#2279

Merged
tarcieri merged 1 commit intomasterfrom
cipher/use-workspace-level-clippy-config
Feb 4, 2026
Merged

cipher: use workspace level clippy config#2279
tarcieri merged 1 commit intomasterfrom
cipher/use-workspace-level-clippy-config

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Feb 4, 2026

Enables the workspace-level config added in #2270 and fixes violations

Enables the workspace-level config added in #2270 and fixes violations
@tarcieri tarcieri merged commit 8e54074 into master Feb 4, 2026
11 checks passed
@tarcieri tarcieri deleted the cipher/use-workspace-level-clippy-config branch February 4, 2026 17:42
tarcieri added a commit to RustCrypto/stream-ciphers that referenced this pull request Feb 5, 2026
Uses the same clippy config as was added to the `cipher` crate in
RustCrypto/traits#2279

Since `chacha20` defines `lints.rust.unexpected_cfgs` we have to define
this at the crate-level rather than the workspace level, since if you
use the latter it must hold all of the lint config.

Fixes some violations, adds TODO and "needs triage" `allow()`s for
others.
tarcieri added a commit to RustCrypto/stream-ciphers that referenced this pull request Feb 5, 2026
Uses the same clippy config as was added to the `cipher` crate in
RustCrypto/traits#2279

Since `chacha20` defines `lints.rust.unexpected_cfgs` we have to define
this at the crate-level rather than the workspace level, since if you
use the latter it must hold all of the lint config.

Fixes some violations, adds TODO and "needs triage" `allow()`s for
others.
tarcieri added a commit to RustCrypto/stream-ciphers that referenced this pull request Feb 5, 2026
Uses the same clippy config as was added to the `cipher` crate in
RustCrypto/traits#2279

Since `chacha20` defines `lints.rust.unexpected_cfgs` we have to define
this at the crate-level rather than the workspace level, since if you
use the latter it must hold all of the lint config.

Fixes some violations, adds TODO and "needs triage" `allow()`s for
others.
tarcieri added a commit to RustCrypto/stream-ciphers that referenced this pull request Feb 5, 2026
Uses the same clippy config as was added to the `cipher` crate in
RustCrypto/traits#2279

Since `chacha20` defines `lints.rust.unexpected_cfgs` we have to define
this at the crate-level rather than the workspace level, since if you
use the latter it must hold all of the lint config.

Fixes some violations, adds TODO and "needs triage" `allow()`s for
others.
tarcieri added a commit to RustCrypto/stream-ciphers that referenced this pull request Feb 5, 2026
Uses the same clippy config as was added to the `cipher` crate in
RustCrypto/traits#2279

Since `chacha20` defines `lints.rust.unexpected_cfgs` we have to define
this at the crate-level rather than the workspace level, since if you
use the latter it must hold all of the lint config.

Fixes some violations, adds TODO and "needs triage" `allow()`s for
others.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant