git-bot-feedback 0.8.0

A library designed for CI tools that posts comments on a Pull Request.
Documentation
#![doc = include_str!("../README.md")]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![deny(clippy::unwrap_used, clippy::expect_used, clippy::panic, missing_docs)]
// I wish there was a way to just disable this for the README,
// but it has to applied to the whole crate because of the `#!`
// prefix in `#![doc = include_str!()]`.
#![allow(
    clippy::doc_lazy_continuation,
    reason = "false positive for list in README.md (which renders as expected)"
)]

pub mod client;
pub use client::{RestApiClient, RestApiRateLimitHeaders};
pub mod error;
pub use error::RestClientError;
mod comments;
pub use comments::{
    review_comments::{ReviewAction, ReviewComment, ReviewOptions},
    thread_comments::{CommentKind, CommentPolicy, ThreadCommentOptions},
};
mod output_variable;
pub use output_variable::OutputVariable;
mod file_annotations;
pub use file_annotations::{AnnotationLevel, FileAnnotation};

#[cfg(feature = "file-changes")]
mod git_diff;
#[cfg(feature = "file-changes")]
pub use git_diff::{DiffHunkHeader, parse_diff};
#[cfg(feature = "file-changes")]
mod file_utils;
#[cfg(feature = "file-changes")]
pub use file_utils::{FileDiffLines, LinesChangedOnly, file_filter::FileFilter};

// Re-export dependencies for users of optional feature
#[cfg(feature = "file-changes")]
#[cfg_attr(docsrs, doc(cfg(feature = "file-changes")))]
pub use fast_glob;
#[cfg(feature = "file-changes")]
#[cfg_attr(docsrs, doc(cfg(feature = "file-changes")))]
pub use regex;