zenpatch 0.5.2

A robust library for applying text-based patches, designed for AI coding agents with backtracking algorithm
Documentation
//! A crate for applying text-based patches.
//!
//! This crate provides a single primary function, `apply`, which takes a patch
//! and the original content as string slices and returns the patched content.
//! It is designed for simplicity and robustness, especially for use by AI agents.

pub mod apply;
pub mod applier;
pub mod data;
pub mod error;
pub mod parser;
pub mod vfs;
pub mod get_llm_instructions;

pub use apply::apply;
pub use apply::{apply_partial, PartialReport};
pub use error::ZenpatchError;
pub use vfs::Vfs;
pub use get_llm_instructions::get_llm_instructions;

#[cfg(test)]
pub mod tests;