Trivernis
9912622dc1
Add clippy task and fix antipattern
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
7e54755c56
Fix clippy errors and missing rt feature
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis
aedf7c4ba2
Add option to configure the TCP ttl
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
ae52798cd0
Replace hashmap for replies with dashmap
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
5a0c829602
Feature gate encryption feature
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
ef99adfee1
Fix issues with encryption writers
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
fe7dc97008
Add encrypted wrapper protocol implementation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
ac471d296e
Change internal bytes representation to Bytes object from bytes crate
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
54cd0fbcc8
Switch from typemap_rev to trait-bound-typemap for context data
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b57dea5bb4
Change insert_all to accept all kinds of into_iterator implementations
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6f19a63090
Change typemap_rev to git version and add insert_all to builder
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9586ed6d36
Fix further performance issues
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
1effb4f6c9
Replace one unwrap_or with unwrap_or_else
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
38342eac44
Fix dangling response listeners
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9cc7d1ffe8
Add asynchronous response streams
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
619a0173f0
Fix style issues
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
e316d29807
Move emit metadata to separate modules
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
51f53e7fbe
Fix errors in benchmarks
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2527763494
Fix compile errors
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
fbee60e64b
Change handler result to contain a response
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2fa63da081
Change error events to be identified by event type and not by name
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
4803a655d7
Introduce event types
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
6cf46322c4
Fix missing Send + Sync Markers on Metadata
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
bca5b90d57
Remove some dirty unwraps
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
8685bcbab8
Shorten emitting and reply awaiting to implement Future for metadata
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
b4ab4fee80
Increment version
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
Trivernis
248fb403d5
Add event based timeout support
...
Signed-off-by: Trivernis <trivernis@protonmail.com>
3 years ago
trivernis
5ab864006a
Fix PooledContext not implementing Clone
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f189fe11f0
Add FromPayload implementation for DeserializeOwned
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
324a788031
Change how replies are emitted
...
All events that are emitted inside a handler function are seen
as replies to the event that called the handler.
The FromPayloadBytes and ToPayloadBytes traits have been renamed
to FromPayload and IntoPayload. The IntoPayload trait passes the
context in its arguments to allow serializable structures to be
serialized by the default serializer.
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f2606b4704
Add IntoSerdePayload trait
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
fb62135f86
Add tests for all payloads
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
6299f9be02
Change serialization to be able to use multiple formats
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
d1b426e10b
Add event format version validation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
67f9ae2b6b
Add json serde support
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
bb7534d333
Add postcard serde support
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
2cc956f1e9
Add bincode serde support
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
bf5a593377
Move serialization implementation and rename messagepack feature to serialize_rmp
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
38fb1ee16a
Add tests for payloads
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9e7cd26f6a
Add integration tests with custom protocol
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
be869a7faa
Move messagepack to features and implement raw byte protocol for serialisation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
005a4bfc68
Remove generic bounds from Context, Namespace and EventEmitter
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f6a0bd7d7c
Merge branch 'main' of github.com:Trivernis/bromine
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b96119429e
Rename project to bromine
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
904a93d78f
Change tandem payload to support payloads greater than 4 GiB
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
628573f051
Add reply listen timeouts
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
7b0413704c
Remove debug requirement for emitted payloads since its not used anyway
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
9497990fb7
Add more restritions to protocol trait to be Send + Sync
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
bccbb7e087
Fix test imports being os-specific without conditional compilation
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
32883a98db
Add implementation for unix sockets
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago