forked from tursodatabase/turso
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
146 lines (133 loc) · 3.83 KB
/
Cargo.toml
File metadata and controls
146 lines (133 loc) · 3.83 KB
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# Copyright 2023-2025 the Limbo authors. All rights reserved. MIT license.
[workspace]
resolver = "2"
members = [
"bindings/dart/rust",
"bindings/java",
"bindings/javascript",
"bindings/javascript/sync",
"bindings/python",
"bindings/dotnet",
"bindings/rust",
"cli",
"core",
"extensions/completion",
"extensions/core",
"extensions/crypto",
"extensions/csv",
"extensions/ipaddr",
"extensions/percentile",
"extensions/regexp",
"extensions/tests",
"extensions/fuzzy",
"macros",
"simulator",
"sqlite3",
"stress",
"testing/sqlite_test_ext",
"tests",
"parser",
"sync/engine",
"sync/sdk-kit",
"sql_generation",
"whopper",
"perf/throughput/turso",
"perf/throughput/rusqlite",
"perf/encryption",
"sdk-kit",
"sdk-kit-macros",
]
exclude = ["perf/latency/limbo", "turso-test-runner"]
[workspace.package]
version = "0.4.0"
authors = ["the Limbo authors"]
edition = "2021"
license = "MIT"
repository = "https://github.com/tursodatabase/turso"
[workspace.dependencies]
turso = { path = "bindings/rust", version = "0.4.0" }
turso_node = { path = "bindings/javascript", version = "0.4.0" }
turso_sdk_kit = { path = "sdk-kit", version = "0.4.0" }
turso_sdk_kit_macros = { path = "sdk-kit-macros", version = "0.4.0" }
turso_sync_sdk_kit = { path = "sync/sdk-kit", version = "0.4.0" }
limbo_completion = { path = "extensions/completion", version = "0.4.0" }
turso_core = { path = "core", version = "0.4.0" }
turso_sync_engine = { path = "sync/engine", version = "0.4.0" }
turso_ext = { path = "extensions/core", version = "0.4.0" }
turso_macros = { path = "macros", version = "0.4.0" }
turso_parser = { path = "parser", version = "0.4.0" }
sql_generation = { path = "sql_generation" }
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
serde = "1.0"
serde_json = "1.0"
anyhow = "1.0.98"
mimalloc = { version = "0.1.47", default-features = false }
rusqlite = { version = "0.37.0", features = ["bundled"] }
itertools = "0.14.0"
rand = "0.9.2"
rand_chacha = "0.9.0"
tracing = "0.1.41"
schemars = "1.0.4"
garde = "0.22"
parking_lot = "0.12.4"
tokio = { version = "1.0", default-features = false }
tracing-subscriber = "0.3.20"
futures = "0.3"
clap = "4.5.47"
thiserror = "2.0.16"
tempfile = "3.20.0"
indexmap = "2.11.1"
miette = "7.6.0"
bitflags = "2.9.4"
fallible-iterator = "0.3.0"
criterion = "0.5"
chrono = { version = "0.4.42", default-features = false }
hex = "0.4"
antithesis_sdk = { version = "0.2", default-features = false }
cfg-if = "1.0.0"
tracing-appender = "0.2.3"
env_logger = { version = "0.11.6", default-features = false }
regex = "1.11.1"
regex-syntax = { version = "0.8.5", default-features = false }
similar = { version = "2.7.0" }
similar-asserts = { version = "1.7.0" }
bitmaps = { version = "3.2.1", default-features = false }
console-subscriber = { version = "0.4.1" }
either = { version = "1.15" }
divan = "0.1.21"
# Multi threading testing
loom = { version = "0.7" }
shuttle = { version = "0.8.1" }
[profile.dev.package.similar]
opt-level = 3
[profile.release]
debug = "line-tables-only"
codegen-units = 1
panic = "abort"
lto = true
# override settings for sdk-kit release profiles in order to reduce size of produced binaries
# otherwise, some platforms will have enormous libs (150MB+)
[profile.lib-release]
inherits = "release"
debug = false
codegen-units = 16
lto = false
[profile.antithesis]
inherits = "release"
debug = true
codegen-units = 1
panic = "abort"
lto = true
[profile.bench-profile]
inherits = "release"
debug = true
lto = false # LTO hides function boundaries
codegen-units = 16 # Less cross-unit inlining
[profile.dist]
inherits = "release"
lto = "thin"
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(loom)', 'cfg(shuttle)'] }
[workspace.lints.clippy]
or_fun_call = "deny"