Proof of concept mechanical port of ircnet/ircd to Rust as part of a bit about C being insecure for network services
946 B
22 lines
1[package]
2name = "leveva-string"
3version = "0.0.0"
4edition = "2021"
5publish = false
6description = "Casemapping-aware IRC string types: IrcStr/IrcString (str/String wrappers whose equality, ordering, and hashing fold under RFC 1459) and an IrcStringBuilder."
7
8# Extracted from `leveva` (the IRC daemon) as a self-contained leaf library: the #2
9# leaf in the string cluster — it depends only on `leveva-casemap` (RFC 1459 folding)
10# and `core`/`std`, while `ident`/`channel`/`registry`/`whowas` all depend on *it*.
11# `leveva` re-exports it as `leveva::string`.
12[lib]
13path = "src/lib.rs"
14
15[dependencies]
16leveva-casemap = { path = "../leveva-casemap" }
17
18[dev-dependencies]
19# Property/fuzz tests: the casemap-lift, ordering, hashing, Borrow round-trip, and
20# validation invariants are fed arbitrary (incl. non-ASCII) strings. Stable-toolchain
21# fuzz tier — the project has no nightly/cargo-fuzz, so proptest is the runnable fuzzer.
22proptest = "1"