Crates.io | charx |
lib.rs | charx |
version | 1.1.0 |
source | src |
created_at | 2022-08-05 20:05:56.103262 |
updated_at | 2024-09-02 14:54:47.959933 |
description | A replacement for char::is_ascii* |
homepage | |
repository | https://github.com/AliSajid/charx |
max_upload_size | |
id | 639535 |
size | 80,893 |
This crate provides a replacement for the char
type that is more ergonomic to use.
Because Rust's char::is_ascii*
family of functions takes &self
, it's impossible to use them as patterns. This is inconsistent with the rest of char::is_*
, which takes self
.
This crate provides char
-taking variants of the is_ascii*
family of functions.
Stable | Beta | Nightly | MSRV (1.59.0) | |
---|---|---|---|---|
Linux | ||||
Windows | ||||
macos |
charx
is distributed under the Zero Clause BSD license. See LICENSE for details of the license.
While this is a single crate with a single focus, We're happy to accept contributions. Pull Requests are welcome. Please see CONTRIBUTING.md for details. You can also use the link below to open an IDE in the cloud to contribute to this project.