1[package]
2name = "sasl"
3version = "0.5.2"
4authors = ["lumi <lumi@pew.im>"]
5description = "A crate for SASL authentication. Currently only does the client side."
6homepage = "https://gitlab.com/xmpp-rs/xmpp-rs"
7repository = "https://gitlab.com/xmpp-rs/xmpp-rs"
8documentation = "https://docs.rs/sasl"
9readme = "README.md"
10keywords = ["sasl", "authentication"]
11license = "MPL-2.0"
12edition = "2021"
13
14[badges]
15gitlab = { repository = "xmpp-rs/xmpp-rs" }
16
17[features]
18default = ["scram", "anonymous"]
19scram = ["base64", "getrandom", "sha1", "sha2", "hmac", "pbkdf2"]
20anonymous = ["getrandom"]
21
22[dependencies]
23base64 = { version = "0.22", optional = true }
24getrandom = { version = "0.3", optional = true }
25sha1 = { version = "0.10", optional = true }
26sha2 = { version = "0.10", optional = true }
27hmac = { version = "0.12", optional = true }
28pbkdf2 = { version = "0.12", default-features = false, optional = true }
29
30[package.metadata.docs.rs]
31all-features = true
32rustdoc-args = ["--cfg", "docsrs"]