-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCargo.toml
69 lines (64 loc) · 2.4 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
[package]
name = "convex"
description = "Client library for Convex (convex.dev)"
authors = [ "Convex, Inc. <[email protected]>" ]
version = "0.9.0"
edition = "2021"
rust-version = "1.71.1"
resolver = "2"
license = "Apache-2.0"
repository = "https://github.com/get-convex/convex-rs"
homepage = "https://www.convex.dev/"
[dependencies]
anyhow = { version = "1" }
async-trait = { version = "0.1" }
base64 = { version = "0.13" }
bytes = { version = "1.6.0" }
convex_sync_types = { path = "./sync_types", version = "=0.9.0" }
futures = { version = "0.3" }
imbl = { version = "3.0.0" }
parking_lot = { optional = true, version = "0.12", features = [ "hardware-lock-elision" ] }
proptest = { optional = true, version = "1" }
proptest-derive = { optional = true, version = "0.5.0" }
rand = { version = "0.8" }
serde_json = { features = [ "float_roundtrip", "preserve_order" ], version = "1" }
thiserror = { version = "1" }
tokio = { features = [ "full" ], version = "1" }
tokio-stream = { features = [ "io-util", "sync" ], version = "0.1" }
tokio-tungstenite = { features = [], version = "0.21.0" }
tracing = { version = "0.1" }
url = { version = "2.5.4" }
uuid = { features = [ "serde", "v4" ], version = "1.6" }
[dev-dependencies]
colored = { version = "2" }
convex_sync_types = { path = "./sync_types", version = "=0.9.0", features = [ "testing" ] }
dotenvy = { version = "0.15.7" }
maplit = { version = "1" }
parking_lot = { version = "0.12", features = [ "hardware-lock-elision" ] }
pretty_assertions = { version = "1" }
proptest = { version = "1" }
proptest-derive = { version = "0.5.0" }
tracing-subscriber = { features = [ "env-filter" ], version = "0.3.17" }
[features]
default = [ "native-tls-vendored" ]
native-tls = [ "tokio-tungstenite/native-tls" ]
native-tls-vendored = [ "tokio-tungstenite/native-tls-vendored" ]
rustls-tls-native-roots = [ "tokio-tungstenite/rustls-tls-native-roots" ]
rustls-tls-webpki-roots = [ "tokio-tungstenite/rustls-tls-webpki-roots" ]
testing = [ "convex_sync_types/testing", "proptest", "proptest-derive", "parking_lot" ]
[lints.rust]
unused_extern_crates = "warn"
[lints.clippy]
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
large_enum_variant = "allow"
manual_map = "allow"
new_without_default = "allow"
op_ref = "allow"
ptr_arg = "allow"
single_match = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
upper_case_acronyms = "allow"
useless_format = "allow"
useless_vec = "allow"