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:
parent
a7dee0bef4
commit
d867d8d7a1
2 changed files with 26 additions and 21 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue