forked from tursodatabase/libsql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (54 loc) · 1.49 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
[workspace]
resolver = "2"
members = [
"libsql",
"bindings/c",
"bindings/wasm",
"libsql-sys",
"libsql-shell",
"libsql-server",
"bottomless",
"bottomless-cli",
"libsql-replication",
"libsql-ffi",
"vendored/rusqlite",
"vendored/sqlite3-parser",
"xtask",
]
exclude = [
"./libsql-sqlite3/ext/crr",
"./libsql-sqlite3/ext/libsql-wasi",
]
[profile.release]
codegen-units = 1
panic = "unwind"
[workspace.dependencies]
rusqlite = { path = "vendored/rusqlite", version = "0.29", default-features = false, features = [
"libsql-experimental",
"column_decltype",
"load_extension",
"modern_sqlite"
] }
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.4.2"
# 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 = "tursodatabase/homebrew-sqld"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["x86_64-unknown-linux-gnu", "aarch64-apple-darwin", "x86_64-apple-darwin"]
# 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
# Publish jobs to run in CI
pr-run-mode = "plan"
allow-dirty = ["ci"] # we've edited the release yml to narrow the tag scope
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"