Skip to content

Add std feature gate and no_std clip - #205

Open
solus161 wants to merge 1 commit into
aimdb-dev:mainfrom
solus161:feat/aimdb_sync_std_feature_gate
Open

Add std feature gate and no_std clip#205
solus161 wants to merge 1 commit into
aimdb-dev:mainfrom
solus161:feat/aimdb_sync_std_feature_gate

Conversation

@solus161

Copy link
Copy Markdown
Contributor

Description

What's new:

  • tokio-related features are now optional;
  • Update lib.rs to gate std at module level for consumer.rs, handle.rs, and producer.rs as most units are depend on std dependencies at the moment. Will gate at finer level in the futures;
  • Use alloc version of Arc, core version of Debug, Duration;
  • Add build with no default feature in Makefile;

Related Issue

Checklist

  • I have read the CONTRIBUTING.md document.
  • My code follows the project's coding standards.
  • I have added tests to cover my changes.
  • All new and existing tests passed (make check).
  • I have updated the documentation accordingly.

What's new:
- tokio-related features are now optional;
- Update `lib.rs` to gate `std` at module level for `consumer.rs`,
`handle.rs`, and `producer.rs` as most units are depend on `std`
dependencies at the moment. Will gate at finer level in the futures;
- Add build with no default feature in Makefile
@solus161
solus161 requested a review from lxsaah as a code owner July 28, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

aimdb-sync: std feature gate + no_std flip + CI lane

1 participant