git-bot-feedback 0.2.0

A library designed for CI tools that posts comments on a Pull Request.
Documentation
[package]
name = "git-bot-feedback"
description = "A library designed for CI tools that posts comments on a Pull Request."
version = "0.2.0"
edition = "2024"
repository = "https://github.com/2bndy5/git-bot-feedback"
license-file = "LICENSE"

[dependencies]
log = "0.4.28"
chrono = "0.4.42"
reqwest = "0.12.24"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.145"
thiserror = "2.0.17"
tokio = { version = "1.48.0", features = ["macros", "rt-multi-thread"] }
url = "2.5.7" # pinned to whatever reqwest uses
regex = { version = "1.12.2", optional = true }
fast-glob = { version = "1.0.0", optional = true }

[dev-dependencies]
mockito = "1.7.0"
tempfile = "3.23.0"

[build-dependencies]
chrono = {version = "0.4.42", features = ["now"]}

[features]
regex = ["dep:regex"]
fast-glob = ["dep:fast-glob"]

# feature that enables getting file changes
file-changes = ["fast-glob", "regex", "tokio/process", "tokio/fs"]

# GitHub implementation/support
github = []

# features enabled by default
default = ["github"]

# optional feature to silence a compiler error if/when
# no features enable any git server implementations
custom-git-server-impl = []

# This feature is intended to be a dev-only feature.
# It is not intended for end users of this library.
# It used to expedite tests about rate limit violations.
test-skip-wait-for-rate-limit = []

[package.metadata.docs.rs]
# extra metadata for builds on docs.rs
features = ["file-changes"]
rustdoc-args = ["--cfg", "docsrs"]