1
0
forked from ROMEO/nexosim

108 Commits

Author SHA1 Message Date
Serge Barral
1dfb79f596 Add small example of tracing logging 2024-09-13 16:08:49 +02:00
Serge Barral
7487a264ab Add tracing support for simulation timestamps 2024-09-12 15:35:31 +02:00
Serge Barral
e376f17c7c Add model tracing spans + tracing feature flag 2024-09-10 11:12:49 +02:00
Serge Barral
c7d86b9df1
Merge pull request #46 from asynchronics/feature/upgrade-dependencies
Upgrade some dependencies
2024-09-08 23:25:08 +02:00
Serge Barral
b500d071ec Upgrade some dependencies 2024-09-08 23:21:32 +02:00
Serge Barral
7aa6bd10a6
Merge pull request #45 from asynchronics/fix/ci-doc-and-ci-checkout
Update checkout to v4, build docs with nightly
2024-09-08 20:23:52 +02:00
Serge Barral
de97b7cf0e Update checkout to v4, build docs with nightly 2024-09-08 20:15:15 +02:00
Serge Barral
d898fb3f05
Merge pull request #44 from asynchronics/feature/improve-docgen
Feature/improve docgen
2024-09-08 17:40:09 +02:00
Serge Barral
2a8a3738cb Use better supported UTF symbols for arrow heads 2024-09-08 17:38:58 +02:00
Serge Barral
1c0c8ed529 Add automatic feature documentation for docs.rs 2024-09-08 17:31:39 +02:00
Serge Barral
bf7fb9b28b
Merge pull request #43 from asynchronics/feature/refactor-rpc
Simplify gRPC backend arch + remove wasm backend
2024-09-08 17:08:01 +02:00
Serge Barral
6b43fcf704 Simplify gRPC backend arch + remove wasm backend 2024-09-08 17:03:56 +02:00
Serge Barral
3ccf05335b
Merge pull request #41 from asynchronics/feature/loom-as-dev-dependency
Move loom as a dev-dependency
2024-09-07 19:56:21 +02:00
Serge Barral
114c148114 Move loom as a dev-dependency 2024-09-07 19:53:30 +02:00
Jauhien Piatlicki
e75edcbd33
Merge pull request #35 from asynchronics/feature/connect_map
Take message by ref in (filter)map_connect closures
2024-08-16 11:30:10 +02:00
Serge Barral
1b1db5e0b8 Take message ref in (filter)map_connect closures
This avoids preemptive cloning when the closures don't consume the
message, which is common when the filtering closure returns `None`.
2024-08-16 11:15:58 +02:00
Jauhien Piatlicki
1f3e04e796
Merge pull request #33 from asynchronics/feature/connect_map
Add tests for filter_map_connect (source & output)
2024-08-07 21:36:00 +02:00
Serge Barral
525f708d55 Add tests for filter_map_connect (source & output) 2024-08-07 17:36:51 +02:00
Jauhien Piatlicki
252ada4946
Merge pull request #32 from asynchronics/feature/connect_map
Add map/filter_map variants of the `connect` method
2024-08-07 14:56:27 +02:00
Serge Barral
c4d93f5c31 Disable Loom tests for broadcaster due to Loom bug 2024-08-07 10:29:13 +02:00
Serge Barral
b544bcee92 Simplify task_set & satisfy clippy 2024-08-07 10:23:10 +02:00
Serge Barral
b5187ded44 Optimize filtered connections from outputs 2024-08-07 10:11:53 +02:00
Serge Barral
2270a94b8d Simplify output broadcaster implementation 2024-08-05 09:56:13 +02:00
Serge Barral
7f244d2334 Add map/filter_map variants for source connection 2024-08-05 09:11:51 +02:00
Serge Barral
3527d62b41 Remove unnecessary trait bounds + improve doc 2024-08-03 19:29:29 +02:00
Serge Barral
0ec781e18b Add filter_map variants for output port connection 2024-08-03 11:47:57 +02:00
Serge Barral
9a2cfe8e77 Add support for mapped connections from ports 2024-08-02 18:53:07 +02:00
Jauhien Piatlicki
d9099c4bfa
Merge pull request #31 from asynchronics/feature-asynchronuous-scheduling
More idiomatic loop
2024-08-02 16:23:47 +02:00
Jaŭhien Piatlicki
3b4a3e9b0e More idiomatic loop 2024-08-02 16:19:36 +02:00
Jaŭhien Piatlicki
5d61abd729 Fix method visibility 2024-08-02 16:13:21 +02:00
Serge Barral
a163e5a1e1
Merge pull request #30 from asynchronics/feature-asynchronuous-scheduling
Change scheduler interface and add external inputs example.
2024-08-02 14:11:57 +02:00
Jaŭhien Piatlicki
6e3d5bb132 Change scheduler interface and add external inputs example.
Relevant for issue #13.
2024-08-02 14:06:49 +02:00
Serge Barral
a6a2c85129
Merge pull request #29 from asynchronics/feature/grpc-init-parameters
Accept an arbitrary argument for remote init
2024-07-31 16:00:29 +02:00
Serge Barral
1b0395f693 Accept an arbitrary argument for remote init 2024-07-29 18:41:25 +02:00
Serge Barral
7e5f623ac5
Merge pull request #27 from asynchronics/feature-auto-action-key
Add AutoActionKey
2024-06-26 13:45:54 +02:00
Jaŭhien Piatlicki
8b015b2eba Add AutoActionKey 2024-06-26 13:42:24 +02:00
Serge Barral
cb7caa10e9
Merge pull request #26 from asynchronics/feature/cbor-instead-of-msgpack
Replace MessagePack by CBOR
2024-06-19 12:07:26 +02:00
Serge Barral
8ec5cd9e9b Replace MessagePack by CBOR
CBOR looks very similar but seems more future-proof as it was
standardized by the IETF in RFC 8949.
2024-06-19 12:00:59 +02:00
Serge Barral
4039d96127
Merge pull request #25 from asynchronics/feature/split-source-and-sink
Feature/split source and sink
2024-06-12 11:37:11 +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
f731d40add WIP 2024-06-11 11:27:16 +02:00
Serge Barral
a7e691c002
Merge pull request #24 from asynchronics/dev
Merge private dev branch into main
2024-05-27 23:50:26 +02:00
Serge Barral
4f494312be
Merge pull request #11 from asynchronics/feature/wasm-compatibility
Feature/wasm compatibility
2024-05-27 23:36:17 +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
Jauhien Piatlicki
88d954dde5
Merge pull request #10 from asynchronics/feature-named-model-instances
Feature: named model instances
2024-05-17 14:50:43 +02:00
Jaŭhien Piatlicki
195bcdceba Add instance name to model contexts 2024-05-10 14:32:07 +02:00
Jauhien Piatlicki
4b5195f981
Merge pull request #5 from asynchronics/feature-submodels
Add test and improve example
2024-05-10 10:01:50 +02:00
Jaŭhien Piatlicki
02eec1b277 Add test and improve example 2024-05-08 11:20:33 +02:00
Serge Barral
287b3b713c
Merge pull request #9 from asynchronics/fix/ci-failures
Fix comments
2024-05-07 12:49:57 +02:00