Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ schemars = { version = ">=0.8.9, <0.9", features = ["uuid1", "chrono"] }
tokio = { version = "1.36.0", features = ["macros"] }

[workspace.lints.clippy]
allow-attributes = "deny"
unused_async = "deny"
unwrap_used = "deny"

Expand Down
4 changes: 2 additions & 2 deletions crates/bws/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub(crate) const UUIDS_AS_KEYNAMES_VAR_NAME: &str = "BWS_UUIDS_AS_KEYNAMES";
pub(crate) const DEFAULT_CONFIG_FILENAME: &str = "config";
pub(crate) const DEFAULT_CONFIG_DIRECTORY: &str = ".config/bws";

#[allow(non_camel_case_types)]
#[expect(non_camel_case_types)]
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum, Debug)]
pub(crate) enum ProfileKey {
server_base,
Expand All @@ -25,7 +25,7 @@ pub(crate) enum ProfileKey {
}

#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum, Debug)]
#[allow(clippy::upper_case_acronyms)]
#[expect(clippy::upper_case_acronyms)]
pub(crate) enum Output {
JSON,
YAML,
Expand Down
1 change: 0 additions & 1 deletion crates/bws/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ async fn main() -> Result<()> {
process_commands().await
}

#[allow(clippy::comparison_chain)]
async fn process_commands() -> Result<()> {
let cli = Cli::parse();
let color = cli.color;
Expand Down
2 changes: 1 addition & 1 deletion crates/bws/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ pub(crate) fn uuid_to_posix(uuid: &Uuid) -> String {
format!("_{}", uuid.to_string().replace('-', "_"))
}

#[cfg(test)]
mod tests {
#[allow(unused_imports)]
use super::*;

#[test]
Expand Down
2 changes: 1 addition & 1 deletion crates/sdk-schemas/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ fn write_schema(schema: RootSchema, dir_path: String, type_name: String) -> Resu

use bitwarden_json::response::Response;

#[allow(dead_code)]
#[expect(dead_code)]
#[derive(JsonSchema)]
struct SchemaTypes {
// Input types for new Client
Expand Down
Loading