jpernst / rental

Rust macro to generate self-referential structs
Apache License 2.0
211 stars 11 forks source link

Implement #[no_std] support #1

Closed whitequark closed 7 years ago

whitequark commented 7 years ago

This doesn't change anything for most users, since it's opt-in, using rental = { default-features = false } in Cargo.toml.

PS: cool library PPS: maybe rustfmt it?

jpernst commented 7 years ago

Sorry it took so long to get around to this.

Rather than fix the merge, I just did this manually since it also involved some restructuring, particularly with the test suite. I've published a new version 0.3.4 with no_std support. Let me know if there are any problems with it.