# 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"
rust-version = "1.86"
name = "cobre-io"
version = "0.4.4"
authors = ["Rogerio J. M. Alves <rogerio.alves@cobre.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Case directory loading and validation for the Cobre power systems ecosystem"
homepage = "https://cobre-rs.github.io/cobre-docs/"
readme = "README.md"
keywords = [
    "power-systems",
    "energy",
    "io",
    "validation",
]
categories = [
    "science",
    "parser-implementations",
]
license = "Apache-2.0"
repository = "https://github.com/cobre-rs/cobre"
resolver = "2"

[features]
schema = ["dep:schemars"]

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

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

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

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

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.cobre-core]
version = "0.4.4"
features = ["serde"]

[dependencies.cobre-stochastic]
version = "0.4.4"

[dependencies.csv]
version = "1"

[dependencies.flatbuffers]
version = "25"

[dependencies.parquet]
version = "58"
features = [
    "arrow",
    "zstd",
]
default-features = false

[dependencies.postcard]
version = "1"
features = ["alloc"]

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.parquet]
version = "58"
features = [
    "arrow",
    "zstd",
]
default-features = false

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
expect_used = "warn"
panic = "warn"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"
