[package]
authors = ["Jimmy Cuadra <jimmy@jimmycuadra.com>"]
categories = ["api-bindings", "web-programming"]
description = "An abstraction for Matrix API endpoints."
documentation = "https://docs.rs/ruma-api"
homepage = "https://github.com/ruma/ruma-api"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-api"
readme = "README.md"
repository = "https://github.com/ruma/ruma-api"
version = "0.10.0"
edition = "2018"

[dependencies]
http = "0.1.18"
serde_json = "1.0.40"
serde_urlencoded = "0.6.1"
ruma-identifiers = "0.14.0"

[dependencies.percent-encoding]
version = "2.1.0"
optional = true

[dependencies.ruma-api-macros]
version = "0.7.1"
path = "ruma-api-macros"
optional = true

[dependencies.serde]
version = "1.0.99"
features = ["derive"]
optional = true

[dependencies.url]
version = "2.1.0"
optional = true

[features]
default = ["with-ruma-api-macros"]
with-ruma-api-macros = ["percent-encoding", "ruma-api-macros", "serde", "url"]

[workspace]
members = [
  "ruma-api-macros",
]

[package]
authors = ["Jimmy Cuadra <jimmy@jimmycuadra.com>"]
categories = ["api-bindings", "web-programming"]
description = "An abstraction for Matrix API endpoints."
documentation = "https://docs.rs/ruma-api"
homepage = "https://github.com/ruma/ruma-api"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-api"
readme = "README.md"
repository = "https://github.com/ruma/ruma-api"
version = "0.10.0"
edition = "2018"

[dependencies]
http = "0.1.18"
serde_json = "1.0.40"
serde_urlencoded = "0.6.1"
ruma-identifiers = "0.14.0"

[dependencies.ruma-api-macros]
version = "0.7.1"
path = "ruma-api-macros"
optional = true

[dependencies.serde]
version = "1.0.99"
features = ["derive"]
optional = true

[dependencies.url]
version = "2.1.0"
optional = true

[features]
default = ["with-ruma-api-macros"]
with-ruma-api-macros = ["ruma-api-macros", "serde", "url"]

[workspace]
members = [
  "ruma-api-macros",
]

Remove percent-encoding dependency (not currently used)
Remove percent-encoding dependency (not currently used)
