# 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.70"
name = "ghactions-core"
version = "0.13.1"
authors = ["GeekMasher"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GitHub Actions Crate"
homepage = "https://github.com/42ByteLabs/ghactions"
documentation = "https://docs.rs/ghactions/latest/ghactions/index.html"
readme = "README.md"
keywords = [
    "github",
    "actions",
]
license = "MIT"
repository = "https://github.com/42ByteLabs/ghactions"

[package.metadata.release]
shared-version = true
tag-name = "v{{version}}"

[features]
default = [
    "log",
    "macros",
]
log = [
    "dep:log",
    "dep:env_logger",
]
macros = []
octocrab = [
    "dep:octocrab",
    "dep:http",
]
toolcache = ["dep:glob"]

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

[dependencies.env_logger]
version = "^0.11"
optional = true

[dependencies.glob]
version = "^0.3"
optional = true

[dependencies.http]
version = "^1.3"
optional = true

[dependencies.indexmap]
version = "^2.8"
features = ["serde"]

[dependencies.log]
version = "^0.4"
optional = true

[dependencies.octocrab]
version = "^0.43"
optional = true

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

[dependencies.serde_yaml]
version = "^0.9"

[dependencies.thiserror]
version = "^2.0"

[dependencies.time]
version = "^0.3"

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]
