Skip to content

Commit

Permalink
🔖 release v0.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Odonno committed Jun 6, 2023
1 parent 40966de commit 9017880
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 32 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
archive: tar.gz tar.xz tar.zst
- target: x86_64-apple-darwin
archive: zip
- target: wasm32-wasi
archive: zip

steps:
- name: Checkout repository
Expand Down
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.9"
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 @@ -160,7 +160,7 @@ pub async fn is_surreal_table_empty(ns_db: Option<(&str, &str)>, table: &str) ->
Ok(records.is_empty())
}

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 @@ -175,7 +175,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 9017880

Please sign in to comment.