hyperlane-cli 0.1.10

A command-line tool for Hyperlane framework.
1
2
3
4
5
6
7
8
use crate::*;

/// Regex pattern to match derive attribute
///
/// This pattern matches `#[derive(...)]` attributes in Rust code.
pub(crate) static DERIVE_REGEX: LazyLock<Regex> = LazyLock::new(|| {
    regex::Regex::new(r"#\[derive\s*\(([^)]+)\)\]").expect("Invalid regex pattern")
});