Build CSV parser for WebAssembly

This commit is contained in:
RunasSudo 2021-10-17 16:34:15 +11:00
parent 46654f8c5a
commit 71dc671c34
No known key found for this signature in database
GPG Key ID: 7234E476BF21C61A
2 changed files with 1 additions and 2 deletions

View File

@ -8,6 +8,7 @@ edition = "2018"
crate-type = ["lib", "cdylib"] crate-type = ["lib", "cdylib"]
[dependencies] [dependencies]
csv = "1.1.6"
derive_builder = "0.10.2" derive_builder = "0.10.2"
derive_more = "0.99.14" derive_more = "0.99.14"
git-version = "0.3.4" git-version = "0.3.4"
@ -31,7 +32,6 @@ paste = "1.0.5"
# For tests/CLI only # For tests/CLI only
[target.'cfg(not(target_arch = "wasm32"))'.dependencies] [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
assert_cmd = "1.0.5" assert_cmd = "1.0.5"
csv = "1.1.6"
flate2 = "1.0" flate2 = "1.0"
prettytable-rs = "0.8.0" prettytable-rs = "0.8.0"
rkyv = "0.7.15" rkyv = "0.7.15"

View File

@ -22,5 +22,4 @@ pub mod bin;
/// BLT file parser /// BLT file parser
pub mod blt; pub mod blt;
/// CSP file parser /// CSP file parser
#[cfg(not(target_arch = "wasm32"))]
pub mod csp; pub mod csp;