disarm 0.10.0

Unicode canonicalization and TR39 confusable analysis: building blocks for text-security pipelines (homoglyph/bidi/zalgo handling) plus standards-based transliteration
Documentation
1
2
3
4
5
6
7
8
9
10
//! PyO3 shim for `crate::case_fold` (Layer-1). Infallible.

use pyo3::prelude::*;

/// `fold_case(text) -> str`
#[pyfunction]
#[pyo3(signature = (text,))]
pub fn _fold_case(text: &str) -> String {
    crate::case_fold::fold_case_impl(text)
}