cobre-core 0.1.0

Power system data model — buses, branches, generators, loads, and network topology
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.86"
name = "cobre-core"
version = "0.1.0"
authors = ["Rogerio J. M. Alves <rogerio.alves@cobre.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Power system data model — buses, branches, generators, loads, and network topology"
homepage = "https://cobre-rs.github.io/cobre-docs/"
readme = "README.md"
keywords = [
    "power-systems",
    "energy",
    "electrical",
    "data-model",
]
categories = [
    "science",
    "simulation",
]
license = "Apache-2.0"
repository = "https://github.com/cobre-rs/cobre"
resolver = "2"

[features]
default = []
serde = [
    "dep:serde",
    "chrono/serde",
]

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

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

[dependencies.chrono]
version = "0.4"
features = ["std"]
default-features = false

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

[dev-dependencies.serde_json]
version = "1"
optional = false

[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"