From 79d12f8125c931867336f9f152251d3474cb3b09 Mon Sep 17 00:00:00 2001 From: "Tosic.Killer" <56911974+retrokiller543@users.noreply.github.com> Date: Sat, 21 Sep 2024 19:35:10 +0200 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20update=20to=20SurrealDB=20?= =?UTF-8?q?stable=20version=20and=20adjust=20Rust=20toolchain=20(#91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * migrated to surrealdb version 2.0.1 stable * bumped version * bumped required rust version to 1.80.1 --------- Co-authored-by: Emil Schütt --- Cargo.lock | 16 +++++++--------- Cargo.toml | 4 ++-- rust-toolchain | 2 +- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 37be202..9b0e8cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3610,10 +3610,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] -name = "surrealdb-beta" +name = "surrealdb" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2276d69c8a53443469d196a9491801abe1ee30cd44b9802be33cbc6758d21973" +checksum = "54a327b352feacd0e724399dcb6a673acd6fb2a88e0dc9c3fed7758d97dceef1" dependencies = [ "arrayvec", "async-channel", @@ -3623,7 +3623,6 @@ dependencies = [ "futures", "geo", "indexmap 2.2.6", - "once_cell", "path-clean", "pharos", "reblessive", @@ -3637,7 +3636,7 @@ dependencies = [ "serde", "serde-content", "serde_json", - "surrealdb-core-beta", + "surrealdb-core", "thiserror", "tokio", "tokio-tungstenite", @@ -3652,10 +3651,10 @@ dependencies = [ ] [[package]] -name = "surrealdb-core-beta" +name = "surrealdb-core" version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d62a06ba0d009e892540fc7d10a356677b0492b884ec225fcc4e27c2182c7ce8" +checksum = "80433611bdf00df5ff59d52a708b60ac23598db3e3f9460cde625ea925c8f776" dependencies = [ "addr", "ahash 0.8.11", @@ -3694,7 +3693,6 @@ dependencies = [ "num-traits", "num_cpus", "object_store", - "once_cell", "pbkdf2", "pharos", "phf", @@ -3747,7 +3745,7 @@ dependencies = [ [[package]] name = "surrealdb-migrations" -version = "2.0.0-preview.3" +version = "2.0.0" dependencies = [ "assert_cmd", "assert_fs", @@ -3771,7 +3769,7 @@ dependencies = [ "serde_json", "serial_test", "sqlparser", - "surrealdb-beta", + "surrealdb", "tokio", "tokio-test", ] diff --git a/Cargo.toml b/Cargo.toml index 0c47ace..b178d0e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "surrealdb-migrations" -version = "2.0.0-preview.3" +version = "2.0.0" 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/" @@ -30,7 +30,7 @@ rust-ini = "0.21.1" serde = { version = "1.0.206", features = ["derive"] } serde_json = "1.0.124" sqlparser = "0.49.0" -surrealdb-beta = { version = "2.0.1", features = ["protocol-http", "jwks"] } +surrealdb = { version = "2.0.1", features = ["protocol-http", "jwks"] } tokio = { version = "1.39.2", features = ["macros"] } [dev-dependencies] diff --git a/rust-toolchain b/rust-toolchain index aaceec0..97e9852 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.80.0 +1.80.1