From 1de0aaa4d59e55651f8291d5bbb24cc8d619e024 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Fri, 20 Sep 2024 15:36:46 -0400 Subject: [PATCH] libsql: prepare v0.6.0 release --- Cargo.lock | 12 ++++++------ Cargo.toml | 2 +- libsql-ffi/Cargo.toml | 2 +- libsql-replication/Cargo.toml | 6 +++--- libsql-sys/Cargo.toml | 4 ++-- libsql-wal/Cargo.toml | 5 ++--- libsql/Cargo.toml | 6 +++--- vendored/rusqlite/Cargo.toml | 4 ++-- 8 files changed, 20 insertions(+), 21 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f21f7147bd..3ba27b30d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3053,7 +3053,7 @@ dependencies = [ [[package]] name = "libsql" -version = "0.5.2" +version = "0.6.0" dependencies = [ "anyhow", "async-stream", @@ -3111,7 +3111,7 @@ dependencies = [ [[package]] name = "libsql-ffi" -version = "0.4.1" +version = "0.5.0" dependencies = [ "bindgen 0.66.1", "cc", @@ -3131,7 +3131,7 @@ dependencies = [ [[package]] name = "libsql-rusqlite" -version = "0.32.0" +version = "0.33.0" dependencies = [ "bencher", "bitflags 2.6.0", @@ -3314,7 +3314,7 @@ dependencies = [ [[package]] name = "libsql-sys" -version = "0.7.0" +version = "0.8.0" dependencies = [ "bytes", "libsql-ffi", @@ -3326,7 +3326,7 @@ dependencies = [ [[package]] name = "libsql-wal" -version = "0.1.0" +version = "0.1.0-alpha.1" dependencies = [ "anyhow", "arc-swap", @@ -3399,7 +3399,7 @@ dependencies = [ [[package]] name = "libsql_replication" -version = "0.5.0" +version = "0.6.0" dependencies = [ "aes", "arbitrary", diff --git a/Cargo.toml b/Cargo.toml index 94c851721f..1646ff22ba 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,7 @@ codegen-units = 1 panic = "unwind" [workspace.dependencies] -rusqlite = { package = "libsql-rusqlite", path = "vendored/rusqlite", version = "0.32", default-features = false, features = [ +rusqlite = { package = "libsql-rusqlite", path = "vendored/rusqlite", version = "0.33", default-features = false, features = [ "libsql-experimental", "column_decltype", "load_extension", diff --git a/libsql-ffi/Cargo.toml b/libsql-ffi/Cargo.toml index cd99d53061..099bfed400 100644 --- a/libsql-ffi/Cargo.toml +++ b/libsql-ffi/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libsql-ffi" -version = "0.4.1" +version = "0.5.0" edition = "2021" build = "build.rs" license = "MIT" diff --git a/libsql-replication/Cargo.toml b/libsql-replication/Cargo.toml index 068e23a652..e77929982c 100644 --- a/libsql-replication/Cargo.toml +++ b/libsql-replication/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libsql_replication" -version = "0.5.0" +version = "0.6.0" edition = "2021" description = "libSQL replication protocol" repository = "https://github.com/tursodatabase/libsql" @@ -11,8 +11,8 @@ license = "MIT" [dependencies] tonic = { version = "0.11", features = ["tls"] } prost = "0.12" -libsql-sys = { version = "0.7", path = "../libsql-sys", default-features = false, features = ["wal", "rusqlite", "api"] } -libsql-wal = { path = "../libsql-wal/", optional = true } +libsql-sys = { version = "0.8", path = "../libsql-sys", default-features = false, features = ["wal", "rusqlite", "api"] } +libsql-wal = { version = "0.1.0-alpha.1", path = "../libsql-wal/", optional = true } rusqlite = { workspace = true } parking_lot = "0.12.1" bytes = { version = "1.5.0", features = ["serde"] } diff --git a/libsql-sys/Cargo.toml b/libsql-sys/Cargo.toml index 8351012d9f..10b7b54075 100644 --- a/libsql-sys/Cargo.toml +++ b/libsql-sys/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libsql-sys" -version = "0.7.0" +version = "0.8.0" edition = "2021" license = "MIT" description = "Native bindings to libSQL" @@ -12,7 +12,7 @@ categories = ["external-ffi-bindings"] [dependencies] bytes = "1.5.0" -libsql-ffi = { version = "0.4", path = "../libsql-ffi/" } +libsql-ffi = { version = "0.5", path = "../libsql-ffi/" } once_cell = "1.18.0" rusqlite = { workspace = true, features = ["trace"], optional = true } tracing = "0.1.37" diff --git a/libsql-wal/Cargo.toml b/libsql-wal/Cargo.toml index ca32f34f32..311d137c8b 100644 --- a/libsql-wal/Cargo.toml +++ b/libsql-wal/Cargo.toml @@ -1,8 +1,7 @@ [package] name = "libsql-wal" -version = "0.1.0" +version = "0.1.0-alpha.1" edition = "2021" -publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html @@ -18,7 +17,7 @@ crossbeam = "0.8.4" crossbeam-skiplist = "0.1.3" fst = "0.4.7" hashbrown = "0.14.3" -libsql-sys = { path = "../libsql-sys", features = ["rusqlite"] } +libsql-sys = { version = "0.8", path = "../libsql-sys", features = ["rusqlite"] } nix = { version = "0.28.0", features = ["uio", "fs"] } parking_lot = { version = "0.12.3", features = ["arc_lock"] } priority-queue = "2.0.2" diff --git a/libsql/Cargo.toml b/libsql/Cargo.toml index 161eb15577..b01555d8d0 100644 --- a/libsql/Cargo.toml +++ b/libsql/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libsql" -version = "0.5.2" +version = "0.6.0" edition = "2021" description = "libSQL library: the main gateway for interacting with the database" repository = "https://github.com/tursodatabase/libsql" @@ -11,7 +11,7 @@ tracing = { version = "0.1.37", default-features = false } thiserror = "1.0.40" futures = { version = "0.3.28", optional = true } -libsql-sys = { version = "0.7", path = "../libsql-sys", optional = true } +libsql-sys = { version = "0.8", path = "../libsql-sys", optional = true } libsql-hrana = { version = "0.2", path = "../libsql-hrana", optional = true } tokio = { version = "1.29.1", features = ["sync"], optional = true } tokio-util = { version = "0.7", features = ["io-util", "codec"], optional = true } @@ -40,7 +40,7 @@ zerocopy = { version = "0.7.28", optional = true } sqlite3-parser = { package = "libsql-sqlite3-parser", path = "../vendored/sqlite3-parser", version = "0.13", optional = true } fallible-iterator = { version = "0.3", optional = true } -libsql_replication = { version = "0.5", path = "../libsql-replication", optional = true } +libsql_replication = { version = "0.6", path = "../libsql-replication", optional = true } async-stream = { version = "0.3.5", optional = true } [dev-dependencies] diff --git a/vendored/rusqlite/Cargo.toml b/vendored/rusqlite/Cargo.toml index d9fbcc525e..97a6da652e 100644 --- a/vendored/rusqlite/Cargo.toml +++ b/vendored/rusqlite/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "libsql-rusqlite" # Note: Update version in README.md when you change this. -version = "0.32.0" +version = "0.33.0" authors = ["The rusqlite developers"] edition = "2018" description = "Ergonomic wrapper for SQLite (libsql fork)" @@ -109,7 +109,7 @@ fallible-iterator = "0.2" fallible-streaming-iterator = "0.1" uuid = { version = "1.0", optional = true } smallvec = "1.6.1" -libsql-ffi = { version = "0.4", path = "../../libsql-ffi" } +libsql-ffi = { version = "0.5", path = "../../libsql-ffi" } [dev-dependencies] doc-comment = "0.3"