Commit Graph

45 Commits

Author SHA1 Message Date
Martin Slot ba09502fe1 Added an assert more 2023-12-20 09:23:49 +01:00
Martin Slot 60257c9f03 Removed unused using 2023-12-20 09:20:35 +01:00
Martin Slot 8f26716b6a Added a test for signing and verifying 2023-12-20 09:19:41 +01:00
Martin Slot a53c7dc2c1 Added signing and verify 2023-12-20 09:12:53 +01:00
Martin Slot 9c01e4a74f Added RSA decryption 2023-12-19 21:10:44 +01:00
Martin Slot a7036c0670 Added RSA encryption 2023-12-19 21:05:13 +01:00
Martin Slot d806ad3e5c Added how to run `simple_host` and `simple_client` in readme 2023-12-19 08:29:37 +01:00
Martin Slot b552b5760b Updated readme 2023-12-19 08:11:45 +01:00
Martin Slot 6570d5daf7 Added an example with a simple host. Now we need a simple client that can call it and get an answer back. 2023-12-19 08:06:59 +01:00
Martin Slot a0ae950d03 Fixed bench tests 2023-12-09 09:21:08 +01:00
Martin Slot dbdefd6dbf Fixed bench tests 2023-12-09 09:13:35 +01:00
Martin Slot 9424242156 Added a publish script 2023-12-09 09:05:53 +01:00
Martin Slot 47a8682b0c Prepared `command_runner` to be published 2023-12-09 08:58:37 +01:00
Martin Slot dc690aa8a1 Added explicit registry to `commander_kernel` 2023-12-09 08:55:54 +01:00
Martin Slot 7d1662ed41 Added versions to dependencies 2023-12-09 08:52:38 +01:00
Martin Slot 4002d318a5 Updated info so it can be published 2023-12-09 08:51:12 +01:00
Martin Slot 525702ed45 Renamed kernel to commander_kernel, so it is easiler to identify in package registry 2023-12-09 08:48:11 +01:00
Martin Slot dd1af6cd81 Added correct include path to messages.proto build 2023-12-09 08:37:37 +01:00
Martin Slot 8eef7465f2 Moved messages.proto to kernel 2023-12-09 08:35:58 +01:00
Martin Slot e3b223f8af Trying to publish package 2023-12-09 08:32:21 +01:00
Martin Slot 0bf2eae6b2 Trying to publish package 2023-12-09 08:30:23 +01:00
Martin Slot c7f01691a1 Alligned to homepage 2023-11-28 13:24:11 +01:00
Martin Slot c399f0d3e1 Updated readme 2023-11-28 13:16:21 +01:00
Martin Slot 1b2fbd6822 Added a readme 2023-11-28 13:14:51 +01:00
Martin Slot e3953c7a4f Added a single test with a sub message on `Payload`. 2023-11-28 13:03:01 +01:00
Martin Slot aa35f99f5d Set `read_timeout` to something low - this is random, and i have not reason behind `10 miliseconds`. 2023-11-28 12:20:56 +01:00
Martin Slot 66ddc37a39 Fixed read, when data was exactly same as payload with a read_timeout. Not the best solution, but it is ok for the first version. 2023-11-28 12:19:00 +01:00
Martin Slot 155b25f69e Temp fix so functional tests doesnt stop each other 2023-11-28 10:35:30 +01:00
Martin Slot bed7194cf7 Added first read/write functional test. I have found a read bug that i need to replicate and fix. 2023-11-28 10:32:19 +01:00
Martin Slot 055fb6e489 Added return data to `Action`. It is pretty simple right now, because we always expect something to return 2023-11-28 08:43:31 +01:00
Martin Slot 5e6dfd35c1 Added a pretty low end `StreamClient` that can send and receive bytes 2023-11-28 08:15:01 +01:00
Martin Slot 61a896a93e Added a `Mutex` to wrap the router, because we share it between threads. I want to be sure it is not accessed by two threads, even though right now, we only have read access to the router 2023-11-27 16:51:52 +01:00
Martin Slot 346bed321e Fixed how `router` implement `action`s. We now need to implement the trait `Action` for our actions.
I am wrapping `router` in an `Arc` to share it between the threads.
2023-11-27 16:36:17 +01:00
Martin Slot 7c05a961fb Fixed how `router` implement `action`s. We now need to implement the trait `Action` for our actions 2023-11-26 09:52:00 +01:00
Martin Slot c10573172a Removed println 2023-06-19 15:23:41 +02:00
Martin Slot dbba412739 Added a simple router with a very raw interface. It needs to be
stabilized, i think
2023-06-19 15:21:24 +02:00
Martin Slot dbdae30c86 Added a basic router that can take basic actions 2023-06-16 20:53:14 +02:00
Martin Slot 1d2f8333b5 Added stream handling and a buffered reader 2023-06-13 16:26:14 +02:00
Martin Slot fe3add97f2 Added a test for odd len 2023-06-12 10:19:17 +02:00
Martin Slot 51acf751ba Added a clean solution for the dynamic buffer and a stream reader 2023-06-12 10:13:18 +02:00
Martin Slot c5534223e6 Added protobuf and a simple wire protocol 2023-06-05 10:37:09 +02:00
Martin Slot 2e86993a81 Added HostOptions 2023-06-05 09:29:13 +02:00
Martin Slot f2947e5d80 Added protobuf
Added HostOptions
2023-06-05 09:28:28 +02:00
Martin Slot 375b1cb61d Added boilerplate code for start and stop
Added simple test for start and stop
2023-06-04 13:37:22 +02:00
Martin Slot 061f0fed88 added basic project structure 2023-06-03 14:01:40 +02:00