0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-04-22 08:25:58 +00:00
Files
libsql/Cargo.toml
Pekka Enberg d7fc437656 0.9.1
2025-03-21 17:55:17 +02:00

94 lines
2.7 KiB
TOML

[workspace]
resolver = "2"
members = [
"bindings/c",
"bindings/wasm",
"bottomless",
"bottomless-cli",
"libsql",
"libsql-ffi",
"libsql-hrana",
"libsql-replication",
"libsql-server",
"libsql-sys",
"vendored/rusqlite",
"vendored/sqlite3-parser",
"xtask",
]
exclude = [
"./libsql-sqlite3/ext/crr",
"./libsql-sqlite3/ext/libsql-wasi",
"libsql-shell",
"tools/rebuild-log",
"tools/fuzz",
]
[workspace.package]
version = "0.9.1"
authors = ["the libSQL authors"]
edition = "2021"
license = "MIT"
repository = "https://github.com/tursodatabase/libsql"
[workspace.dependencies]
libsql-ffi = { path = "libsql-ffi", version = "0.9.1" }
libsql-sys = { path = "libsql-sys", version = "0.9.1", default-features = false }
libsql-hrana = { path = "libsql-hrana", version = "0.9.1" }
libsql_replication = { path = "libsql-replication", version = "0.9.1" }
rusqlite = { package = "libsql-rusqlite", path = "vendored/rusqlite", version = "0.9.1", default-features = false, features = [
"libsql-experimental",
"column_decltype",
"load_extension",
"modern_sqlite",
"functions",
"limits",
"hooks",
] }
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)
cargo-dist-version = "0.21.0"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell", "homebrew"]
# A GitHub repo to push Homebrew formulas to
tap = "libsql/homebrew-sqld"
# Customize the Homebrew formula name
formula = "sqld"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# Publish jobs to run in CI
publish-jobs = ["homebrew"]
# Whether cargo-dist should create a Github Release or use an existing draft
create-release = true
# Which actions to run on pull requests
pr-run-mode = "plan"
# A prefix git tags must include for cargo-dist to care about them
tag-namespace = "libsql-server"
# Whether to install an updater program
install-updater = false
# additional setup steps
github-build-setup = "../templates/libsql-server-release-build-setup.yml"
# Path that installers should place binaries in
install-path = "CARGO_HOME"
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"