Skip to content

Commit

Permalink
chore(deps): WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
kumavale committed Mar 24, 2024
1 parent f5fa442 commit 53a56db
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions concatsql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,31 +21,31 @@ postgres = ["postgres-sys"]


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

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

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

[dependencies.postgres-sys]
package = "postgres"
version = "0.18"
version = "0.19.7"
optional = true
features = ["with-uuid-0_8"]
features = ["with-uuid-1"]

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

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion concatsql/src/postgres/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl GetToString for postgres::row::Row {
} else if let Ok(value) = self.try_get::<usize, Vec<u8>>(index) {
Some(crate::parser::to_hex(&value))
} else if let Ok(value) = self.try_get::<usize, Uuid>(index) {
Some(value.to_simple_ref().to_string())
Some(value.simple().to_string())
} else if let Ok(value) = self.try_get::<usize, SystemTime>(index) {
Some(value.to_string())
} else {
Expand Down
4 changes: 2 additions & 2 deletions concatsql/src/wrapstring.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ impl<'a> Add<Uuid> for WrapString<'a> {
#[inline]
fn add(mut self, other: Uuid) -> WrapString<'a> {
self.query .push(None);
self.params.push(Value::Text(Cow::Owned(format!("{:X}", other.to_simple()))));
self.params.push(Value::Text(Cow::Owned(format!("{:X}", other.simple()))));
self
}
}
Expand All @@ -332,7 +332,7 @@ impl<'a> Add<&Uuid> for WrapString<'a> {
#[inline]
fn add(mut self, other: &Uuid) -> WrapString<'a> {
self.query .push(None);
self.params.push(Value::Text(Cow::Owned(format!("{:X}", other.to_simple_ref()))));
self.params.push(Value::Text(Cow::Owned(format!("{:X}", other.simple()))));
self
}
}
Expand Down
2 changes: 1 addition & 1 deletion concatsql_macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ proc-macro = true
[dependencies]
proc-macro2 = "1.0"
proc-macro-error = "1.0"
syn = { version = "1.0", features = ["full", "extra-traits"] }
syn = { version = "2.0", features = ["full", "extra-traits"] }
quote = "1.0"
nom = "7"

Expand Down

0 comments on commit 53a56db

Please sign in to comment.