Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
ed1c80c
Add Tokio runtime and time-related adapter implementations
lxsaah Oct 3, 2025
cbfb7f8
Add Embassy runtime and time integration for AimDB
lxsaah Oct 3, 2025
2d258b0
Add runtime adapter traits and time utilities for async operations
lxsaah Oct 3, 2025
153be15
fix linter warnings
lxsaah Oct 3, 2025
0ee6bc1
add service macro
lxsaah Oct 4, 2025
b04006c
Enhance runtime adapters and database implementation
lxsaah Oct 5, 2025
4de7fe5
Add Embassy dependencies for async support in the project
lxsaah Oct 5, 2025
610174d
Add Embassy database implementation and runtime adapter enhancements
lxsaah Oct 5, 2025
a39ca2c
Refactor service macro implementation for improved runtime support an…
lxsaah Oct 5, 2025
daeea7a
Add Tokio database implementation and runtime integration
lxsaah Oct 5, 2025
0328327
fix doctest
lxsaah Oct 5, 2025
348c38a
Update dependencies and enhance runtime adapter functionality for AimDB
lxsaah Oct 5, 2025
52ce666
Enhance Embassy database and runtime adapter with service spawning ca…
lxsaah Oct 5, 2025
b11efb0
Refactor service macro implementation for improved runtime spawning a…
lxsaah Oct 5, 2025
87014e5
Refactor TokioAdapter to implement SpawnDynamically and enhance runti…
lxsaah Oct 5, 2025
d171276
Reorganize module imports for improved clarity and consistency
lxsaah Oct 5, 2025
3287f2e
Add RuntimeContext for unified access to runtime capabilities and upd…
lxsaah Oct 5, 2025
cacac86
Add aimdb-executor to workspace and update Tokio dependency features
lxsaah Oct 6, 2025
bf9ad70
Refactor Makefile to update build and test commands for aimdb-core, r…
lxsaah Oct 6, 2025
87395f3
Refactor build scripts to remove 'embedded' feature validation and cl…
lxsaah Oct 6, 2025
0576dac
Refactor aimdb-core and aimdb-executor to enhance runtime integration…
lxsaah Oct 6, 2025
940d11d
Refactor service macro to improve runtime spawning methods and error …
lxsaah Oct 6, 2025
650b520
Refactor Embassy adapter to enhance compatibility with executor trait…
lxsaah Oct 6, 2025
05130f4
Refactor Tokio adapter to improve integration with aimdb-executor, up…
lxsaah Oct 6, 2025
e866d33
Refactor CI and documentation workflows to improve embedded target ch…
lxsaah Oct 6, 2025
7f0604c
Refactor RuntimeContext to use aimdb_executor::Runtime, enhancing run…
lxsaah Oct 6, 2025
132903a
Refactor EmbassyDatabase and EmbassyAdapter to improve service spawni…
lxsaah Oct 6, 2025
d583501
Refactor TokioAdapter to unify Runtime trait implementations, adding …
lxsaah Oct 6, 2025
8935c75
Add TimeSource and Sleeper traits for unified runtime capabilities in…
lxsaah Oct 6, 2025
7ff2341
Refactor service macro implementation for clarity and runtime-agnosti…
lxsaah Oct 6, 2025
d734edd
Enhance TimeSource trait by adding Debug trait bound to Instant type …
lxsaah Oct 6, 2025
9a0a025
Refactor service macro documentation and improve generics handling fo…
lxsaah Oct 6, 2025
d9aea02
Add global static adapter initialization and unique task wrapper nami…
lxsaah Oct 6, 2025
cc08eac
Add example project for AimDB integration with Embassy runtime
lxsaah Oct 7, 2025
e504c5e
Add example project demonstrating AimDB integration with Tokio runtime
lxsaah Oct 7, 2025
155bf59
Add shared service implementations for AimDB examples
lxsaah Oct 7, 2025
ce15287
Refactor AimDB examples structure and update dependencies
lxsaah Oct 7, 2025
29922a0
Fix missing newline at end of file in Embassy runtime demo build script
lxsaah Oct 7, 2025
1479894
Enhance Embassy task spawning documentation in service macro
lxsaah Oct 7, 2025
3f9f354
Remove example builds from CI workflow and add documentation generati…
lxsaah Oct 7, 2025
5d5d03b
Remove unsupported licenses from deny.toml
lxsaah Oct 7, 2025
bb57060
Fix formatting of 0BSD license entry in deny.toml
lxsaah Oct 7, 2025
79fe4dd
Add logging capabilities to runtime context and services
lxsaah Oct 7, 2025
de87f4b
Add logging support using defmt in Embassy adapter
lxsaah Oct 7, 2025
6f7ade0
Implement logging capabilities for TokioAdapter with info, debug, war…
lxsaah Oct 7, 2025
8c9eb75
Refactor RuntimeContext to separate time and logging utilities for im…
lxsaah Oct 8, 2025
8692b99
Enhance TimeSource trait in Embassy and Tokio adapters with duration …
lxsaah Oct 8, 2025
121a476
Enhance TimeSource trait with runtime-agnostic duration methods for i…
lxsaah Oct 8, 2025
31d1010
Refactor data_processor_service and monitoring_service to use stored …
lxsaah Oct 8, 2025
57da6d0
Add flash script for embassy-runtime-demo to facilitate binary flashing
lxsaah Oct 9, 2025
e73772b
Add submodule for embassy-rs
lxsaah Oct 9, 2025
56da97b
fix embassy runtime example
lxsaah Oct 9, 2025
4ae6887
Refactor AimDB Executor and Macros for Simplified Runtime Integration
lxsaah Oct 9, 2025
85f8b7a
Refactor AimDB database and adapter implementations for unified build…
lxsaah Oct 9, 2025
1f5a447
Add examples command to Makefile for building example projects
lxsaah Oct 10, 2025
74dc87c
Implement Emitter pattern for cross-record communication
lxsaah Oct 10, 2025
e31f007
Refactor Embassy database and example to simplify record handling and…
lxsaah Oct 10, 2025
bda18ae
Enhance Tokio adapter features and documentation for improved usability
lxsaah Oct 10, 2025
f24d592
Add producer-consumer demo example with unified Database API
lxsaah Oct 10, 2025
f22860f
Add producer-consumer demo example and update workspace configuration
lxsaah Oct 10, 2025
0c66a99
Add submodule support to CI workflows for improved dependency management
lxsaah Oct 10, 2025
727f3a1
Update Cargo.toml for producer-consumer-demo to use workspace setting…
lxsaah Oct 10, 2025
cafdf76
Update aimdb-core/src/error.rs
lxsaah Oct 10, 2025
024da22
Update aimdb-core/src/database.rs
lxsaah Oct 10, 2025
ada857b
Add examples target to all command in Makefile for comprehensive build
lxsaah Oct 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 17 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -43,6 +45,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -73,6 +77,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -95,6 +101,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -110,8 +118,11 @@ jobs:
target
key: ${{ runner.os }}-cargo-embedded-${{ hashFiles('**/Cargo.lock') }}

