servo / unicode-bidi

Implementation of the Unicode Bidirection Algorithm in Rust
Other
74 stars 34 forks source link

Add `no_std` support #58

Closed madsmtm closed 2 years ago

madsmtm commented 2 years ago

Because of the matches crate, to actually be used on no_std targets, this requires either:

I opted for the last option here, but feel free to only take the first commit (which still compiles fine even though the subcrate isn't marked no_std, but downstream users will just get an error that they tried to link to std).

Manishearth commented 2 years ago

Thanks!