`cargo tree -e features` gives wrong output?
⚓ Rust 📅 2025-10-08 👤 surdeus 👁️ 4I think cargo tree gives a wrong output for my project. I already saw a similar issue on the cargo github for a different project, where it was found that the output was actually correct. So I wanted to ask here if I am missing something before opening an issue.
These are my dependencies:
datafusion-datasource= { version="50", default-features=false ,features=["parquet"]}
parquet = "56.2"
cargo tree -e features shows an edge from parquet v56.2.0 to ring feature "std". But parquet should not depend on ring at all without the encryption feature.
Am I misunderstanding how optional dependencies work? Or am I misreading the cargo tree output?
10 posts - 4 participants
🏷️ Rust_feed