decollate

Crates.iodecollate
lib.rsdecollate
version0.0.1
created_at2025-08-23 20:16:16.825626+00
updated_at2025-08-23 20:16:16.825626+00
descriptionBlazing-fast, locale-aware, context-free string collation
homepage
repositoryhttps://github.com/decollation/decollate
max_upload_size
id1807843
size22,219
Bojan Đuričković (deyanovich)

documentation

README

decollate

Blazing-fast string collation, deconstructed.

decollate is a high-performance, context-free collation library that provides locale-aware string comparison by deconstructing complex collation rules to their essential components.

Status

⚠️ This project is in early development. The API is unstable and functionality is limited.

Goals

  • Provide collation that is 100x faster than ICU for languages without digraphs
  • Support the top 50 languages using compressed CLDR data
  • Maintain 99.999% compatibility with ICU for supported languages
  • Minimal footprint with zero runtime dependencies

Usage

[dependencies]
decollate = "0.0.1"
use decollate::Collator;
use std::cmp::Ordering;

let collator = Collator::new("en").unwrap();
assert_eq!(collator.compare("a", "b"), Ordering::Less);
Commit count: 0

cargo fmt