xmpp-rs/jid/Cargo.toml
Emmanuel Gil Peyrot c390af2b36 jid: Remove the std feature
Since Rust 1.81, std::error::Error has been moved to core::error::Error,
which we can use without depending on std.
2024-11-13 10:52:51 +01:00

36 lines
982 B
TOML

[package]
name = "jid"
version = "0.11.1"
authors = [
"lumi <lumi@pew.im>",
"Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
"Maxime “pep” Buquet <pep@bouah.net>",
]
description = "A crate which provides a Jid struct for Jabber IDs."
homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
documentation = "https://docs.rs/jid"
readme = "README.md"
keywords = ["xmpp", "jid"]
license = "MPL-2.0"
edition = "2021"
[badges]
gitlab = { repository = "xmpp-rs/xmpp-rs" }
[dependencies]
memchr = "2.5"
serde = { version = "1.0", features = ["derive"], optional = true }
stringprep = "0.1.3"
quote = { version = "1.0", optional = true }
proc-macro2 = { version = "1.0", optional = true }
# same repository dependencies
minidom = { version = "0.16", path = "../minidom", optional = true }
[dev-dependencies]
serde_test = "1"
jid = { path = ".", features = [ "serde" ] }
[features]
default = []
quote = ["dep:quote", "dep:proc-macro2"]