ruma-common 0.15.2

Common types for other ruma crates.
Documentation
[dependencies.as_variant]
version = "1.2.0"

[dependencies.base64]
version = "0.22.0"

[dependencies.bytes]
version = "1.0.1"

[dependencies.form_urlencoded]
version = "1.0.0"

[dependencies.getrandom]
optional = true
version = "0.2.6"

[dependencies.http]
optional = true
version = "1.1.0"

[dependencies.indexmap]
features = ["serde"]
version = "2.0.0"

[dependencies.js_int]
features = ["serde"]
version = "0.2.2"

[dependencies.konst]
default-features = false
features = ["cmp", "iter", "parsing"]
optional = true
version = "0.3.5"

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

[dependencies.rand]
optional = true
version = "0.8.5"

[dependencies.regex]
default-features = false
features = ["std", "perf"]
version = "1.5.6"

[dependencies.ruma-identifiers-validation]
version = "0.10.1"

[dependencies.ruma-macros]
version = "=0.15.1"

[dependencies.serde]
features = ["derive"]
version = "1.0.164"

[dependencies.serde_html_form]
version = "0.2.0"

[dependencies.serde_json]
features = ["raw_value"]
version = "1.0.87"

[dependencies.thiserror]
version = "2.0.0"

[dependencies.time]
version = "0.3.34"

[dependencies.tracing]
default-features = false
features = ["std", "attributes"]
version = "0.1.37"

[dependencies.url]
version = "2.5.0"

[dependencies.uuid]
features = ["v4"]
optional = true
version = "1.0.0"

[dependencies.web-time]
version = "1.1.0"

[dependencies.wildmatch]
version = "2.0.0"

[dev-dependencies.assert_matches2]
version = "0.1.0"

[dev-dependencies.assign]
version = "1.1.1"

[dev-dependencies.maplit]
version = "1.0.2"

[dev-dependencies.trybuild]
version = "1.0.71"

[features]
api = ["dep:http", "dep:konst"]
canonical-json = []
client = []
compat-arbitrary-length-ids = ["ruma-identifiers-validation/compat-arbitrary-length-ids"]
compat-empty-string-null = []
compat-null = []
compat-optional = []
compat-server-signing-key-version = ["ruma-identifiers-validation/compat-server-signing-key-version"]
compat-user-id = ["ruma-identifiers-validation/compat-user-id"]
default = ["client", "server"]
js = ["dep:js-sys", "getrandom?/js", "uuid?/js"]
rand = ["dep:rand", "dep:getrandom", "dep:uuid"]
server = []
unstable-msc2870 = []
unstable-msc3930 = []
unstable-msc3931 = []
unstable-msc3932 = ["unstable-msc3931"]
unstable-unspecified = []

[lib]
name = "ruma_common"
path = "src/lib.rs"

[lints.clippy]
arc_with_non_send_sync = "allow"
branches_sharing_code = "warn"
cloned_instead_of_copied = "warn"
dbg_macro = "warn"
disallowed_types = "warn"
empty_line_after_outer_attr = "warn"
exhaustive_enums = "warn"
exhaustive_structs = "warn"
inefficient_to_string = "warn"
macro_use_imports = "warn"
map_flatten = "warn"
missing_enforced_import_renames = "warn"
mod_module_files = "warn"
mut_mut = "warn"
new_without_default = "allow"
nonstandard_macro_braces = "warn"
semicolon_if_nothing_returned = "warn"
str_to_string = "warn"
todo = "warn"
unreadable_literal = "warn"
unseparated_literal_suffix = "warn"
wildcard_imports = "warn"

[lints.rust]
semicolon_in_expressions_from_macros = "warn"
unreachable_pub = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[lints.rust.unexpected_cfgs]
check-cfg = ['cfg(ruma_identifiers_storage, values("Arc"))', "cfg(ruma_unstable_exhaustive_types)"]
level = "warn"
priority = 0

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
description = "Common types for other ruma crates."
edition = "2021"
homepage = "https://ruma.dev/"
keywords = ["matrix", "chat", "messaging", "ruma"]
license = "MIT"
name = "ruma-common"
readme = "README.md"
repository = "https://github.com/ruma/ruma"
rust-version = "1.75"
version = "0.15.2"

[package.metadata.docs.rs]
all-features = true

[target.'cfg(all(target_arch = "wasm32", target_os = "unknown"))'.dependencies.js-sys]
optional = true
version = "0.3"

[[test]]
name = "it"
path = "tests/it/main.rs"