stringprep 0.1.2

An implementation of the stringprep algorithm
Documentation
1
2
3
4
5
6
7
8
9
// Examples from http://josefsson.org/idn.php
extern crate stringprep;

use stringprep::nodeprep;

#[test]
fn test_nodeprep() {
    assert_eq!("räksmörgås.josefsson.org", nodeprep("räksmörgås.josefßon.org").unwrap());
}