-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cartographer + Emitter Reimplementation (#43)
Reimplements the cartographer and emitter. Changes include: - Switch from `Box<dyn Trait>` to generics for pluggable components - Use a single shared signal store rather than separate shared components between each interface combo - Move the `DigitalTwinAdapter::find_by_id` call to the cartographer, thereby eliminating the need for digital twin adapters to run a separate thread - Update the API for providers and the provider proxy to use struct-like enum variants and return `Result` instead of panicking - Utilize `mockall` for emitter tests instead of the in-memory mock - Prevent errors on one signal in the cartographer and emitter from taking down the entire app - Misc minor cleanup This partially addresses #18, but more work is needed to get provider proxies integrated
- Loading branch information
Showing
33 changed files
with
1,667 additions
and
1,457 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ | |
// Licensed under the MIT license. | ||
// SPDX-License-Identifier: MIT | ||
|
||
pub mod signal_store; | ||
pub mod utils; |
Oops, something went wrong.