56 lines
2.1 KiB
TOML
56 lines
2.1 KiB
TOML
[package]
|
|
categories = ["api-bindings", "web-programming"]
|
|
description = "A Matrix client library."
|
|
homepage = "https://ruma.dev/"
|
|
keywords = ["matrix", "chat", "messaging", "ruma"]
|
|
license = "MIT"
|
|
name = "ruma-client"
|
|
readme = "README.md"
|
|
repository = "https://github.com/ruma/ruma"
|
|
version = "0.13.0"
|
|
edition = "2021"
|
|
rust-version = { workspace = true }
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
|
|
[features]
|
|
client-api = ["dep:as_variant", "dep:ruma-client-api"]
|
|
|
|
# HTTP clients
|
|
hyper = ["dep:http-body-util", "dep:hyper", "dep:hyper-util"]
|
|
hyper-native-tls = ["hyper", "dep:hyper-tls"]
|
|
hyper-rustls = ["hyper", "dep:hyper-rustls"]
|
|
reqwest = ["dep:reqwest"]
|
|
reqwest-native-tls = ["reqwest", "reqwest?/native-tls"]
|
|
reqwest-native-tls-alpn = ["reqwest", "reqwest?/native-tls-alpn"]
|
|
reqwest-native-tls-vendored = ["reqwest", "reqwest?/native-tls-vendored"]
|
|
reqwest-rustls-manual-roots = ["reqwest", "reqwest?/rustls-tls-manual-roots"]
|
|
reqwest-rustls-webpki-roots = ["reqwest", "reqwest?/rustls-tls-webpki-roots"]
|
|
reqwest-rustls-native-roots = ["reqwest", "reqwest?/rustls-tls-native-roots"]
|
|
|
|
[dependencies]
|
|
as_variant = { workspace = true, optional = true }
|
|
assign = { workspace = true }
|
|
async-stream = "0.3.0"
|
|
bytes = { workspace = true }
|
|
futures-core = "0.3.8"
|
|
http = { workspace = true }
|
|
http-body-util = { version = "0.1.1", optional = true }
|
|
hyper = { version = "1.3.1", optional = true, features = ["client", "http1", "http2"] }
|
|
hyper-rustls = { version = "0.27.1", optional = true, default-features = false }
|
|
hyper-tls = { version = "0.6.0", optional = true }
|
|
hyper-util = { version = "0.1.3", optional = true, features = ["client-legacy", "http1", "http2", "tokio"] }
|
|
reqwest = { version = "0.12.4", optional = true, default-features = false }
|
|
ruma-client-api = { workspace = true, optional = true, features = ["client"] }
|
|
ruma-common = { workspace = true, features = ["api"] }
|
|
serde_html_form = { workspace = true }
|
|
tracing = { version = "0.1.30", default-features = false, features = ["std"] }
|
|
|
|
[dev-dependencies]
|
|
ruma-client-api = { workspace = true, features = ["client"] }
|
|
tokio-stream = "0.1.8"
|
|
|
|
[lints]
|
|
workspace = true
|