# 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.92"
name = "governor-core"
version = "1.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core domain and application logic for cargo-governor"
homepage = "https://gitlab.opentc.ru/opentc/rust-cargo-governor"
documentation = "https://gitlab.opentc.ru/opentc/rust-cargo-governor"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://gitlab.opentc.ru/opentc/rust-cargo-governor"

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

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

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

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

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

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

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

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

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

[dependencies.async-trait]
version = "0.1"

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

[dependencies.petgraph]
version = "0.7"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.uuid]
version = "1.12"
features = [
    "v4",
    "serde",
]

[dev-dependencies.tokio]
version = "1.43"
features = [
    "rt-multi-thread",
    "macros",
    "fs",
]

[lints.clippy]
cargo_common_metadata = "allow"

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

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

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

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

[lints.rust]
unsafe_code = "forbid"

[lints.rust.unused]
level = "warn"
priority = -1
