-
Notifications
You must be signed in to change notification settings - Fork 105
Expand file tree
/
Copy pathCargo.toml
More file actions
147 lines (131 loc) · 4.2 KB
/
Copy pathCargo.toml
File metadata and controls
147 lines (131 loc) · 4.2 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
147
[package]
edition = "2024"
name = "tonbo"
resolver = "2"
version = "0.4.0-a2"
description = "Embedded database for serverless and edge runtimes, storing data as Parquet on S3"
license = "Apache-2.0"
repository = "https://github.com/tonbo-io/tonbo"
readme = "README.md"
[workspace]
members = ["."]
[features]
default = ["tokio", "typed-arrow"]
tokio = [
"dep:tokio",
"fusio-manifest/tokio",
"fusio/executor-tokio",
"fusio/fs",
"fusio/tokio",
"fusio/tokio-http",
]
typed-arrow = ["dep:typed-arrow"]
# Web/wasm build using Fusio's WebExecutor and wasm-http client stack.
web = [
"fusio-manifest/web",
"fusio-parquet/executor-web",
"fusio/aws",
"fusio/executor-web",
"fusio/web-http",
]
# Optional OPFS support layered on the web stack.
web-opfs = ["fusio/opfs", "web"]
# Enable this to compile the optional S3 smoke test in `tests/s3_smoke.rs`.
s3-smoke = []
[dependencies]
anyhow = "1"
aisle = { version = "0.2.1", git = "https://github.com/tonbo-io/aisle", branch = "main" }
arrow-array = "57.1.0"
arrow-buffer = "57.1.0"
arrow-ipc = "57.1.0"
arrow-schema = { version = "57.1.0", features = ["serde"] }
arrow-select = "57.1.0"
bytes = "1"
crc32c = "0.6"
crossbeam-skiplist = "0.1"
datafusion-common = "51.0.0"
fusio = { version = "0.6.1", git = "https://github.com/tonbo-io/fusio", rev = "c33a96c8a124c17500924823658541ec1d4bbfb3", default-features = false, features = [
"aws",
"dyn",
"executor",
"fs",
] }
fusio-manifest = { version = "0.6.1", git = "https://github.com/tonbo-io/fusio", rev = "c33a96c8a124c17500924823658541ec1d4bbfb3", package = "fusio-manifest", default-features = false, features = [
"std",
] }
fusio-parquet = { version = "0.6.1", git = "https://github.com/tonbo-io/fusio", rev = "c33a96c8a124c17500924823658541ec1d4bbfb3", package = "fusio-parquet" }
futures = "0.3"
lockable = "0.2"
once_cell = "1"
parking_lot = "0.12"
parquet = { version = "57.1.0", default-features = false, features = [
"async",
"zstd",
] }
pin-project-lite = "0.2"
serde = { version = "1", features = ["derive", "rc"] }
serde_json = "1"
sha2 = "0.10"
thiserror = "2.0.17"
tracing = { version = "0.1", default-features = false, features = ["attributes"] }
tokio = { version = "1", default-features = false, features = [
"macros",
"net",
"rt",
"rt-multi-thread",
"sync",
"time",
], optional = true }
typed-arrow = { version = "0.7.1", default-features = false, features = ["arrow-57", "ext-hooks", "views"], optional = true }
typed-arrow-dyn = { version = "0.0.8", default-features = false, features = ["arrow-57", "serde"] }
ulid = { version = "1", features = ["serde"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
# Ensure getrandom picks the JS backend via cfg flag when building wasm32-unknown-unknown.
getrandom = { version = "0.3", features = ["wasm_js"] }
js-sys = "0.3"
[dev-dependencies]
clap = { version = "4.5.4", features = ["derive"] }
futures = "0.3"
tempfile = "3"
tracing = { version = "0.1", default-features = false, features = ["attributes", "std"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
typed-arrow = { version = "0.7.1", default-features = false, features = ["arrow-57", "ext-hooks", "views"] }
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
criterion = "0.5"
tokio = { version = "1", default-features = false, features = [
"macros",
"net",
"rt",
"rt-multi-thread",
"sync",
"time",
] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
wasm-bindgen-test = "0.3"
[[test]]
name = "read_smoke"
path = "tests/read_smoke.rs"
required-features = ["tokio"]
[[test]]
name = "s3_smoke"
path = "tests/s3_smoke.rs"
required-features = ["tokio"]
[[example]]
name = "10a_dynamic_basic"
path = "examples/10_dynamic/10a_dynamic_basic.rs"
[[example]]
name = "10b_dynamic_metadata"
path = "examples/10_dynamic/10b_dynamic_metadata.rs"
[[example]]
name = "10c_dynamic_composite"
path = "examples/10_dynamic/10c_dynamic_composite.rs"
[[example]]
name = "10d_dynamic_transaction"
path = "examples/10_dynamic/10d_dynamic_transaction.rs"
[[bench]]
name = "compaction_local"
path = "benches/compaction_local.rs"
harness = false
required-features = ["tokio"]