dasp
dasp copied to clipboard
Add `no_std` support for `dasp_graph`, enabling `all-no-std` feature to include `dasp_graph`.
There are several TODOs about this, referencing the fact that we can't make a global no_std feature because dasp_graph is not no_std. This is because petgraph did not use to have no_std support, but it does now: https://github.com/petgraph/petgraph/pull/747 since version 0.8.0.
There's no reason not to close these TODOs now, other than maybe wanting to keep petgraph to an older version to avoid breakage?
For context, the TODOs in question are the following:
- https://github.com/RustAudio/dasp/blob/d0892971a3b72dee9b3ff0d16f94b0962605e858/dasp/src/lib.rs#L109
- https://github.com/RustAudio/dasp/blob/d0892971a3b72dee9b3ff0d16f94b0962605e858/dasp/Cargo.toml#L31
- https://github.com/RustAudio/dasp/blob/d0892971a3b72dee9b3ff0d16f94b0962605e858/dasp_graph/src/lib.rs#L123