Jonas Platte ebb09589f9
Remove authors field from Cargo manifests
It's no longer necessary and authorship is much better tracked with git.
2022-02-12 13:46:44 +01:00

39 lines
1.3 KiB
TOML

[package]
categories = ["api-bindings"]
description = "Resource identifiers for Matrix."
homepage = "https://www.ruma.io/"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-identifiers"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
version = "0.20.0"
edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["serde"]
compat = ["ruma-identifiers-validation/compat"]
rand = ["rand_crate", "uuid"]
serde = ["ruma-serde", "serde1"]
[dependencies]
either = { version = "1.6.1", optional = true }
percent-encoding = "2.1.0"
rand_crate = { package = "rand", version = "0.8.3", optional = true }
ruma-identifiers-macros = { version = "=0.20.0", path = "../ruma-identifiers-macros" }
ruma-identifiers-validation = { version = "0.5.0", path = "../ruma-identifiers-validation", default-features = false }
ruma-serde = { version = "0.5.0", path = "../ruma-serde", optional = true }
ruma-serde-macros = { version = "0.5.0", path = "../ruma-serde-macros" }
# Renamed so we can have a serde feature.
serde1 = { package = "serde", version = "1.0.126", optional = true, features = ["derive"] }
uuid = { version = "0.8.2", optional = true, features = ["v4"] }
[dev-dependencies]
matches = "0.1.8"
serde_json = "1.0.64"
trybuild = "1.0.42"