Skip to content

Commit

Permalink
s3s: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
Nugine committed Aug 26, 2023
1 parent 37d22aa commit 6d0200e
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 185 deletions.
2 changes: 1 addition & 1 deletion codegen/src/dto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ fn codegen_str_enum(ty: &rust::StrEnum, _rust_types: &RustTypes) {
{
for variant in &ty.variants {
codegen_doc(variant.doc.as_deref());
g!("pub const {}: &str = \"{}\";", variant.name, variant.value);
g!("pub const {}: &'static str = \"{}\";", variant.name, variant.value);
g!();
}

Expand Down
2 changes: 1 addition & 1 deletion crates/s3s-fs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ uuid = { version = "1.4.1", features = ["v4"] }

[dev-dependencies]
anyhow = { version = "1.0.73", features = ["backtrace"] }
aws-config = { version = "0.56.0", no-default-features = true }
aws-config = { version = "0.56.0", default-features = false }
aws-credential-types = { version = "0.56.0", features = ["test-util"] }
aws-sdk-s3 = "0.29.0"
once_cell = "1.18.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/s3s-proxy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
publish = false

[dependencies]
aws-config = { version = "0.56.0", no-default-features = true }
aws-config = { version = "0.56.0", default-features = false }
aws-credential-types = "0.56.0"
aws-sdk-s3 = "0.29.0"
clap = { version = "4.3.21", features = ["derive"] }
Expand Down
Loading

0 comments on commit 6d0200e

Please sign in to comment.