forked from ruma/ruma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
84 lines (77 loc) · 2.86 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[workspace]
members = ["crates/*", "xtask"]
# Only compile / check / document the public crates by default
default-members = ["crates/*"]
resolver = "2"
[workspace.package]
rust-version = "1.75"
[workspace.dependencies]
as_variant = "1.2.0"
assert_matches2 = "0.1.0"
assign = "1.1.1"
base64 = "0.22.0"
bytes = "1.0.1"
criterion = "0.5.0"
http = "1.1.0"
js_int = "0.2.2"
maplit = "1.0.2"
rand = "0.8.5"
ruma-appservice-api = { version = "0.11.0", path = "crates/ruma-appservice-api" }
ruma-common = { version = "0.14.1", path = "crates/ruma-common" }
ruma-client = { version = "0.14.0", path = "crates/ruma-client" }
ruma-client-api = { version = "0.19.0", path = "crates/ruma-client-api" }
ruma-events = { version = "0.29.1", path = "crates/ruma-events" }
ruma-federation-api = { version = "0.10.0", path = "crates/ruma-federation-api" }
ruma-html = { version = "0.3.0", path = "crates/ruma-html" }
ruma-identifiers-validation = { version = "0.10.0", path = "crates/ruma-identifiers-validation" }
ruma-identity-service-api = { version = "0.10.0", path = "crates/ruma-identity-service-api" }
ruma-macros = { version = "=0.14.0", path = "crates/ruma-macros" }
ruma-push-gateway-api = { version = "0.10.0", path = "crates/ruma-push-gateway-api" }
ruma-signatures = { version = "0.16.0", path = "crates/ruma-signatures" }
ruma-server-util = { version = "0.4.0", path = "crates/ruma-server-util" }
ruma-state-res = { version = "0.12.0", path = "crates/ruma-state-res" }
serde = { version = "1.0.164", features = ["derive"] }
serde_html_form = "0.2.0"
serde_json = "1.0.87"
thiserror = "1.0.37"
tracing = { version = "0.1.37", default-features = false, features = ["std"] }
url = { version = "2.5.0" }
web-time = "1.1.0"
[workspace.lints.rust]
rust_2018_idioms = { level = "warn", priority = -1 }
semicolon_in_expressions_from_macros = "warn"
unreachable_pub = "warn"
unused_import_braces = "warn"
unused_qualifications = "warn"
[workspace.lints.clippy]
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"
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"
# Not that good of a lint
new_without_default = "allow"
# Disabled temporarily because it triggers false positives for types with generics.
arc_with_non_send_sync = "allow"
[profile.dev]
# Speeds up test times by more than 10% in a simple test
# Set to 1 or 2 if you want to use a debugger in this workspace
debug = 0
[profile.dev.package]
# Also speeds up test times a little bit
quote = { opt-level = 2 }