charx

Crates.iocharx
lib.rscharx
version1.1.0
sourcesrc
created_at2022-08-05 20:05:56.103262
updated_at2024-09-02 14:54:47.959933
descriptionA replacement for char::is_ascii*
homepage
repositoryhttps://github.com/AliSajid/charx
max_upload_size
id639535
size80,893
Ali Sajid Imami (AliSajid)

documentation

README

A replacement for char

Continuous integration crates.io package GitHub tag (latest SemVer) Crates.io REUSE status

Contribute with Gitpod Code of Conduct: Contributor Covenant

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.

Builds

Stable Beta Nightly MSRV (1.59.0)
Linux Ubuntu x Stable Rust Ubuntu x Beta Rust Ubuntu x Nightly Rust Ubuntu x MSRV Rust
Windows Windows x Stable Rust Windows x Beta Rust Windows x Nightly Rust Windows x MSRV Rust
macos macos x Stable Rust macos x Beta Rust macos x Nightly Rust macos x MSRV Rust

License

charx is distributed under the Zero Clause BSD license. See LICENSE for details of the license.

Contributing

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.

Open in Gitpod

Commit count: 49

cargo fmt