Skip to content

Commit 72f3617

Browse files
committed
Deprecate package.metadata.maturin.data
Use `[tool.maturin.data]` in pyproject.toml instead
1 parent 88c4d85 commit 72f3617

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/project_layout.rs

+1
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@ impl ProjectResolver {
183183
}
184184
}
185185
None => extra_metadata.data.as_ref().map(|data| {
186+
eprintln!("⚠️ Warning: specify `data` in Cargo.toml is deprecated, use `data` in [tool.maturin] section in pyproject.toml instead");
186187
let data = Path::new(data);
187188
if data.is_absolute() {
188189
data.to_path_buf()

0 commit comments

Comments
 (0)