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
2a9426badc
Add more serialization tests
...
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
4f1884f2af
Add specification
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
639db8fc87
Update tests to be supported by messagepack
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
e485a81c4c
Update github test action
...
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
558a2cc6a7
Fix benchmark task
...
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
5b54140011
Add tests for namespace and restructure tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
8146fe8446
Add more tests and descriptions for tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
cda472d3a9
Add event call assertions in tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
f70563d099
Improve test protocol by using some unsafe magic
...
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
8fc1a4eecc
Fix benchmarks
...
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
Julius Riegel
3b7299d4b4
Merge pull request #23 from Trivernis/develop
...
Change tandem payload to support payloads greater than 4 GiB
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
Julius Riegel
f527ce0a03
Merge pull request #22 from Trivernis/develop
...
Add reply listen timeouts
3 years ago
trivernis
628573f051
Add reply listen timeouts
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
0c65dede74
Merge pull request #21 from Trivernis/develop
...
Remove debug requirement for emitted payloads since its not used anyway
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
Julius Riegel
506be4652b
Merge pull request #20 from Trivernis/develop
...
Add more restritions to protocol trait to be Send + Sync
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
Julius Riegel
14c232eeea
Merge pull request #19 from Trivernis/develop
...
Develop
3 years ago
Julius Riegel
aec08da839
Merge pull request #18 from Trivernis/feature/protocol-trait
...
Feature/protocol trait
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
37e66ad0ab
Add matrix strategy to ci tests
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b0736c59ef
Increment version
...
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
trivernis
4fe9ed16db
Change all explicit protocols to generic trait bindings
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
cff9b07e76
Add protocol impelemtation for tcp
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
trivernis
b55c6e526b
Add AsyncStreamProtocol trait with subtraits
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago
Julius Riegel
49f4193f36
Merge pull request #17 from Trivernis/develop
...
Add TandemPayload to store multiple payloads
3 years ago
trivernis
f35908815c
Add TandemPayload to store multiple payloads
...
Signed-off-by: trivernis <trivernis@protonmail.com>
3 years ago