Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Quanta crate optional (but enabled by default) #121

Merged
merged 3 commits into from
May 14, 2022
Merged

Conversation

tatsuya6502
Copy link
Member

@tatsuya6502 tatsuya6502 commented May 14, 2022

As a workaround for #119, make Quanta crate optional and add quanta to the default features.

  • Add clock_compat module to provide alternative Clock and Mock implementations when Quanta is opted out.
  • Add CI for testing with Quanta opted out.
  • Reorganize common::time::* modules.
  • Bump Moka version to v0.8.3.

- Make Quanta optional and add `quanta` to the default features.
- Add `clock_compat` module to provide alternative `Clock` and `Mock`
  implementations when Quanta is opted out.
- Add CI for testing with Quanta opted out.
- Reorganize `common::time::*` modules.
- Bump Moka version to v0.8.3.
@tatsuya6502 tatsuya6502 self-assigned this May 14, 2022
@tatsuya6502 tatsuya6502 added bug Something isn't working enhancement New feature or request and removed bug Something isn't working labels May 14, 2022
@tatsuya6502 tatsuya6502 added this to the v0.8.3 milestone May 14, 2022
@tatsuya6502 tatsuya6502 changed the title Now Quanta crate can be opted out by disabling the default features Make Quanta crate optional (but enabled by default) May 14, 2022
Use `atomic_time_compat` module when `quanta` feature is disabled.
Cosmetic changes on source code comments etc.
@tatsuya6502 tatsuya6502 marked this pull request as ready for review May 14, 2022 11:57
Copy link
Member Author

@tatsuya6502 tatsuya6502 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Merging.

@tatsuya6502 tatsuya6502 merged commit 10d9a24 into master May 14, 2022
@tatsuya6502 tatsuya6502 deleted the gh119-quanta branch May 14, 2022 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant