pyfisch / keyboard-types

Types to define keyboard related events.
Apache License 2.0
54 stars 9 forks source link

Allow this crate to be used in no_std #18

Closed notgull closed 1 year ago

notgull commented 1 year ago

Resolves #17 by implementing initial no_std support. This is a breaking change. I did not implement no_alloc because it would require a substantial change to the codebase.

pyfisch commented 1 year ago

This is a breaking change.

Is this only breaking because of the Cargo features, if you use no-default-features? Or does it actually require code changes?

notgull commented 1 year ago

Is this only breaking because of the Cargo features, if you use no-default-features? Or does it actually require code changes?

Without the std feature, certain error types no longer implement std::error::Error, which is technically a breaking change.

pyfisch commented 1 year ago

Postponed until no-std support is needed in a project.