@@ -14,15 +14,31 @@ version = "0.2.0"
14
14
msrv = " 1.79.0"
15
15
16
16
[features ]
17
+ aws = [" fusio-dispatch/aws" , " fusio/aws" ]
17
18
bench = [" redb" , " rocksdb" , " sled" ]
18
19
bytes = [" dep:bytes" ]
19
20
datafusion = [" dep:async-trait" , " dep:datafusion" ]
20
- default = [" bytes" , " tokio" ]
21
+ default = [" aws " , " bytes" , " tokio" , " tokio-http " ]
21
22
load_tbl = []
23
+ object-store = [" fusio/object_store" ]
24
+ opfs = [
25
+ " dep:wasm-bindgen-futures" ,
26
+ " fusio-dispatch/opfs" ,
27
+ " fusio-parquet/opfs" ,
28
+ " fusio/opfs" ,
29
+ ]
22
30
redb = [" dep:redb" ]
23
31
rocksdb = [" dep:rocksdb" ]
24
32
sled = [" dep:sled" ]
25
- tokio = [" tokio/fs" ]
33
+ tokio = [
34
+ " fusio-dispatch/tokio" ,
35
+ " fusio-parquet/tokio" ,
36
+ " fusio/tokio" ,
37
+ " parquet/default" ,
38
+ " tokio/fs" ,
39
+ ]
40
+ tokio-http = [" fusio/tokio-http" ]
41
+ wasm = [" aws" , " bytes" , " opfs" ]
26
42
27
43
[[example ]]
28
44
name = " declare"
@@ -58,25 +74,25 @@ crc32fast = "1"
58
74
crossbeam-skiplist = " 0.1"
59
75
datafusion = { version = " 42" , optional = true }
60
76
flume = { version = " 0.11" , features = [" async" ] }
61
- fusio = { package = " fusio" , version = " 0.3.3" , features = [
62
- " aws" ,
77
+ fusio = { git = " https://github.com/tonbo-io/fusio.git" , rev = " 8038993675591f87dd65b88ffdade31dc0a254b7" , package = " fusio" , version = " 0.3.3" , features = [
63
78
" dyn" ,
64
79
" fs" ,
65
- " object_store" ,
66
- " tokio" ,
67
- " tokio-http" ,
68
80
] }
69
- fusio-dispatch = { package = " fusio-dispatch" , version = " 0.2.1" , features = [
70
- " aws" ,
71
- " tokio" ,
72
- ] }
73
- fusio-parquet = { package = " fusio-parquet" , version = " 0.2.1" }
81
+ fusio-dispatch = { git = " https://github.com/tonbo-io/fusio.git" , rev = " 8038993675591f87dd65b88ffdade31dc0a254b7" , package = " fusio-dispatch" , version = " 0.2.1" }
82
+ fusio-parquet = { git = " https://github.com/tonbo-io/fusio.git" , rev = " 8038993675591f87dd65b88ffdade31dc0a254b7" , package = " fusio-parquet" , version = " 0.2.1" }
74
83
futures-core = " 0.3"
75
84
futures-io = " 0.3"
76
85
futures-util = " 0.3"
77
86
lockable = " 0.0.8"
78
87
once_cell = " 1"
79
- parquet = { version = " 53" , features = [" async" ] }
88
+ parquet = { version = " 53" , default-features = false , features = [
89
+ " async" ,
90
+ " base64" ,
91
+ " brotli" ,
92
+ " flate2" ,
93
+ " lz4" ,
94
+ " snap" ,
95
+ ] }
80
96
pin-project-lite = " 0.2"
81
97
regex = " 1"
82
98
thiserror = " 1"
@@ -92,18 +108,28 @@ redb = { version = "2", optional = true }
92
108
rocksdb = { version = " 0.22" , optional = true }
93
109
sled = { version = " 0.34" , optional = true }
94
110
111
+ [target .'cfg(target_arch = "wasm32")' .dependencies ]
112
+ wasm-bindgen = " 0.2.95"
113
+ wasm-bindgen-futures = { version = " 0.4.45" , optional = true }
114
+
95
115
[dev-dependencies ]
96
116
bincode = " 1"
97
- comfy-table = " 7"
98
- criterion = { version = " 0.5" , features = [" async_tokio" , " html_reports" ] }
99
117
fastrand = " 2"
100
118
futures = { version = " 0.3" }
101
- mimalloc = " 0.1"
102
119
serde = " 1"
103
120
tempfile = " 3"
104
- tokio = { version = " 1" , features = [" full" ] }
105
121
trybuild = " 1.0"
106
122
123
+ [target .'cfg(not(target_arch = "wasm32"))' .dev-dependencies ]
124
+ comfy-table = " 7"
125
+ criterion = { version = " 0.5" , features = [" async_tokio" , " html_reports" ] }
126
+ mimalloc = " 0.1"
127
+ tokio = { version = " 1" , features = [" full" ] }
128
+
129
+ [target .'cfg(target_arch = "wasm32")' .dev-dependencies ]
130
+ wasm-bindgen = " 0.2.95"
131
+ wasm-bindgen-test = " 0.3.9"
132
+
107
133
[target .'cfg(unix)' .dev-dependencies ]
108
134
pprof = { version = " 0.13" , features = [" criterion" , " flamegraph" ] }
109
135
0 commit comments