diff --git a/naga/Cargo.toml b/naga/Cargo.toml index 1d44729c9f..a13e4f9196 100644 --- a/naga/Cargo.toml +++ b/naga/Cargo.toml @@ -68,7 +68,10 @@ criterion = { version = "0.5", features = [] } bincode = "1" diff = "0.1" env_logger = "0.10" -hlsl-snapshots = { version = "0.1.0", path = "./hlsl-snapshots" } +# This _cannot_ have a version specified. If it does, crates.io will look +# for a version of the package on crates when we publish naga. Path dependencies +# are allowed through though. +hlsl-snapshots = { path = "./hlsl-snapshots" } # Require at least version 0.7.1 of ron, this version changed how floating points are # serialized by forcing them to always have the decimal part, this makes it backwards # incompatible with our tests because we do a syntatic diff and not a semantic one.