Skip to main content

sedx/
lib.rs

1//! SedX: Safe, modern replacement for GNU sed
2//!
3//! This library exposes SedX's core functionality for use in property-based tests.
4//! The main binary is at src/main.rs.
5
6pub mod backup_manager;
7pub mod bre_converter;
8pub mod cli;
9pub mod command;
10pub mod config;
11pub mod diff_formatter;
12pub mod disk_space;
13pub mod ere_converter;
14pub mod file_processor;
15pub mod parser;
16pub mod regex_error;
17pub mod sed_parser;
18
19// Re-export commonly used types for convenience
20pub use backup_manager::{BackupManager, BackupMetadata, FileBackup};
21pub use cli::RegexFlavor;
22pub use command::{Address, Command, SubstitutionFlags};
23pub use file_processor::{ChangeType, FileProcessor, LineChange, StreamProcessor};
24pub use parser::Parser;