- name: Check embedded core
run: cargo check --package aimdb-core --target thumbv7em-none-eabihf --features embedded
- name: Check embedded core (no_std minimal)
run: cargo check --package aimdb-core --target thumbv7em-none-eabihf --no-default-features

- name: Check embedded core (with embassy)
run: cargo check --package aimdb-core --target thumbv7em-none-eabihf --no-default-features --features embassy-runtime

- name: Check embassy adapter
run: cargo check --package aimdb-embassy-adapter --target thumbv7em-none-eabihf --features embassy-runtime
Expand All @@ -130,6 +141,8 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -173,6 +186,8 @@ jobs:
needs: [format-and-lint, makefile-build, feature-validation, embedded-targets, adapters]
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -192,8 +207,5 @@ jobs:
- name: Run comprehensive development check
run: make check

- name: Build examples
run: cargo build --package aimdb-examples

- name: Generate documentation
run: make doc
4 changes: 4 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down Expand Up @@ -163,6 +165,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
environment: ${{ github.ref == 'refs/heads/main' && 'github-pages' || null }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -41,7 +43,7 @@ jobs:
cp -r target/doc/* target/doc-final/cloud/

# Build embedded documentation
cargo doc --features "embedded,embassy-runtime" --no-deps
cargo doc --no-default-features --features "embassy-runtime" --no-deps
cp -r target/doc/* target/doc-final/embedded/

# Copy main index page
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand All @@ -38,6 +40,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "_external/embassy"]
path = _external/embassy
url = https://github.com/embassy-rs/embassy.git
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ embedded = ["no-std-compat"]
# All tests with all features
make test

# Embedded target tests
cargo test --features embedded --target thumbv7em-none-eabihf
# Embedded target cross-compilation check
make test-embedded

# Specific test
cargo test test_name --all-features
cargo test test_name --features tokio-runtime
```

### Test Requirements
Expand Down
Loading