Skip to content

Commit

Permalink
Various updates (#1014)
Browse files Browse the repository at this point in the history
* Remove xmtp_api_grpc_gateway crate

* Fix linux musl toolchain install

* Prep node bindings release
  • Loading branch information
rygine authored Aug 29, 2024
1 parent c12c0e3 commit 7e0986a
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 4,510 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release-node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ jobs:
- name: Configure x86_64-unknown-linux-musl toolchain
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
run: |
sudo apt-get update
sudo apt-get install -y musl-tools
- name: Setup node
Expand Down
9 changes: 2 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@ members = [
"xmtp_id",
]

exclude = [
"bindings_ffi",
"bindings_wasm",
"xmtp_api_grpc_gateway",
"bindings_node",
]
exclude = ["bindings_ffi", "bindings_wasm", "bindings_node"]

# Make the feature resolver explicit.
# See https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html#details
Expand All @@ -36,6 +31,7 @@ ethers = "2.0.11"
ethers-core = "2.0.4"
futures = "0.3.30"
futures-core = "0.3.30"
getrandom = { version = "0.2", default-features = false }
hex = "0.4.3"
log = { version = "0.4" }
openmls = { git = "https://github.com/xmtp/openmls", rev = "87e7e257d8eb15d6662b104518becfc75ef6db76", default-features = false }
Expand All @@ -59,7 +55,6 @@ tonic = "^0.11"
tracing = { version = "0.1" }
tracing-subscriber = "0.3"
url = "2.5.0"
getrandom = { version = "0.2", default-features = false }

# Internal Crate Dependencies
xmtp_cryptography = { path = "xmtp_cryptography" }
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ libxmtp/

├ examples/

  [`android/xmtpv3_example`](./examples/android/xmtpv3_example): Example Android app (in progress)
[`android/xmtpv3_example`](./examples/android/xmtpv3_example): Example Android app (in progress)

  [`cli`](./examples/cli): Example XMTP console client. Use the CLI to try out sending double ratchet messages on the XMTP `dev` network.
[`cli`](./examples/cli): Example XMTP console client. Use the CLI to try out sending double ratchet messages on the XMTP `dev` network.

[`xmtp_api_grpc`](./xmtp_api_grpc): API client for XMTP's gRPC API, using code from `xmtp_proto`

[`xmtp_api_grpc_gateway`](./xmtp_api_grpc_gateway): API client for XMTP's gRPC Gateway API, using code from `xmtp_proto` (in progress)
[`xmtp_api_http`](./xmtp_api_http): API client for XMTP's gRPC Gateway API, using code from `xmtp_proto`

[`xmtp_cryptography`](./xmtp_cryptography): Cryptographic operations

Expand All @@ -71,7 +71,6 @@ libxmtp/

[`xmtp_v2`](./xmtp_v2): Version 2 of XMTP which uses a [user key bundle](https://xmtp.org/docs/concepts/key-generation-and-usage) to encrypt and exchange messages.


### Run the benchmarks

**possible benchmarks include:**
Expand Down
5 changes: 5 additions & 0 deletions bindings_node/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @xmtp/mls-client-bindings-node

## 0.0.10

- Fixed several group syncing issues
- Improved performance

## 0.0.9

- Added optimistic sending
Expand Down
2 changes: 1 addition & 1 deletion bindings_node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xmtp/mls-client-bindings-node",
"version": "0.0.9",
"version": "0.0.10",
"repository": {
"type": "git",
"url": "git+https://git@github.com/xmtp/libxmtp.git",
Expand Down
Loading

0 comments on commit 7e0986a

Please sign in to comment.