Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name = "cstr8"
version = "0.1.4"
edition = "2021"
rust-version = "1.72.0"
rust-version = "1.88.0"

description = "string types that are both valid UTF-8 and nul-terminated"
repository = "https://github.com/CAD97/cstr8/"
Expand All @@ -15,5 +15,8 @@ default = ["std"]
std = ["alloc"]
alloc = []

[dev-dependencies]
proptest = "1"

[package.metadata.docs.rs]
all-features = true
2 changes: 1 addition & 1 deletion src/buf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ impl CString8 {
/// An error converting to [`CString8`].
///
/// If multiple errors apply, which one you get back is unspecified.
#[derive(Debug)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum CString8Error {
/// The string is not valid UTF-8.
InvalidUtf8(FromUtf8Error),
Expand Down
Loading