[package] name = "xmpp-http-upload" version = "0.5.1" authors = ["Luna (nyovaya) l.lux@magenta.de"] description = "A simple external http upload server for XMPP" readme = "README.md" repository = "https://gitlab.com/nyovaya/xmpp-http-upload" license = "MPL-2.0" keywords = ["xmpp", "http", "jabber"] edition = "2021" exclude = ["/tests"] [dependencies] sha2 = "0.10.8" hmac = "0.12.1" percent-encoding = "2.3.1" qstring = "0.7.2" hex = "0.4.3" toml = "0.8" serde = "1.0" serde_derive = "1.0.80" serde_cbor = { version = "0.11.0", optional = true } mime_serde_shim = "0.2" mime = "0.3" chrono = { version = "0.4.38", default-features = false, features = ["now", "serde"] } signal-hook = "0.3.17" lockfile = "0.4.0" tiny_http = { version = "0.12.0", default-features = false } http = "1.1.0" url = "2.5.0" getargs = "0.5.0" daemonize = "0.5.0" sqlite = { version = "0.36.0", optional = true } libpq = { version = "4.1.0", optional = true } [features] default = [ "postgres", "sqlite", "localfiledb"] sqlite = [ "dep:sqlite" ] postgres = [ "dep:libpq" ] localfiledb = [ "dep:serde_cbor" ] [dev-dependencies] curl = { version = "0.4.46", default-features = false } digest = { version = "0.10.7", default-features = false } nanorand = { version = "0.7.0", default-features = false, features = ["wyrand", "alloc"] } unicode-blocks = "0.1.9"