[package]
name = "compliance"
version = "0.1.0"
edition.workspace = true
publish.workspace = true
license = "GPL-3.0-or-later"

[lints]
workspace = true

[features]
octo-client = ["dep:octocrab", "dep:jsonwebtoken", "dep:tokio"]

[dependencies]
anyhow.workspace = true
async-trait.workspace = true
derive_more.workspace = true
futures.workspace = true
itertools.workspace = true
jsonwebtoken = { version = "10.2", features = ["use_pem"], optional = true }
octocrab = { version = "0.49", default-features = false, features = [
    "default-client",
    "jwt-aws-lc-rs",
    "retry",
    "rustls",
    "rustls-aws-lc-rs",
    "stream",
    "timeout"
], optional = true }
regex.workspace = true
semver.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio = { workspace = true, optional = true }

[dev-dependencies]
indoc.workspace = true
tokio = { workspace = true, features = ["rt", "macros"] }
