Skip to content

Commit

Permalink
🔖 release v0.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed May 31, 2023
1 parent 6c0a57c commit 4161ccf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 30 deletions.
37 changes: 11 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "surrealdb-migrations"
version = "0.9.6"
version = "0.9.7"
description = "An awesome SurrealDB migration tool, with a user-friendly CLI and a versatile Rust library that enables seamless integration into any project."
authors = ["David Bottiau"]
repository = "https://github.com/Odonno/surrealdb-migrations/"
Expand Down Expand Up @@ -31,7 +31,7 @@ serde_json = "1.0.96"
serde = { version = "1.0.163", features = ["derive"] }
tokio = { version = "1.28.1", features = ["macros"] }
sqlparser = "0.34.0"
surrealdb = { git = "https://github.com/surrealdb/surrealdb.git", branch = "main", features = ["protocol-http"] }
surrealdb = { version = "1.0.0-beta.9", features = ["protocol-http"] }

[dev-dependencies]
assert_cmd = "2.0.11"
Expand Down
4 changes: 2 additions & 2 deletions tests/helpers/surrealdb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async fn get_surrealdb_table_definitions(
Ok(table_definitions)
}

pub async fn get_surrealdb_records<T: for<'de> serde::de::Deserialize<'de>>(
pub async fn get_surrealdb_records<T: for<'de> serde::de::Deserialize<'de> + Send + Sync>(
ns: String,
db: String,
table: String,
Expand All @@ -155,7 +155,7 @@ pub async fn get_surrealdb_records<T: for<'de> serde::de::Deserialize<'de>>(
Ok(records)
}

pub async fn get_surrealdb_record<T: for<'de> serde::de::Deserialize<'de>>(
pub async fn get_surrealdb_record<T: for<'de> serde::de::Deserialize<'de> + Send + Sync>(
ns: String,
db: String,
table: String,
Expand Down

0 comments on commit 4161ccf

Please sign in to comment.