irondash / cargokit

Integrate cargo build with flutter plugins and applications.
Other
51 stars 16 forks source link

Crate-hash algorithm might be too simplistic #27

Open knopp opened 9 months ago

knopp commented 9 months ago

Right now it computes hash of Cargo.toml, Cargo.lock, cargokit.yaml and all rust files inside crate. However it is possible for Cargo.toml to reference another crates by path that are part of same plugin and the current algorithm will not detect changes in those.

Crate-hash should attempt to find path dependencies from Cargo.toml and follow them.