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

Defmt #39

Merged
merged 9 commits into from
Mar 6, 2023
Merged

Defmt #39

merged 9 commits into from
Mar 6, 2023

Conversation

elpiel
Copy link
Contributor

@elpiel elpiel commented Mar 6, 2023

Exports the Host since docs are missing for it.

I also have an idea on using AtomicUsize (atomic_polyfill) for the sockets (this will remove the requirement of &mut for some methods) and implementing embedded_hal_async / embedded_hal: 0.2.0 traits in separate features.

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
Copy link
Collaborator

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

Mind adding a CHANGELOG entry? :)

@elpiel
Copy link
Contributor Author

elpiel commented Mar 6, 2023

Sure thing! I'm also adding defmt::Format to other structs.

elpiel added 3 commits March 6, 2023 12:54
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
Copy link
Collaborator

@ryan-summers ryan-summers left a comment

Choose a reason for hiding this comment

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

  • Please also update the CI to enable all features by default, so we can test that the defmt configs are correct

CHANGELOG.md Outdated Show resolved Hide resolved
src/lib.rs Outdated Show resolved Hide resolved
elpiel added 2 commits March 6, 2023 13:20
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
@elpiel
Copy link
Contributor Author

elpiel commented Mar 6, 2023

CI is updated and it would be nice to change actions-rs with https://github.com/dtolnay/rust-toolchain as actions-rs has been unmaintained for quite some time now (2 years I think)

@ryan-summers
Copy link
Collaborator

@elpiel Mind rounding things out with a cargo fmt --all to get CI passing?

Signed-off-by: Lachezar Lechev <elpiel93@gmail.com>
@elpiel elpiel force-pushed the defmt-and-debug branch from e4a6298 to a0c8a42 Compare March 6, 2023 12:53
@elpiel
Copy link
Contributor Author

elpiel commented Mar 6, 2023

Ahh my bad, it's fixed now.

@ryan-summers ryan-summers merged commit 516bdae into kellerkindt:master Mar 6, 2023
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.

2 participants