-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathCargo.toml
43 lines (38 loc) · 1.18 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
[package]
edition = "2021"
license.workspace = true
name = "xmtp_api_grpc"
version.workspace = true
[dependencies]
async-stream.workspace = true
async-trait = "0.1"
base64.workspace = true
futures.workspace = true
hex.workspace = true
prost = { workspace = true, features = ["prost-derive"] }
tokio = { workspace = true, features = ["macros", "time"] }
tracing.workspace = true
xmtp_proto = { path = "../xmtp_proto", features = ["proto_full"] }
xmtp_v2 = { path = "../xmtp_v2" }
zeroize.workspace = true
# Anything but iOS and Android will use either webpki or native.
# If native certs are not found, it will fallback to webpki
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tonic = { workspace = true, features = [
"default",
"tls",
"tls-native-roots",
"tls-webpki-roots"
] }
# Force Android + iOS to use webki
[target.'cfg(any(target_os = "android", target_os = "ios"))'.dependencies]
tonic = { workspace = true, features = [
"default",
"tls",
"tls-webpki-roots",
] }
[dev-dependencies]
uuid = { workspace = true, features = ["v4"] }
xmtp_proto = { path = "../xmtp_proto", features = ["test-utils"] }
[features]
test-utils = ["xmtp_proto/test-utils"]