The current README instructs to install version 0.3:
But at the time of this writing, the latest version published is 0.2:
➜ dailies libpd ✗ cargo run
Updating crates.io index
error: failed to select a version for the requirement `libpd-rs = "^0.3"`
candidate versions found which didn't match: 0.2.0, 0.1.10, 0.1.9, ...
location searched: crates.io index
required by package `dailies v0.1.0 (/home/emu/git/dailies)`
If I install 0.2 instead, the example in README fails to compile:
➜ dailies libpd ✗ cargo run
Compiling dailies v0.1.0 (/home/emu/git/dailies)
error[E0432]: unresolved import `libpd_rs::convenience`
--> src/main.rs:2:15
|
2 | use libpd_rs::convenience::PdGlobal;
| ^^^^^^^^^^^ could not find `convenience` in `libpd_rs`
error[E0433]: failed to resolve: could not find `convenience` in `libpd_rs`
--> src/main.rs:48:35
|
48 | let ticks = libpd_rs::convenience::calculate_ticks(output_channels, data.len() as i32);
| ^^^^^^^^^^^ could not find `convenience` in `libpd_rs`
Some errors have detailed explanations: E0432, E0433.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `dailies` (bin "main") due to 2 previous errors
I assume this is because it's dependent on the 0.3 API.
The current README instructs to install version 0.3:
But at the time of this writing, the latest version published is 0.2:
If I install 0.2 instead, the example in README fails to compile:
I assume this is because it's dependent on the 0.3 API.