# 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 = "2021"
rust-version = "1.90"
name = "anomalyx-normalize"
version = "1.1.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "anomalyx normalization: any input format -> the ax-core RecordSet"
readme = false
keywords = [
    "csv",
    "parquet",
    "arrow",
    "normalization",
    "dataframe",
]
categories = [
    "parsing",
    "encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/copyleftdev/anomalyx"

[features]
datalake = [
    "dep:apache-avro",
    "dep:orc-rust",
    "dep:arrow",
    "dep:bytes",
]
default = [
    "polars",
    "evtx",
    "pcap",
    "xlsx",
    "sqlite",
    "datalake",
]
evtx = ["dep:evtx"]
pcap = [
    "dep:pcap-parser",
    "dep:etherparse",
]
polars = ["dep:polars"]
sqlite = ["dep:rusqlite"]
xlsx = ["dep:calamine"]

[lib]
name = "anomalyx_normalize"
path = "src/lib.rs"

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

[dependencies.apache-avro]
version = "0.21"
optional = true

[dependencies.arrow]
version = "58"
optional = true
default-features = false

[dependencies.ax-core]
version = "1.1.2"
package = "anomalyx-core"

[dependencies.bytes]
version = "1"
optional = true

[dependencies.calamine]
version = "0.35"
optional = true

[dependencies.chrono]
version = "0.4"

[dependencies.csv]
version = "1"

[dependencies.etherparse]
version = "0.20"
optional = true

[dependencies.evtx]
version = "0.11"
optional = true

[dependencies.orc-rust]
version = "0.8"
optional = true

[dependencies.pcap-parser]
version = "0.17"
optional = true

[dependencies.polars]
version = "0.53"
features = [
    "parquet",
    "ipc",
]
optional = true
default-features = false

[dependencies.roxmltree]
version = "0.21"

[dependencies.rusqlite]
version = "0.40"
features = [
    "bundled",
    "serialize",
]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.syslog_loose]
version = "0.23"

[dependencies.thiserror]
version = "2"

[dependencies.toml]
version = "0.8"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.rust_xlsxwriter]
version = "0.95"
