Skip to content

Commit

Permalink
feat: Build grpc API with swift-bridge and package with Swift (#50)
Browse files Browse the repository at this point in the history
* feat: get gRPC compiling into networking crate

* fix: attempt to fix weird package name nesting situation

* fix: actually got it right

* feat: add silly grpc client test

* feat: added crappy grpc test

* wip: need to run local node to test

* wip: checkpoint, getting connection error detected: frame with invalid size, trying to add tls now

* feat: rountrip publish/query in Rust

* docs: fix up comments

* feat: do a full grpc roundtrip as a Swift test

* docs: remove warnings

* fix: return uint16 status code for grpc test too

* fix: chunk up auth token to avoid false positives in secret detection

* feat: everything builds, Generated code is populated, now need to hook up to xmtp-ios

* feat: Swift-Bridge, manually copy headers into include

* fix: strip out corecrypto for now, framework down to 230MB

* feat: add library size optimizations

* feat: refactor into publish and query with serialized versions

* feat: cleaned up and implemented query and publish

* style: ran clippy

* feat: full e2e build working, if jank

* test: added a failing base64 bytes encoding test

* fix: do a serde encoding override to base64 encode bytes fields in MessageApi

* feat: implement subscribe_once api

* Simplify proto gen (#52)

* Initial commit

* Include lib

* Add features

* Correct import

* Add feature

* Add pbjson

* Almost passing

* Add build.rs

* Add .gitignore

* Rename folder

* Remove generated code

* Gitignore generated

* Automatically install required dependency

* fix: Makefile change target dir to ./target workaround Cargo workspace

* Update gitignore

* Delete .gitmodules

* Delete Cargo.lock

* fix: remove bindings/xmtp_rust_swift from cargo workspace

* fix: remove xmtp_rust_swift from workspace to use size-optimized profiles

---------

Co-authored-by: Nicholas Molnar <[email protected]>
Co-authored-by: Nicholas Molnar <[email protected]>
  • Loading branch information
3 people authored Apr 17, 2023
1 parent 9bbb6d5 commit f8a55e6
Show file tree
Hide file tree
Showing 23 changed files with 1,263 additions and 402 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,7 @@ dist
# Swap files for vim
*.swp
*.swo


# Generated code
crates/xmtp-proto/src/gen
Loading

0 comments on commit f8a55e6

Please sign in to comment.