Skip to content

Improve documentation of std examples #240

@johann-cm

Description

@johann-cm

Hey, I was trying to use atat in an std context with tokio. Therefore, I was trying to follow the std-tokio example.
I have come across the hurdle that in addition to the atat dependency, I need to declare

embassy-time = {version = "0.4", features = ["std", "generic-queue-8"]}

as a dependency in order to enable the generic-queue-* feature of embassy-time and to to run in a tokio executor context.
This fact is documented in the example Cargo.toml, but (at least to me) it was not very easy to find.

I think it would be a big improvement if this requirement would be highlighted more to new users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions