2023-06-29 08:57:54 +03:00
|
|
|
[workspace]
|
|
|
|
resolver = "2"
|
2024-06-05 18:53:34 +02:00
|
|
|
default-members = ["libsql-server"]
|
2023-06-29 08:57:54 +03:00
|
|
|
members = [
|
2023-10-16 09:06:25 -07:00
|
|
|
"libsql",
|
|
|
|
"bindings/c",
|
|
|
|
"bindings/wasm",
|
|
|
|
"libsql-sys",
|
2023-10-17 14:05:27 +02:00
|
|
|
"libsql-server",
|
|
|
|
"bottomless",
|
|
|
|
"bottomless-cli",
|
2023-10-19 12:27:13 +02:00
|
|
|
"libsql-replication",
|
2023-11-15 11:09:07 +01:00
|
|
|
"libsql-ffi",
|
2024-03-25 16:07:55 -07:00
|
|
|
"libsql-hrana",
|
2023-10-17 14:05:27 +02:00
|
|
|
|
|
|
|
"vendored/rusqlite",
|
2023-10-16 11:05:06 -07:00
|
|
|
"vendored/sqlite3-parser",
|
|
|
|
|
2024-03-25 16:07:55 -07:00
|
|
|
"xtask", "libsql-hrana",
|
2024-05-15 16:04:53 +02:00
|
|
|
"libsql-wal",
|
2024-05-30 14:09:36 +05:30
|
|
|
"libsql-storage",
|
2024-06-03 10:02:44 +05:30
|
|
|
"libsql-storage-server",
|
2023-06-29 08:57:54 +03:00
|
|
|
]
|
|
|
|
|
2023-11-24 15:38:13 +01:00
|
|
|
exclude = [
|
|
|
|
"./libsql-sqlite3/ext/crr",
|
2023-11-27 08:22:05 +01:00
|
|
|
"./libsql-sqlite3/ext/libsql-wasi",
|
2024-03-13 11:17:31 +01:00
|
|
|
"libsql-shell",
|
|
|
|
"tools/rebuild-log",
|
|
|
|
"tools/fuzz",
|
2023-11-24 15:38:13 +01:00
|
|
|
]
|
2023-11-17 11:10:33 -05:00
|
|
|
|
2023-06-29 08:57:54 +03:00
|
|
|
[profile.release]
|
|
|
|
codegen-units = 1
|
2023-11-17 14:28:23 -05:00
|
|
|
panic = "unwind"
|
2023-08-08 11:50:52 -04:00
|
|
|
|
2023-10-17 14:05:27 +02:00
|
|
|
[workspace.dependencies]
|
2024-03-07 07:57:53 -05:00
|
|
|
rusqlite = { package = "libsql-rusqlite", path = "vendored/rusqlite", version = "0.30", default-features = false, features = [
|
2023-10-17 14:05:27 +02:00
|
|
|
"libsql-experimental",
|
|
|
|
"column_decltype",
|
|
|
|
"load_extension",
|
2023-12-20 12:04:26 +01:00
|
|
|
"modern_sqlite",
|
|
|
|
"functions",
|
2024-02-20 13:45:24 +01:00
|
|
|
"limits",
|
2023-10-17 14:05:27 +02:00
|
|
|
] }
|
|
|
|
|
|
|
|
# Config for 'cargo dist'
|
|
|
|
[workspace.metadata.dist]
|
|
|
|
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
|
2024-05-14 14:36:07 +02:00
|
|
|
cargo-dist-version = "0.14.1"
|
2023-11-16 13:35:57 -06:00
|
|
|
# CI backends to support
|
2024-05-14 15:52:55 +02:00
|
|
|
ci = "github"
|
2023-10-17 14:05:27 +02:00
|
|
|
# The installers to generate for each app
|
|
|
|
installers = ["shell", "homebrew"]
|
|
|
|
# A GitHub repo to push Homebrew formulas to
|
2024-01-31 16:06:22 -05:00
|
|
|
tap = "libsql/homebrew-sqld"
|
2024-02-26 11:20:36 -05:00
|
|
|
# Customize the Homebrew formula name
|
|
|
|
formula = "sqld"
|
2023-10-17 14:05:27 +02:00
|
|
|
# Target platforms to build apps for (Rust target-triple syntax)
|
2024-04-30 11:58:13 -04:00
|
|
|
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
|
2023-10-17 14:05:27 +02:00
|
|
|
# Publish jobs to run in CI
|
|
|
|
publish-jobs = ["homebrew"]
|
|
|
|
# Whether cargo-dist should create a Github Release or use an existing draft
|
2023-11-28 11:11:41 -08:00
|
|
|
create-release = true
|
2023-11-16 13:35:57 -06:00
|
|
|
# Publish jobs to run in CI
|
|
|
|
pr-run-mode = "plan"
|
2024-02-26 11:20:36 -05:00
|
|
|
# A prefix git tags must include for cargo-dist to care about them
|
|
|
|
tag-namespace = "libsql-server"
|
2024-04-30 11:58:13 -04:00
|
|
|
# Whether to install an updater program
|
|
|
|
install-updater = false
|
2023-10-17 14:05:27 +02:00
|
|
|
|
2024-03-15 11:45:51 +01:00
|
|
|
[workspace.metadata.dist.github-custom-runners]
|
|
|
|
aarch64-apple-darwin = "macos-14"
|
2024-04-30 11:58:13 -04:00
|
|
|
aarch64-unknown-linux-gnu = "buildjet-8vcpu-ubuntu-2204-arm"
|
2024-03-15 11:45:51 +01:00
|
|
|
|
2023-10-17 14:05:27 +02:00
|
|
|
# The profile that 'cargo dist' will build with
|
|
|
|
[profile.dist]
|
|
|
|
inherits = "release"
|
|
|
|
lto = "thin"
|
2023-11-30 17:39:58 -05:00
|
|
|
|