@@ -37,6 +37,11 @@ lmdb = ["dep:lmdb", "dep:lmdb-sys"]
3737pprof = [" pprof/criterion" , " pprof/flamegraph" ]
3838python = [" parser" , " dep:pyo3" ]
3939shell = [" parser" , " dep:comfy-table" , " dep:rustyline" ]
40+ wasm = [
41+ " dep:js-sys" ,
42+ " dep:wasm-bindgen" ,
43+ " parser" ,
44+ ]
4045
4146[[bench ]]
4247name = " query_bench"
@@ -45,17 +50,10 @@ harness = false
4550required-features = [" pprof" ]
4651
4752[dependencies ]
48- ahash = { version = " 0.8" }
4953bumpalo = { version = " 3" , default-features = false , features = [" collections" ] }
50- byteorder = { version = " 1" }
51- fixedbitset = { version = " 0.4" }
52- itertools = { version = " 0.12" }
5354ordered-float = { version = " 4" }
5455paste = { version = " 1" }
55- recursive = { version = " 0.1" }
5656kite_sql_serde_macros = { version = " 0.2.1" , path = " kite_sql_serde_macros" }
57- siphasher = { version = " 1" }
58- ulid = { version = " 1" }
5957
6058# Optional dependencies for features
6159comfy-table = { version = " 7" , default-features = false , optional = true }
@@ -84,16 +82,8 @@ rocksdb = { version = "0.23", optional = true, default-features = false, feature
8482rustyline = { version = " 14" , default-features = false , optional = true }
8583
8684[target .'cfg(target_arch = "wasm32")' .dependencies ]
87- wasm-bindgen = { version = " 0.2.106" }
88- web-sys = { version = " 0.3.83" , features = [
89- " Storage" ,
90- " Window" ,
91- ] }
92- base64 = { version = " 0.21" }
93- getrandom = { version = " 0.2" , features = [" js" ] }
94- getrandom_03 = { package = " getrandom" , version = " 0.3" , features = [" wasm_js" ] }
95- js-sys = { version = " 0.3.83" }
96- once_cell = { version = " 1" }
85+ wasm-bindgen = { version = " 0.2.106" , optional = true }
86+ js-sys = { version = " 0.3.83" , optional = true }
9787
9888[target .'cfg(target_arch = "wasm32")' .dev-dependencies ]
9989wasm-bindgen-test = " 0.3.56"
0 commit comments