[package]
edition = "2024"
name = "git-bot-feedback"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library designed for CI tools that posts comments on a Pull Request."
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/2bndy5/git-bot-feedback"
[package.metadata.docs.rs]
features = ["file-changes"]
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
custom-git-server-impl = []
default = ["github"]
fast-glob = ["dep:fast-glob"]
file-changes = [
"fast-glob",
"regex",
]
github = []
regex = ["dep:regex"]
test-skip-wait-for-rate-limit = []
[lib]
name = "git_bot_feedback"
path = "src/lib.rs"
[[example]]
name = "output_variables"
path = "examples/output_variables.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "generic_client"
path = "tests/generic_client.rs"
[[test]]
name = "github_file_annotations"
path = "tests/github_file_annotations.rs"
[[test]]
name = "github_file_changes"
path = "tests/github_file_changes.rs"
[[test]]
name = "github_output_variables"
path = "tests/github_output_variables.rs"
[[test]]
name = "github_pr_reviews"
path = "tests/github_pr_reviews.rs"
[[test]]
name = "github_step_summary"
path = "tests/github_step_summary.rs"
[[test]]
name = "github_thread_comments"
path = "tests/github_thread_comments.rs"
[dependencies.async-trait]
version = "0.1.89"
[dependencies.chrono]
version = "0.4.44"
[dependencies.fast-glob]
version = "1.0.1"
optional = true
[dependencies.log]
version = "0.4.29"
[dependencies.regex]
version = "1.12.3"
optional = true
[dependencies.reqwest]
version = "0.13.2"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0.18"
[dependencies.tokio]
version = "1.52.0"
features = [
"macros",
"rt-multi-thread",
]
[dependencies.url]
version = "2.5.8"
[dev-dependencies.mockito]
version = "1.7.2"
[dev-dependencies.tempfile]
version = "3.26.0"
[build-dependencies.chrono]
version = "0.4.44"
features = ["now"]