-
Notifications
You must be signed in to change notification settings - Fork 90
Expand file tree
/
Copy pathCargo.toml
More file actions
97 lines (85 loc) · 2.6 KB
/
Copy pathCargo.toml
File metadata and controls
97 lines (85 loc) · 2.6 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
[package]
name = "xmtpv3"
description = "iOS/Android bindings to the XMTP mls libraries"
license.workspace = true
version.workspace = true
rust-version.workspace = true
edition.workspace = true
publish.workspace = true
[lints]
workspace = true
[lib]
crate-type = ["lib", "cdylib", "staticlib"]
[dependencies]
async-trait.workspace = true
chrono.workspace = true
futures.workspace = true
hex.workspace = true
parking_lot.workspace = true
prost.workspace = true
serde_json.workspace = true
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
uniffi = { version = "0.31.0", default-features = false, features = ["tokio"] }
xmtp_api.workspace = true
xmtp_api_d14n.workspace = true
xmtp_api_grpc.workspace = true
xmtp_common.workspace = true
xmtp_configuration.workspace = true
xmtp_content_types.workspace = true
xmtp_cryptography.workspace = true
xmtp_db.workspace = true
xmtp_id.workspace = true
xmtp_logging.workspace = true
xmtp_mls.workspace = true
xmtp_proto.workspace = true
# Bench
alloy = { workspace = true, optional = true }
criterion = { workspace = true, optional = true }
fdlimit = { version = "0.3", optional = true }
xmtp-workspace-hack.workspace = true
[build-dependencies]
uniffi = { version = "0.31.0", features = ["build"] }
vergen-gix = { workspace = true, features = ["build"] }
[[bin]]
name = "ffi-uniffi-bindgen"
path = "bindgen/bin.rs"
required-features = ["uniffi/cli"]
[[bin]]
name = "ffi-uniffi-bindgen-swift"
path = "bindgen/bin-swift.rs"
required-features = ["uniffi/cli"]
[dev-dependencies]
alloy.workspace = true
async-trait.workspace = true
chrono.workspace = true
ctor.workspace = true
fdlimit.workspace = true
rand.workspace = true
tokio = { workspace = true, features = ["rt-multi-thread"] }
uniffi = { version = "0.31.0", features = ["bindgen-tests"] }
uuid = { workspace = true, features = ["v4", "fast-rng"] }
xmtp_api_grpc = { workspace = true, features = ["test-utils"] }
xmtp_archive = { workspace = true, features = ["test-utils"] }
xmtp_common = { workspace = true, features = ["test-utils"] }
xmtp_configuration = { workspace = true, features = ["test-utils"] }
xmtp_db = { workspace = true, features = ["test-utils"] }
xmtp_logging = { workspace = true, features = ["test-utils"] }
xmtp_macro.workspace = true
xmtp_mls = { workspace = true, features = ["test-utils"] }
xmtp_proto = { workspace = true, features = ["test-utils"] }
[features]
bench = [
"xmtp_mls/bench",
"xmtp_common/bench",
"dep:criterion",
"dep:fdlimit",
"dep:alloy",
]
d14n = []
dev = ["xmtp_configuration/dev", "xmtp_mls/dev"]
[[bench]]
harness = false
name = "create_client"
required-features = ["bench"]