-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathCargo.toml
More file actions
70 lines (62 loc) · 1.83 KB
/
Cargo.toml
File metadata and controls
70 lines (62 loc) · 1.83 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
[package]
edition = "2024"
name = "bindings_node"
version.workspace = true
description = "nodeJS bindings to the XMTP mls libraries"
license.workspace = true
[lints]
workspace = true
[lib]
crate-type = ["cdylib"]
[dependencies]
async-trait.workspace = true
chrono = { workspace = true, features = ["serde"] }
futures.workspace = true
hex.workspace = true
# Default enable napi4 feature, see https://nodejs.org/api/n-api.html#node-api-version-matrix
napi = { version = "3.4.0", default-features = false, features = [
"napi6",
"async",
"serde-json",
] }
napi-derive = "3.3.0"
prost.workspace = true
serde_json.workspace = true
tokio = { workspace = true, features = ["sync"] }
tracing = { workspace = true, features = ["release_max_level_debug"] }
tracing-subscriber = { workspace = true, features = [
"env-filter",
"fmt",
"json",
"chrono",
] }
xmtp_api.workspace = true
xmtp_api_d14n.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_macro.workspace = true
xmtp_mls.workspace = true
xmtp_proto.workspace = true
# For some reason these don't work when added as dev-dependencies
xmtp-workspace-hack = { version = "0.1", path = "../../crates/xmtp-workspace-hack" }
xmtp_api_grpc = { workspace = true, optional = true }
[build-dependencies]
napi-build = "2.0.1"
[dev-dependencies]
# Add self as dev dependency to automatically enable the test-utils feature
bindings_node = { path = ".", features = ["test-utils"] }
chrono.workspace = true
toxiproxy_rust.workspace = true
[package.metadata.cross.build.env]
volumes = ["__LIB12_DEP=../"]
[features]
test-utils = [
"dep:xmtp_api_grpc",
"xmtp_api_grpc/test-utils",
"xmtp_mls/test-utils",
"xmtp_proto/test-utils",
]