Skip to content

Commit

Permalink
chore(deps): cargo upgrade & cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavale committed Mar 24, 2024
1 parent 53a56db commit e2f5587
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions concatsql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ postgres = ["postgres-sys"]

[dependencies]
indexmap = "2.2.6"
lazy_static = "1.4"
uuid = "1.8"
chrono = "0.4"
lazy_static = "1.4.0"
uuid = "1.8.0"
chrono = "0.4.35"
concatsql_macro = { version = "0.1.0", path = "../concatsql_macro" }

[dependencies.sqlite3-sys]
version = "0.16"
version = "0.16.0"
default-features = false
optional = true

[dependencies.mysql-sys]
package = "mysql"
version = "20.1"
version = "20.1.0"
optional = true

[dependencies.postgres-sys]
Expand All @@ -44,8 +44,8 @@ optional = true
features = ["with-uuid-1"]

[dev-dependencies]
temporary = "0.7"
uuid = { version = "1.8", features = ["v4"] }
temporary = "0.7.0"
uuid = { version = "1.8.0", features = ["v4"] }

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion concatsql/src/wrapstring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl<'a> WrapString<'a> {
if let Some(part) = part {
new_part.push_str(part);
} else {
new_query.push(Some(Cow::Owned(new_part.drain(..).collect())));
new_query.push(Some(Cow::Owned(std::mem::take(&mut new_part))));
new_query.push(None);
}
}
Expand Down
2 changes: 1 addition & 1 deletion concatsql_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ impl FormatParser {
} else {
return Err("parse error");
};
if input != "" {
if !input.is_empty() {
return Err("invalid format");
}
let mut lits = vec![];
Expand Down

0 comments on commit e2f5587

Please sign in to comment.