From 71dc671c3400a91795bb09581dfe9afa23d1d8df Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Sun, 17 Oct 2021 16:34:15 +1100 Subject: [PATCH] Build CSV parser for WebAssembly --- Cargo.toml | 2 +- src/parser/mod.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 043fc76..27530aa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ edition = "2018" crate-type = ["lib", "cdylib"] [dependencies] +csv = "1.1.6" derive_builder = "0.10.2" derive_more = "0.99.14" git-version = "0.3.4" @@ -31,7 +32,6 @@ paste = "1.0.5" # For tests/CLI only [target.'cfg(not(target_arch = "wasm32"))'.dependencies] assert_cmd = "1.0.5" -csv = "1.1.6" flate2 = "1.0" prettytable-rs = "0.8.0" rkyv = "0.7.15" diff --git a/src/parser/mod.rs b/src/parser/mod.rs index 23d4c2b..79be102 100644 --- a/src/parser/mod.rs +++ b/src/parser/mod.rs @@ -22,5 +22,4 @@ pub mod bin; /// BLT file parser pub mod blt; /// CSP file parser -#[cfg(not(target_arch = "wasm32"))] pub mod csp;