|
|
|
|
|
by c-cube
1617 days ago
|
|
That's not "simple". Rust also does neither of those two tasks with just the stdlib! - latin1 is dead and should be in no stdlib in 2022
- uppercasing requires the current Unicode tables, so, a largish moving target that you probably don't want to embed in small programs. |
|
In this environment you might very well not need actual uppercase/ lowercase but only the ASCII subset. Accordingly Rust provides that too, which is far less to carry around than the Unicode case rules. Since the ASCII case change can always be performed in situ (if you can modify the data) Rust provides that too if it's what you want.