Commit Graph

27 Commits

Author SHA1 Message Date
Daniel Sanchez 2f708060f7
Fix run all missplacement (#31) 2023-10-24 12:18:06 +02:00
Daniel Sanchez ac28d01158
Plug services lifecycle (Shutdown and Kill) (#27)
* Plug lifecycle channel

* Pipe lifecycle to services.

* Add explaining doc on handle clone

* Fix tests

* Add missing break on overwatch kill

* Added shutdown service test

* Clippy happy

* Use try_from instead of from for checking duplicated service ids on ServicesLifeCycleHandle

* Added docs
2023-10-09 14:00:12 +02:00
Al Liu 6e6678b0e4
Add derive feature (#22)
* chore: remove unused PhantomData

* add derive feature
2023-10-06 01:33:12 +08:00
Al Liu 1d36a024ef
Fix missing generics on impl block (#26)
* fix missing generics on impl block
2023-10-05 22:37:54 +08:00
Daniel Sanchez 9b865c3ece
Update waku example (#24)
* Update waku example

* Clippy happy
2023-10-04 10:54:33 +02:00
gusto fe5af61e54
Auto author GH action (#19) 2023-01-24 11:12:52 +02:00
Giacomo Pasini 3ec1156344
fix clone bound for relay (#18) 2023-01-18 11:01:54 +01:00
Giacomo Pasini 4efc467d84
Relax type bounds (#17)
* relax type bounds

* remove Send bound on NoOperator

* fix tests

* remove bound on service message

* re-add type bound on Relay

* remove duplicate PhantomBound
2023-01-17 14:45:22 +01:00
Giacomo Pasini 6d12e83c35
remove bounds from trait definitions (#16) 2023-01-11 10:30:50 +01:00
Giacomo Pasini cc2d562d38
Merge pull request #15 from Zeegomo/remove-bound-on-send
remove unneeded type bounds on send
2023-01-09 18:06:10 +01:00
Giacomo Pasini 5844bea0c9
remove unneeded type bounds on send 2023-01-09 17:44:34 +01:00
gusto d15e85c545
Merge pull request #14 from bacv/ci/codecov
ci: codecov and badges
2022-12-17 17:53:02 +02:00
Augustinas Bacvinka 8fe8d703b2 Remove codecoverage for PR 2022-12-16 15:44:05 +02:00
Augustinas Bacvinka 8f08e79a86 ci: codecov and badges 2022-12-16 15:26:25 +02:00
Daniel Sanchez c9e9429b60
Relay sink + stream (#13)
* Outbound relay into_sink
Inbound relay as stream

* Cleanup imports

* Remove not necessary bounds
2022-12-14 15:41:01 +01:00
gusto 2827f0c6a2
Merge pull request #12 from bacv/ci/jenkins
ci: Add Jenkins configuration and related files
2022-12-13 19:03:27 +02:00
Augustinas Bacvinka d3788a8683 ci: Add Jenkins configuration and related files 2022-12-13 16:25:41 +02:00
Al Liu d6cc851ee6
Error handle and consume self in connect function (#11)
* use &self for connect function

* more &mut self to &self

* error handle

* add DynError

* remove except, return error

* add error handle for ServiceState trait
2022-12-10 16:01:16 +08:00
Al Liu 4e2978e643
Immutable connect (#10)
* chore: remove unused PhantomData

* &mut self to &self for some methods
2022-12-02 19:57:45 +08:00
Daniel Sanchez 32e6e59377
Publish ready (#7)
* Refactor overwatch to overwatch-rs

* Update readmes and licenses

* Add badges

* Added release action

* Fix tests after refactor

* On push tags on release pipeline

* Add missing jobs to release ci

* Fmt

* Named release job

* Fix invalid tag again
2022-11-16 14:15:58 +01:00
Giacomo Pasini d73637eccd
Manually derive Clone (#6)
Current derive(Clone) macro adds bounds on generic parameters
which are sometimes unnecessary and overly restrictive.
While we wait for perfect derive to be available, let's manually
derive Clone.
2022-11-04 13:16:03 +01:00
Giacomo Pasini 6362735d44
remove unused service_id (#4) 2022-10-27 16:09:39 +02:00
Giacomo Pasini bc771e21ca
Remove multiple runtimes support from API (#5) 2022-10-27 12:09:40 +02:00
Giacomo Pasini 7124639b60
Rework Relay to expose OutboundRelay on connect (#2)
* Rework Relay to expose OutboundRelay on connect

This simplifies the implementation and enforces a correct usage
of the channel by exposing send methods only after a successful
connection.

* update tests
2022-10-25 11:34:53 +02:00
Giacomo Pasini cc20ecc918
Add waku-chat example (#1)
* add waku-chat example

* clippy happy

* update dependencies

* remove unneeded tokio features

* use separate thread for stdin

* only build on linux

Co-authored-by: Giacomo Pasini <giacomo@status.im>
2022-10-24 13:21:39 +02:00
Daniel Sanchez Quiros f8f33ee781 Added licenses 2022-10-20 12:10:33 +02:00
Daniel Sanchez Quiros ad32d12019 Public release 2022-10-20 11:47:50 +02:00