# 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.87"
name = "devboy-core"
version = "0.31.1"
authors = ["Meteora <dev@meteora.pro>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core traits, types, and error handling for devboy-tools — Provider, IssueProvider, MergeRequestProvider, configuration model."
homepage = "https://devboy.pro"
readme = "README.md"
keywords = [
    "devboy",
    "ai-agents",
    "mcp",
    "providers",
    "developer-tools",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/meteora-pro/devboy-tools"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
default = []
sentry = ["dep:sentry"]

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

[dependencies.anyhow]
version = "1.0"

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

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

[dependencies.dirs]
version = "6.0"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
    "multipart",
]
default-features = false

[dependencies.secrecy]
version = "0.10"
features = ["serde"]

[dependencies.sentry]
version = "0.35"
features = [
    "rustls",
    "reqwest",
    "tracing",
    "panic",
    "backtrace",
    "contexts",
]
optional = true
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.8"

[dependencies.tracing]
version = "0.1"

[dependencies.which]
version = "8.0"

[dev-dependencies.mockall]
version = "0.13"

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

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

[lints.rust]
unsafe_code = "forbid"
