mirror of
https://github.com/tursodatabase/libsql.git
synced 2024-11-11 11:09:25 +00:00
88 lines
2.3 KiB
TOML
88 lines
2.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"libsql",
|
|
"bindings/c",
|
|
"bindings/wasm",
|
|
"libsql-sys",
|
|
"libsql-server",
|
|
"bottomless",
|
|
"bottomless-cli",
|
|
"libsql-replication",
|
|
"libsql-ffi",
|
|
"libsql-hrana",
|
|
|
|
"vendored/rusqlite",
|
|
"vendored/sqlite3-parser",
|
|
|
|
"xtask", "libsql-hrana",
|
|
"libsql-wal",
|
|
"libsql-storage",
|
|
"libsql-storage-server",
|
|
]
|
|
|
|
exclude = [
|
|
"./libsql-sqlite3/ext/crr",
|
|
"./libsql-sqlite3/ext/libsql-wasi",
|
|
"libsql-shell",
|
|
"tools/rebuild-log",
|
|
"tools/fuzz",
|
|
]
|
|
|
|
[profile.release]
|
|
codegen-units = 1
|
|
panic = "unwind"
|
|
|
|
[workspace.dependencies]
|
|
rusqlite = { package = "libsql-rusqlite", path = "vendored/rusqlite", version = "0.33", 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"] }
|
|
|
|
# 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"
|
|
|