3 个稳定版本

1.0.2 2022 年 10 月 28 日
1.0.0 2022 年 8 月 5 日

#1338文本处理

Download history 44/week @ 2024-03-31 1/week @ 2024-04-07 11/week @ 2024-06-16 69/week @ 2024-06-23

80 每月下载次数

0BSD 许可证

14KB

char 的替代品

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

Contribute with Gitpod Code of Conduct: Contributor Covenant

此 crate 提供了更易于使用的 char 类型替代品。

因为 Rust 的 char 类型的 char::is_ascii* 函数族需要 &self,因此无法将它们用作模式。这与 char::is_* 不一致,后者需要 self

此 crate 提供了 char 类型的 is_ascii* 函数族的变体。

构建

平台 Rust 版本 状态
Linux 稳定版
beta 版
nightly 版
MSRV (1.56.0)
Ubuntu x Stable Rust
Ubuntu x Beta Rust
Ubuntu x Nightly Rust
Ubuntu x MSRV Rust
Windows 稳定版
beta 版
nightly 版
MSRV (1.56.0)
macos x Stable Rust
macos x Beta Rust
macos x Nightly Rust
macos x MSRV Rust
macOS 稳定版
beta 版
nightly 版
MSRV (1.56.0)
Windows x Stable Rust
Windows x Beta Rust
Windows x Nightly Rust
Windows x MSRV Rust

许可证

charx 在 Zero Clause BSD 许可证下分发。有关许可证的详细信息,请参阅 LICENSE

贡献

虽然这是一个具有单一重点的单个 crate,但我们很高兴接受贡献。欢迎 Pull Requests。请参阅 CONTRIBUTING.md 以获取详细信息。您还可以使用下面的链接在云中打开 IDE 以为此项目做出贡献。

Open in Gitpod

无运行时依赖项