ruwuma/old/ruma-state-res/.clippy.toml
June Clementine Strawberry 8347cc08ef
stop building ruma-state-res as it now lives inside conduwuit
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-03-05 22:54:00 -05:00

21 lines
857 B
TOML

avoid-breaking-exported-api = false
disallowed-methods = [
# https://github.com/serde-rs/json/issues/160
"serde_json::from_reader",
]
disallowed-types = []
enforced-import-renames = [
{ path = "serde_json::from_slice", rename = "from_json_slice" },
{ path = "serde_json::from_str", rename = "from_json_str" },
{ path = "serde_json::from_value", rename = "from_json_value" },
{ path = "serde_json::to_value", rename = "to_json_value" },
{ path = "serde_json::value::to_raw_value", rename = "to_raw_json_value" },
{ path = "serde_json::value::RawValue", rename = "RawJsonValue" },
{ path = "serde_json::Value", rename = "JsonValue" },
]
standard-macro-braces = [
{ name = "btreeset", brace = "[" },
{ name = "btreemap", brace = "{" },
{ name = "hashset", brace = "[" },
{ name = "hashmap", brace = "{" },
]