Skip to content

Commit

Permalink
Add libxmtp version to requests (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas authored Aug 29, 2024
1 parent 7e0986a commit 03471ef
Show file tree
Hide file tree
Showing 22 changed files with 281 additions and 164 deletions.
18 changes: 9 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ exclude = ["bindings_ffi", "bindings_wasm", "bindings_node"]
# See https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#details
resolver = "2"

[workspace.package]
version = "0.0.1"

[workspace.dependencies]
anyhow = "1.0"
async-stream = "0.3"
Expand Down
16 changes: 8 additions & 8 deletions bindings_ffi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions bindings_ffi/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "xmtpv3"
version = "0.1.0"
version = "0.0.1"

[lib]
crate-type = ["lib", "cdylib", "staticlib"]
Expand All @@ -10,6 +10,7 @@ crate-type = ["lib", "cdylib", "staticlib"]
env_logger = "0.11.3"
futures = "0.3.28"
log = { version = "0.4", features = ["std"] }
parking_lot = "0.12.3"
thiserror = "1.0"
thread-id = "4.2.1"
tokio = { version = "1.28.1", features = ["macros"] }
Expand All @@ -22,7 +23,6 @@ xmtp_mls = { path = "../xmtp_mls", features = ["grpc", "native"] }
xmtp_proto = { path = "../xmtp_proto", features = ["proto_full", "grpc"] }
xmtp_user_preferences = { path = "../xmtp_user_preferences" }
xmtp_v2 = { path = "../xmtp_v2" }
parking_lot = "0.12.3"

tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# NOTE: A regression in openssl-sys exists where libatomic is dynamically linked
Expand All @@ -47,9 +47,9 @@ ethers-core = "2.0.13"
tempfile = "3.5.0"
tokio = { version = "1.28.1", features = ["full"] }
tokio-test = "0.4"
uniffi = { version = "0.28.0", features = ["bindgen-tests"] }
tracing-subscriber = "0.3"
uuid = { version = "1.9", features = ["v4", "fast-rng" ] }
uniffi = { version = "0.28.0", features = ["bindgen-tests"] }
uuid = { version = "1.9", features = ["v4", "fast-rng"] }

# NOTE: The release profile reduces bundle size from 230M to 41M - may have performance impliciations
# https://stackoverflow.com/a/54842093
Expand Down
12 changes: 6 additions & 6 deletions bindings_node/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions mls_validation_service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "mls_validation_service"
version = "0.1.0"
version.workspace = true

[[bin]] # Bin to run the Validation Service
name = "mls-validation-service"
Expand All @@ -11,8 +11,8 @@ path = "src/main.rs"
clap = { version = "4.4.6", features = ["derive"] }
ed25519-dalek = { workspace = true, features = ["digest"] }
env_logger = "0.11"
hex = { workspace = true }
futures = { workspace = true }
hex = { workspace = true }
log = { workspace = true }
openmls = { workspace = true }
openmls_rust_crypto = { workspace = true }
Expand All @@ -24,7 +24,7 @@ tokio = { workspace = true, features = ["full"] }
tonic = { workspace = true }
warp = "0.3.6"
xmtp_id.workspace = true
xmtp_mls.workspace = true
xmtp_mls.workspace = true
xmtp_proto = { path = "../xmtp_proto", features = [
"proto_full",
"grpc",
Expand All @@ -34,9 +34,8 @@ xmtp_proto = { path = "../xmtp_proto", features = [

[dev-dependencies]
anyhow.workspace = true
ethers.workspace = true
ethers.workspace = true
openmls_basic_credential = { workspace = true, features = ["test-utils"] }
rand = { workspace = true }
sha2.workspace = true
xmtp_id = { workspace = true, features = ["test-utils"]}

xmtp_id = { workspace = true, features = ["test-utils"] }
6 changes: 3 additions & 3 deletions xmtp_api_grpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
edition = "2021"
name = "xmtp_api_grpc"
version = "0.1.0"
version.workspace = true

[dependencies]
async-stream.workspace = true
base64 = "0.22"
futures.workspace = true
hex.workspace = true
log = { workspace = true, features = ["std"] }
pbjson-types.workspace = true
pbjson.workspace = true
pbjson-types.workspace = true
prost = { workspace = true, features = ["prost-derive"] }
serde = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
Expand All @@ -19,9 +19,9 @@ tonic = { workspace = true, features = [
"tls-roots",
"tls-webpki-roots",
] }
tracing.workspace = true
xmtp_proto = { path = "../xmtp_proto", features = ["proto_full", "grpc"] }
xmtp_v2 = { path = "../xmtp_v2" }
tracing.workspace = true

[dev-dependencies]
uuid = { version = "1.3.1", features = ["v4"] }
Loading

0 comments on commit 03471ef

Please sign in to comment.