[badges.maintenance]
status = "passively-maintained"
[dependencies.bitflags]
version = "2"
[dependencies.log]
optional = true
version = "0.4"
[dependencies.num-traits]
version = "0.2"
[dependencies.once_cell]
version = "1"
[dependencies.scopeguard]
version = "1"
[dependencies.sys]
package = "libstrophe-sys-bindgen"
version = "8"
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.names]
version = "0.14"
[dev-dependencies.trybuild]
version = "1"
[[example]]
name = "bot_closure"
path = "examples/bot_closure.rs"
[[example]]
name = "bot_fn"
path = "examples/bot_fn.rs"
[features]
buildtime_bindgen = ["sys/buildtime_bindgen"]
default = ["rust-log", "libstrophe-0_14"]
libstrophe-0_10_0 = ["libstrophe-0_9_3"]
libstrophe-0_11_0 = ["libstrophe-0_10_0"]
libstrophe-0_12_0 = ["libstrophe-0_11_0"]
libstrophe-0_13 = ["libstrophe-0_12_0"]
libstrophe-0_14 = ["libstrophe-0_13"]
libstrophe-0_9_3 = []
rust-log = ["log"]
[lib]
name = "libstrophe"
path = "src/lib.rs"
[package]
authors = ["Pro <twisted.fall@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "network-programming"]
description = "Rust ergonomic wrapper for libstrophe"
documentation = "https://docs.rs/libstrophe"
edition = "2024"
exclude = ["/.github", "/ci", "/tools", ".gitignore", "release.toml", "rustfmt.toml"]
keywords = ["jabber", "xmpp", "libstrophe", "messaging", "im"]
license = "LGPL-3.0"
name = "libstrophe"
readme = "README.md"
repository = "https://github.com/twistedfall/libstrophe"
rust-version = "1.85.0"
version = "0.20.3"
[[test]]
name = "tests"
path = "tests/tests.rs"