image icon indicating copy to clipboard operation
image copied to clipboard

`rayon` is included in the dependency tree even when the `rayon` feature is disabled when `ravif` feature is enabled

Open Shnatsel opened this issue 1 year ago • 1 comments

This happens in image 0.25.2.

To reproduce:

cargo new img-test
cd img-test
cargo add image --no-default-features --features=default-formats
cargo tree -i rayon

prints:

rayon v1.10.0
├── maybe-rayon v0.1.1
│   └── rav1e v0.7.1
│       └── ravif v0.11.8
│           └── image v0.25.2
│               └── img-test v0.1.0
└── ravif v0.11.8 (*)

Shnatsel avatar Jul 24 '24 16:07 Shnatsel

I've added a threading feature to ravif.

kornelski avatar Jul 26 '24 12:07 kornelski