-
I'd like to make the package build more reproducible, because I've already seen how my package doesn't build because of some update of a transitive dependency. I've found that I can add [tool.maturin]
cargo-extra-args = "--frozen --locked" to prevent Cargo.lock update. But |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
Were you putting |
Beta Was this translation helpful? Give feedback.
-
I think you can add [tool.maturin]
sdist-include = ["Cargo.lock"] But I do think maturin should do it automatically if user specified |
Beta Was this translation helpful? Give feedback.
I think you can add
Cargo.lock
to it by adding the following content in yourpyproject.toml
But I do think maturin should do it automatically if user specified
--locked
or--frozen
incargo-extra-args
.