0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-31 04:42:57 +00:00
Files
libsql/Cargo.toml

81 lines
2.0 KiB
TOML
Raw Permalink Normal View History

2023-06-29 08:57:54 +03:00
[workspace]
resolver = "2"
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",
"vendored/sqlite3-parser",
2024-03-25 16:07:55 -07:00
"xtask", "libsql-hrana",
2024-05-15 16:04:53 +02:00
"libsql-wal",
"libsql-storage",
"libsql-storage-server",
2023-06-29 08:57:54 +03:00
]
exclude = [
"./libsql-sqlite3/ext/crr",
"./libsql-sqlite3/ext/libsql-wasi",
"libsql-shell",
"tools/rebuild-log",
"tools/fuzz",
]
2023-06-29 08:57:54 +03:00
[profile.release]
codegen-units = 1
2023-11-17 14:28:23 -05:00
panic = "unwind"
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",
"modern_sqlite",
"functions",
"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)
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
tap = "libsql/homebrew-sqld"
# 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
create-release = true
2023-11-16 13:35:57 -06:00
# Publish jobs to run in CI
pr-run-mode = "plan"
# 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
[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"
2023-10-17 14:05:27 +02:00
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"