-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathCargo.toml
More file actions
107 lines (93 loc) · 2.91 KB
/
Cargo.toml
File metadata and controls
107 lines (93 loc) · 2.91 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
98
99
100
101
102
103
104
105
106
107
[package]
edition = "2024"
name = "xmtpv3"
version.workspace = true
license.workspace = true
description = "iOS/Android bindings to the XMTP mls libraries"
[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, features = ["macros"] }
tracing = { workspace = true, features = ["release_max_level_debug"] }
tracing-appender = "0.2"
tracing-subscriber = { workspace = true, features = [
"registry",
"env-filter",
"fmt",
"json",
] }
uniffi = { version = "0.29.0", default-features = false, features = ["tokio"] }
xmtp_api.workspace = true
xmtp_api_d14n.workspace = true
xmtp_api_grpc.workspace = true
xmtp_common = { workspace = true, features = ["logging"] }
xmtp_configuration.workspace = true
xmtp_content_types.workspace = true
xmtp_cryptography.workspace = true
xmtp_db.workspace = true
xmtp_id.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 = { version = "0.1", path = "../../crates/xmtp-workspace-hack" }
[target.'cfg(target_os = "android")'.dependencies]
paranoid-android = "0.2"
tracing_android_trace = "0.1"
[target.'cfg(target_os = "ios")'.dependencies]
tracing-oslog = "0.2"
[build-dependencies]
uniffi = { version = "0.29.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.29.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_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"]
[lints]
workspace = true