1
0
forked from ROMEO/nexosim

23 Commits

Author SHA1 Message Date
Jaŭhien Piatlicki
1a0dff0f6e Document observable states 2024-11-13 23:59:50 +01:00
Serge Barral
44e86b81d1 Add path filtering for Loom CI also on PRs 2024-11-12 11:21:58 +01:00
Serge Barral
abbfb64628 Run integration tests on both ST and MT executors 2024-11-08 11:08:47 +01:00
Serge Barral
de97b7cf0e Update checkout to v4, build docs with nightly 2024-09-08 20:15:15 +02:00
Serge Barral
1c0c8ed529 Add automatic feature documentation for docs.rs 2024-09-08 17:31:39 +02:00
Serge Barral
6b43fcf704 Simplify gRPC backend arch + remove wasm backend 2024-09-08 17:03:56 +02:00
Serge Barral
0abc520e4b Split sinks and source registries
This makes it possible to concurrently control and monitor the
simulation when using gRPC.
Accordingly, the gRPC server now runs on 2 threads so it can serve
control and monitoring requests concurrently.
2024-06-12 11:20:34 +02:00
Serge Barral
59d2af51ba Expose the Protobuf simulation service to WASM/JS 2024-05-27 23:33:02 +02:00
Serge Barral
77e6e569ff Add same-thread executor support 2024-05-27 23:12:45 +02:00
Jaŭhien Piatlicki
02eec1b277 Add test and improve example 2024-05-08 11:20:33 +02:00
Serge Barral
af3d68e76f Force the waker VTable to be uniquely instantiated
From Rust 1.78, `Waker::will_wake` tests equality by comparing the VTable
pointers rather than the content of the VTable.

Unfortunately, this exposes some instability in the code generation
which sometimes causes several VTables to be instantiated in memory for
the same generic parameters. This can in turn defeat `Waker::will_wake`
if e.g. `Waker::clone` and `Waker::wake_by_*` end up with different
pointers.

The problemt is hopefully addressed by preventing inlining of the VTable
generation function. A test has been added to try to detect regression,
though the test may not be 100% reliable.
2024-05-07 01:37:47 +02:00
Serge Barral
e4b108c6b7 Satisfy newest clippy 2024-05-06 16:45:07 +02:00
Serge Barral
9956c4fa3f CI: add --all-features and force check on dev 2024-04-26 13:43:06 +02:00
Jaŭhien Piatlicki
7526ffbcea Add setup step. 2024-04-26 11:48:11 +02:00
Serge Barral
e84e802f09 Initial (g)RPC implementation 2024-04-25 11:12:54 +02:00
Serge Barral
8d3427daaf Fix CI script 2024-04-04 13:37:21 +02:00
8e16f8c9b2
small fix for new serde dependency 2024-03-13 11:10:26 +01:00
Serge Barral
1be2f48a00 Revert "Merge pull request #12 from asynchronics/feature/event-sinks"
This reverts commit 7e881afb638ccc0dbcfc7b539fc152dc923d63e1, reversing
changes made to 9d78e4f72a4c6ff459fc386b2f25beae40b94429.
2024-03-06 16:16:55 +01:00
Serge Barral
863f995f1b Small changes and cleanups to prepare the RPC work 2024-02-19 13:20:02 +01:00
Serge Barral
ef703f5b7e Add support for custom/real-time clocks 2023-08-29 12:46:40 +02:00
Serge Barral
31520d461a First release candidate for v0.1.0 2023-01-16 23:05:46 +01:00
Serge Barral
fe00ee0743 Remove unmaintained action-rs GH actions in CI 2022-11-04 15:16:03 +01:00
Serge Barral
5c94ec6a65 First public commit 2022-10-12 05:33:16 +02:00