openrr / urdf-rs

URDF parser for Rust
Apache License 2.0
30 stars 11 forks source link

Rust error from {argument} #37

Closed azalutsky closed 2 years ago

azalutsky commented 2 years ago

error: there is no argument named s --> /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/urdf-rs-0.6.3/src/deserialize.rs:134:49 | 134 | "failed to parse float array in {s}" | ^^^

error: there is no argument named s --> /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/urdf-rs-0.6.3/src/deserialize.rs:162:49 | 162 | "failed to parse float array in {s}" | ^^^

error: there is no argument named s --> /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/urdf-rs-0.6.3/src/deserialize.rs:181:49 | 181 | "failed to parse float array in {s}" | ^^^

error: there is no argument named new_elm --> /Users/me/.cargo/registry/src/github.com-1ecc6299db9ec823/urdf-rs-0.6.3/src/funcs.rs:27:17 | 27 | Ok(format!("{new_elm}")) | ^^^^^^^^^

Is there an easy way to resolve this beyond without having to modify code or forking the repo?

taiki-e commented 2 years ago

The current urdf-rs requires Rust 1.58+.