Closed h3x4d3c1m4l closed 1 year ago
Thanks for reporting. Could you share the exact command you run to see this error?
The cause is definitely perhaps two different versions of crate
tomlare being used?
, which points to either you needing to install with cargo install mdbook-admonish --locked
or fixing your Cargo.toml
if installing as a library.
Either way knowing your exact command would be useful for me to fix/clarify this for others 🙂
cargo install mdbook-admonish
. Will try with --locked
!
EDIT: works fine, thanks!!
Yep, so I think this is an unintentional breaking change in mdbook:
- Reverted the dependency update to the toml crate (again!). This was an unintentional breaking change in 0.4.32. https://github.com/rust-lang/mdBook/pull/2021
Looks to be being reverted, and the install can be mitigated with --locked
, so closing as no further action required.
Should be mitigated fully now by https://github.com/tommilligan/mdbook-admonish/pull/115 and released in 1.10.2
Hi! Unfortunately I can't get 0.10.0 and 0.10.1 to compile. The same error shows up on both Windows as well as macOS with the latest Rust version (1.71.1).