jid: Replace icu with stringprep

This dependency is unmaintained, but it is written in pure Rust unlike
ICU, and doesn’t require a roundtrip through UTF-16, improving both
performances (perhaps?) and ease of compilation.
This commit is contained in:
Emmanuel Gil Peyrot 2023-06-19 23:39:21 +02:00
commit d867d8d7a1
2 changed files with 26 additions and 21 deletions

View file

@ -19,9 +19,6 @@ edition = "2018"
gitlab = { repository = "xmpp-rs/xmpp-rs" }
[dependencies]
icu = { version = "0.1", optional = true }
minidom = { version = "0.15", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
[features]
stringprep = ["icu"]
stringprep = "0.1.2"