# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "bnto-csv"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CSV processing nodes for Bnto WASM engine — clean, rename columns"
homepage = "https://bnto.io"
readme = "README.md"
keywords = [
    "wasm",
    "csv",
    "data",
    "cleaning",
    "browser",
]
categories = [
    "wasm",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/Develonaut/bnto"
resolver = "2"

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-O",
    "--enable-bulk-memory",
    "--enable-nontrapping-float-to-int",
    "--enable-sign-ext",
    "--enable-mutable-globals",
    "--enable-reference-types",
    "--enable-multivalue",
]

[lib]
name = "bnto_csv"
crate-type = ["rlib"]
path = "src/lib.rs"

[[test]]
name = "wasm_clean"
path = "tests/wasm_clean.rs"

[[test]]
name = "wasm_rename"
path = "tests/wasm_rename.rs"

[dependencies.bnto-core]
version = "0.1.0"

[dependencies.csv]
version = "1.3"

[dependencies.js-sys]
version = "0.3"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.wasm-bindgen]
version = "0.2"

[dependencies.web-sys]
version = "0.3"
features = ["console"]

[dev-dependencies.wasm-bindgen-test]
version = "0.3"
