cobre-io 0.15.0

Case directory loading and validation for the Cobre power systems ecosystem
Documentation
# 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.88"
name = "cobre-io"
version = "0.15.0"
authors = ["Rogerio J. M. Alves <rogerio.alves@cobre-rs.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]
flatc-conformance = []
schema = [
    "dep:schemars",
    "cobre-core/schema",
]
slow-tests = []

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.csv]
version = "1"

[dependencies.flatbuffers]
version = "25"

[dependencies.gethostname]
version = "1.1.0"

[dependencies.parquet]
version = "59"
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.cobre-core]
version = "0.15.0"
features = ["test-support"]

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

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

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

[lints.clippy]
expect_used = "warn"
panic = "warn"
too_many_arguments = "deny"
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"