Skip to content

Make this crate compatible with embedded-hal master #1

@eldruin

Description

@eldruin

Hi,
I ran into a compilation problem when using this crate with the embedded-hal master version.
In my pcf857x crate, if changing the embedded-hal dependency in the Cargo.toml file to:

embedded-hal = { git = "https://github.com/rust-embedded/embedded-hal" }

The tests cannot be run as the compiler complains that the prelude::Read and prelude::Write trait bounds were not satisfied.
Am I doing something wrong or is this crate incompatible with embedded-hal master?
There were some changes to embedded-hal's prelude. Could this be the cause?

PS: Thanks for this crate! I use it all the time :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions