Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split into sans-IO crate (librice_proto) and crate with IO (librice) #29

Merged
merged 11 commits into from
Apr 11, 2024

Conversation

ystreet
Copy link
Owner

@ystreet ystreet commented Apr 11, 2024

Fixes #28

Also adds the beginning of a C-compatibility interface for (librice_proto).

Needs to be Md5() and use the realm not the nonce.
1. librice-proto handles the state machine and contains no async code at
   all and can in theory be driven from a sync context
2. librice is the async-std implementation based on librice-proto
derivative can be reimplements relatively easily.

once_cell now has an equivalent in the standard library.
And remove some unused dependencies
Can succesfully do a WebRTC call on localhost.
Copy link

codecov bot commented Apr 11, 2024

Codecov Report

Attention: Patch coverage is 76.26654% with 520 lines in your changes are missing coverage. Please review.

Project coverage is 78.13%. Comparing base (aafe9c9) to head (86c263c).

Files Patch % Lines
librice-proto/src/stun/attribute.rs 66.58% 136 Missing ⚠️
librice/src/bin/stund.rs 0.00% 69 Missing ⚠️
librice-proto/src/stun/agent.rs 80.24% 48 Missing ⚠️
librice/src/stream.rs 88.86% 43 Missing ⚠️
librice-proto/src/stream.rs 83.33% 36 Missing ⚠️
librice-proto/src/agent.rs 74.56% 29 Missing ⚠️
librice-proto/src/capi.rs 0.00% 26 Missing ⚠️
librice/src/agent.rs 81.81% 22 Missing ⚠️
librice/src/socket.rs 79.38% 20 Missing ⚠️
librice-proto/src/component.rs 50.00% 19 Missing ⚠️
... and 10 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
+ Coverage   73.75%   78.13%   +4.38%     
==========================================
  Files          17       25       +8     
  Lines        3242     4180     +938     
==========================================
+ Hits         2391     3266     +875     
- Misses        851      914      +63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ystreet ystreet merged commit d3d759f into main Apr 11, 2024
7 checks passed
@ystreet ystreet deleted the split branch April 11, 2024 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider sans-io
1 participant