Commit Graph

69 Commits

Author SHA1 Message Date
Hendrik Eeckhaut
a67d7547bf Run Web-spawn tests in ci (#53) 2025-03-16 08:06:45 +01:00
sinu
477e1d48bf chore(web-spawn): release v0.2.0 web-spawn-v0.2.0 2025-03-07 10:47:26 -08:00
sinu.eth
78a9ae0f65 refactor(web-spawn): use snippets (#52) 2025-03-07 10:45:38 -08:00
sinu
425614e457 chore: bump versions 2025-03-03 10:18:49 -08:00
sinu.eth
9512cc1c44 feat: futures-limit and futures-plex (#51)
* feat: futures-limit and futures-plex

* use web time for wasm
2025-03-03 10:10:54 -08:00
sinu.eth
87cba96727 feat(web-spawn): first version (#50)
* feat(web-spawn): first version

* Update web-spawn/Cargo.toml

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>

---------

Co-authored-by: Hendrik Eeckhaut <hendrik@eeckhaut.org>
2025-03-03 10:06:27 -08:00
yuroitaki
8555275722 perf(utils): further optimise subset check. (#48)
* Enhance subset check.

* Add benchmarks.
2025-01-21 16:20:44 +08:00
yuroitaki
6ea6284173 Merge pull request #49 from tlsnotary/chore/clippy-fix
chore: fix clippy warning from rust 1.83.0.
2025-01-06 11:51:40 +08:00
yuroitaki
5779070820 Fix clippy warning from rust 1.83.0. 2025-01-03 15:00:28 +08:00
Nicolas Le Bel
280bb38dac feat(serio): unbounded memory channels (#37)
* Added unbounded memory channels

* Add Clone to channel senders

* Changelog

* Apply suggestions from code review

Co-authored-by: th4s <th4s@metavoid.xyz>

* UnboundedMemoryDuplex + comments

---------

Co-authored-by: th4s <th4s@metavoid.xyz>
2024-11-25 08:14:45 -08:00
Hendrik Eeckhaut
09f1abe261 chore: fix clippy issues + run clippy in CI (#45)
* Chore: fix clippy issues + run clippy in CI

* clippy

* clippy

* clippy

* Formatting
2024-11-11 08:18:40 +00:00
sinu.eth
43995c5526 fix(serio): remove Unpin bound from item (#44) 2024-10-30 06:05:36 -07:00
dan
0040a00b44 Feat/ws relay (#43)
* feat: websocket relay

* support both TCP proxy and ws clients

* clippy

* fix: prevent sending after ws client closed (#38)

* clean up cargo.toml

* fix multiple workspace error

* fix lints

---------

Co-authored-by: sinu <65924192+sinui0@users.noreply.github.com>
2024-10-18 12:49:28 +00:00
sinu.eth
6f629684d0 feat(utils): Inplace operations and std traits (#41)
* move traits into submodules

* add inplace methods and std ops

* impl for references

* fix symmetric difference
2024-10-08 10:07:29 -07:00
sinu.eth
83a9554cd5 feat(utils): extract_if backport (#40) 2024-10-01 10:47:22 -07:00
sinu.eth
e7b2db6a0c feat(utils): additional set operations (#39)
* rename traits

* subset

* intersection

* prove set intersection

* assert invariants

* fix doctest
2024-09-04 19:29:29 -07:00
sinu
45370ccc61 chore(uid-mux): release v0.1.0 uid-mux-v0.1.0 2024-06-24 12:06:00 -07:00
sinu
55cc4b0ddb chore(serio): release v0.1.0 serio-v0.1.0 2024-06-24 11:39:20 -07:00
sinu.eth
f8d4533b9e refactor(serio): encapsulate compat feature (#33) 2024-06-20 08:08:37 -07:00
sinu.eth
9a7001e2af feat(uid-mux): pre-allocate streams (#32) 2024-06-07 09:28:43 -07:00
sinu.eth
6e0be940d8 feat(uid-mux): TestFramedMux (#31) 2024-05-28 11:07:24 -07:00
sinu.eth
6cf35e0047 feat: uid-mux (#28)
* feat: uid-mux

* fix deadlock

* wake up after signalling close

* appease rustfmt

* doc: Create -> Creates

* simplify Waker usage

* test more cases, handle errors better

* remove tracing-subscriber dep

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

* feat(uid-mux): framed mux (#29)

* feat(uid-mux): framed mux

* add test utils

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-05-24 12:20:29 -08:00
dan
8d9f3c3a8d Update CONTRIBUTING.md (#30) 2024-05-17 12:08:39 +00:00
Hendrik Eeckhaut
e1c609553e Make sure doctests are run in ci (#27)
* ci: make sure doctests are run in ci

* Update .github/workflows/rust.yml

Co-authored-by: dan <themighty1@users.noreply.github.com>

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-05-15 08:07:53 +00:00
sinu.eth
ad4db5d753 feat(utils-aio): blocking macro (#26) 2024-04-29 09:29:15 -08:00
sinu
7519f51c80 fix(serio): fix duplex traits 2024-03-04 17:18:46 -08:00
sinu.eth
8f2fc9e540 feat: serio (#24)
* feat: serio

* add IoStreamExt

* fix doc link

* add into_stream

* pin project IntoSink

* add flush method to SinkExt

* add duplex traits

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

* add Framed test

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-03-04 12:44:56 -08:00
sinu
51f313d153 docs(spansy): mention that quotes aren't captures in JSON string span 2024-02-08 13:47:41 -08:00
sinu.eth
c1990bf811 feat(spansy): conversion traits (#22) 2024-02-08 11:44:16 -08:00
sinu.eth
554b7bedb5 feat(spansy): HTTP body content + parsing (#21)
* feat(spansy): add AsRef<Span<[u8]>> impl for Span<str>

* feat(spansy): HTTP body content + parsing

* mark BodyContent enum non_exhaustive

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

* update Body doc comment

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-02-08 11:40:07 -08:00
sinu.eth
b1a3b01a30 feat(spansy): add AsRef<Span<[u8]>> impl for Span<str> (#20) 2024-02-08 10:28:15 -08:00
sinu
7e1013e4f6 migrate spansy to tlsn-utils 2024-02-05 13:43:31 -08:00
sinu.eth
50b9102f9d refactor: replace Identity trait with Step (#19)
* refactor: replace Identity trait with Step

* rename macro

* Apply suggestions from code review

Co-authored-by: dan <themighty1@users.noreply.github.com>

---------

Co-authored-by: dan <themighty1@users.noreply.github.com>
2024-02-04 22:27:25 -08:00
sinu
371b954f7c feat: add ToRangeSet impl for RangeSet 2024-01-31 19:30:43 -08:00
sinu.eth
def9af0ffa feat: add ToRangeSet trait (#17) 2024-01-31 19:15:07 -08:00
sinu.eth
368980ffed refactor: remove type bound from struct def (#16) 2024-01-31 19:12:05 -08:00
sinu.eth
c9a8c0b5a5 feat: add fallible conversion to Range and len_ranges method (#15) 2024-01-30 11:13:11 -08:00
sinu.eth
85f498e98a bug: fix incorrect RangeSet::max (#13) 2024-01-30 11:12:33 -08:00
sinu.eth
e424002a52 feat: RangeSet::shift_(left/right) (#12) 2024-01-30 11:09:06 -08:00
sinu.eth
88d274c73b feat: RangeSet::split_off (#11) 2024-01-30 11:02:52 -08:00
sinu
ee879220f4 feat: add PartialEq impls for refs 2024-01-28 15:40:54 -08:00
sinu.eth
1b929fe5a9 feat: IndexRanges (#9) 2023-10-30 08:47:25 -07:00
Christopher Chong
8d8ffe1b96 Merge pull request #7 from tlsnotary/yamux-send-tls-closenotify
Add into inner method to enable closing TLS properly
2023-09-24 04:51:25 +08:00
Christopher Chong
5416b2760b Add into inner method. 2023-09-23 16:27:34 -04:00
sinu.eth
8ac91563ce feat: impl ExactSizeIterator and DoubleEndedIterator (#6) 2023-09-18 08:12:53 -07:00
sinu.eth
827b6875fa Range utils fixes (#5)
* fix test names

* fix Range-Range union, and comment

* add subset test case

* simplify logic in Range-Range diff

* fix Range.is_subset(RangeSet)

* remove intersects trait

* add is_disjoint for RangeSet-RangeSet

* serde into attribute
2023-09-18 08:03:27 -07:00
sinu.eth
c42405c6b9 feat: range utils (#4)
* range utils

* reorg modules

* comments

* switch to mod 8 rather than max

* add serde derives for RangeSet

* add range iter

* add min/max methods

* fuzz invariants, docs, tweaks

* remove redundant clone bound

* update size_hint

* fix size_hint lower bound

* add must_use
2023-09-14 08:05:39 -07:00
sinu.eth
b182066f88 remove bits module (#2) 2023-08-21 18:58:10 -07:00
sinu.eth
30733c6fd6 Refactor IO traits (#1)
* duplex trait

* move expect stream trait

* factor out IoStream and IoSink traits

* io provider

* remove IoProvider trait

* rustfmt

* rename MpscDuplex -> MemoryDuplex
2023-08-21 18:54:03 -07:00
Hendrik Eeckhaut
f3e3f0775c Pulled changes from tlsn repository 2023-06-13 15:31:46 +02:00