Commit f1dae03
* Add Tokio runtime and time-related adapter implementations
- Introduced `TokioAdapter` for async task spawning and execution.
- Implemented time-related capabilities including timestamps and sleep.
- Updated feature flags in `Cargo.toml` for tracing and optional dependencies.
* Add Embassy runtime and time integration for AimDB
* Add runtime adapter traits and time utilities for async operations
* fix linter warnings
* add service macro
* Enhance runtime adapters and database implementation
* Add Embassy dependencies for async support in the project
* Add Embassy database implementation and runtime adapter enhancements
* Refactor service macro implementation for improved runtime support and clarity
* Add Tokio database implementation and runtime integration
* fix doctest
* Update dependencies and enhance runtime adapter functionality for AimDB
* Enhance Embassy database and runtime adapter with service spawning capabilities
* Refactor service macro implementation for improved runtime spawning and clarity
* Refactor TokioAdapter to implement SpawnDynamically and enhance runtime service spawning capabilities
* Reorganize module imports for improved clarity and consistency
* Add RuntimeContext for unified access to runtime capabilities and update service macro for automatic context injection
* Add aimdb-executor to workspace and update Tokio dependency features
* Refactor Makefile to update build and test commands for aimdb-core, replacing 'embedded' with 'no_std minimal' and adjusting feature validation tests for clarity.
* Refactor build scripts to remove 'embedded' feature validation and clarify no_std requirements for aimdb-core and aimdb-embassy-adapter
* Refactor aimdb-core and aimdb-executor to enhance runtime integration and error handling, including new executor traits and improved feature definitions.
* Refactor service macro to improve runtime spawning methods and error handling, updating AimDbService implementation for better integration with Tokio and Embassy runtimes.
* Refactor Embassy adapter to enhance compatibility with executor traits, updating service spawning methods and error handling for improved runtime integration.
* Refactor Tokio adapter to improve integration with aimdb-executor, updating dependencies and error handling for better compatibility with async tasks.
* Refactor CI and documentation workflows to improve embedded target checks and documentation generation, updating Makefile and contributing guidelines for better clarity and functionality.
* Refactor RuntimeContext to use aimdb_executor::Runtime, enhancing runtime capabilities and compatibility across std and no_std environments.
* Refactor EmbassyDatabase and EmbassyAdapter to improve service spawning methods and unify runtime trait implementations, enhancing compatibility with async tasks in embedded environments.
* Refactor TokioAdapter to unify Runtime trait implementations, adding TimeSource and Sleeper traits for enhanced async task management and compatibility.
* Add TimeSource and Sleeper traits for unified runtime capabilities in AimDB
* Refactor service macro implementation for clarity and runtime-agnostic design, enhancing service definition and spawning mechanisms.
* Enhance TimeSource trait by adding Debug trait bound to Instant type for improved debugging capabilities.
* Refactor service macro documentation and improve generics handling for enhanced clarity and flexibility in runtime implementations.
* Add global static adapter initialization and unique task wrapper naming for Embassy services
* Add example project for AimDB integration with Embassy runtime
* Add example project demonstrating AimDB integration with Tokio runtime
* Add shared service implementations for AimDB examples
* Refactor AimDB examples structure and update dependencies
* Fix missing newline at end of file in Embassy runtime demo build script
* Enhance Embassy task spawning documentation in service macro
* Remove example builds from CI workflow and add documentation generation step
* Remove unsupported licenses from deny.toml
* Fix formatting of 0BSD license entry in deny.toml
* Add logging capabilities to runtime context and services
* Add logging support using defmt in Embassy adapter
* Implement logging capabilities for TokioAdapter with info, debug, warn, and error methods
* Refactor RuntimeContext to separate time and logging utilities for improved organization and clarity
* Enhance TimeSource trait in Embassy and Tokio adapters with duration methods for improved time handling
* Enhance TimeSource trait with runtime-agnostic duration methods for improved time handling
* Refactor data_processor_service and monitoring_service to use stored log and time accessors for improved code clarity and efficiency
* Add flash script for embassy-runtime-demo to facilitate binary flashing
* Add submodule for embassy-rs
* fix embassy runtime example
* Refactor AimDB Executor and Macros for Simplified Runtime Integration
* Refactor AimDB database and adapter implementations for unified builder API and improved service spawning
* Add examples command to Makefile for building example projects
* Implement Emitter pattern for cross-record communication
Enhance core library structure and exports
Introduce metrics tracking for producer-consumer patterns
Implement producer-consumer pattern with self-registering records
Add tracked async function wrapper for automatic call tracking
Develop type-safe record storage using TypeId
* Refactor Embassy database and example to simplify record handling and improve builder API
* Enhance Tokio adapter features and documentation for improved usability
* Add producer-consumer demo example with unified Database API
* Add producer-consumer demo example and update workspace configuration
* Add submodule support to CI workflows for improved dependency management
* Update Cargo.toml for producer-consumer-demo to use workspace settings for version, edition, and license
* Update aimdb-core/src/error.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update aimdb-core/src/database.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add examples target to all command in Makefile for comprehensive build
Remove global static adapter initialization and related methods for cleaner API
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5d445b0 commit f1dae03
56 files changed
Lines changed: 6321 additions & 261 deletions
File tree
- .github/workflows
- aimdb-core
- src
- aimdb-embassy-adapter
- src
- aimdb-executor
- src
- aimdb-macros
- src
- aimdb-tokio-adapter
- src
- examples
- embassy-runtime-demo
- .cargo
- src
- producer-consumer-demo
- src
- tokio-runtime-demo
- src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| 48 | + | |
| 49 | + | |
46 | 50 | | |
47 | 51 | | |
48 | 52 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
95 | 101 | | |
96 | 102 | | |
97 | 103 | | |
| 104 | + | |
| 105 | + | |
98 | 106 | | |
99 | 107 | | |
100 | 108 | | |
| |||
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
113 | | - | |
114 | | - | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
115 | 126 | | |
116 | 127 | | |
117 | 128 | | |
| |||
130 | 141 | | |
131 | 142 | | |
132 | 143 | | |
| 144 | + | |
| 145 | + | |
133 | 146 | | |
134 | 147 | | |
135 | 148 | | |
| |||
173 | 186 | | |
174 | 187 | | |
175 | 188 | | |
| 189 | + | |
| 190 | + | |
176 | 191 | | |
177 | 192 | | |
178 | 193 | | |
| |||
192 | 207 | | |
193 | 208 | | |
194 | 209 | | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | 210 | | |
199 | 211 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | 86 | | |
| |||
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| 168 | + | |
| 169 | + | |
166 | 170 | | |
167 | 171 | | |
168 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
44 | | - | |
| 46 | + | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
| |||
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| 43 | + | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
| 147 | + | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
0 commit comments