Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Cargo.lock

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

28 changes: 18 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
[workspace]
resolver = "2"
members = [
"libsql",
"bindings/c",
"bindings/wasm",
"libsql-sys",
"libsql-server",
"bottomless",
"bottomless-cli",
"libsql-replication",
"libsql",
"libsql-ffi",
"libsql-hrana",

"libsql-replication",
"libsql-server",
"libsql-sys",
"vendored/rusqlite",
"vendored/sqlite3-parser",

"xtask", "libsql-hrana",
"xtask",
]

exclude = [
Expand All @@ -26,11 +24,17 @@ exclude = [
"tools/fuzz",
]

[profile.release]
codegen-units = 1
panic = "unwind"
[workspace.package]
version = "0.9.0"
authors = ["the libSQL authors"]
edition = "2021"
license = "MIT"
repository = "https://github.com/tursodatabase/libsql"

[workspace.dependencies]
libsql-sys = { path = "libsql-sys", version = "0.9.0", default-features = false }
libsql-hrana = { path = "libsql-hrana", version = "0.9.0" }
libsql_replication = { path = "libsql-replication", version = "0.9.0" }
rusqlite = { package = "libsql-rusqlite", path = "vendored/rusqlite", version = "0.33", default-features = false, features = [
"libsql-experimental",
"column_decltype",
Expand All @@ -44,6 +48,10 @@ hyper = { version = "0.14" }
tower = { version = "0.4.13" }
zerocopy = { version = "0.7.32", features = ["derive", "alloc"] }

[profile.release]
codegen-units = 1
panic = "unwind"

# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
Expand Down
10 changes: 6 additions & 4 deletions libsql-hrana/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[package]
name = "libsql-hrana"
version = "0.2.0"
edition = "2021"
license = "MIT"
description = "hrana protocol for libsql"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Remote protocol for libSQL"

[dependencies]
serde = { version = "1.0", features = ["derive", "rc"] }
Expand Down
15 changes: 7 additions & 8 deletions libsql-replication/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
[package]
name = "libsql_replication"
version = "0.6.0"
edition = "2021"
description = "libSQL replication protocol"
repository = "https://github.com/tursodatabase/libsql"
license = "MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Replication protocol for libSQL"

[dependencies]
tonic = { version = "0.11", default-features = false, features = ["codegen", "prost"] }
prost = "0.12"
libsql-sys = { version = "0.8", path = "../libsql-sys", default-features = false, features = ["wal", "rusqlite", "api"] }
libsql-sys = { workspace = true, default-features = false, features = ["wal", "rusqlite", "api"] }
rusqlite = { workspace = true }
parking_lot = "0.12.1"
bytes = { version = "1.5.0", features = ["serde"] }
Expand Down
11 changes: 5 additions & 6 deletions libsql-sys/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
[package]
name = "libsql-sys"
version = "0.8.0"
edition = "2021"
license = "MIT"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "Native bindings to libSQL"
repository = "https://github.com/tursodatabase/libsql"
keywords = ["libsql", "sqlite", "ffi", "bindings", "database"]
categories = ["external-ffi-bindings"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bytes = "1.5.0"
libsql-ffi = { version = "0.5", path = "../libsql-ffi/" }
Expand Down
17 changes: 9 additions & 8 deletions libsql/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[package]
name = "libsql"
version = "0.6.0"
edition = "2021"
description = "libSQL library: the main gateway for interacting with the database"
repository = "https://github.com/tursodatabase/libsql"
license = "MIT"
version.workspace = true
authors.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
description = "The libSQL database library"

[dependencies]
tracing = { version = "0.1.37", default-features = false }
thiserror = "1.0.40"

futures = { version = "0.3.28", optional = true }
libsql-sys = { version = "0.8", path = "../libsql-sys", optional = true }
libsql-hrana = { version = "0.2", path = "../libsql-hrana", optional = true }
libsql-sys = { workspace = true, optional = true, default-features = true }
libsql-hrana = { workspace = true, optional = true }
tokio = { version = "1.29.1", features = ["sync"], optional = true }
tokio-util = { version = "0.7", features = ["io-util", "codec"], optional = true }
parking_lot = { version = "0.12.1", optional = true }
Expand Down Expand Up @@ -40,7 +41,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.6", path = "../libsql-replication", optional = true }
libsql_replication = { workspace = true, optional = true }
async-stream = { version = "0.3.5", optional = true }

crc32fast = { version = "1", optional = true }
Expand Down
Loading