const-str 0.3.0

compile-time string operations
Documentation
1
2
3
pub const fn equal(lhs: &str, rhs: &str) -> bool {
    crate::bytes::equal(lhs.as_bytes(), rhs.as_bytes())
}