-
-
Notifications
You must be signed in to change notification settings - Fork 275
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move maturin metadata from Cargo.toml
to pyproject.toml
#1493
Conversation
✅ Deploy Preview for maturin-guide ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
6977ea4
to
2b5f3a3
Compare
src/pyproject_toml.rs
Outdated
@@ -86,6 +86,8 @@ impl GlobPattern { | |||
#[serde(rename_all = "kebab-case")] | |||
pub struct ToolMaturin { | |||
// maturin specific options | |||
// extension module name, accepts setuptools style import name like `foo.bar` | |||
name: Option<String>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that name
isn't a good name for this, how about extension-name
/ extension-module
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, maybe rust-module-name
or native-module-name
? i think extension
a bit misleading because in maturin's case it's not an extension, it's the main thing (and the metaphor of extending cpython by adding new built-in modules is lost on most users)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think module-name
is a good alternative.
7681fea
to
1782939
Compare
What does this pull request need to be ready to be merged? |
Use `tool.maturin.data` of `pyproject.toml` instead.
1782939
to
1332779
Compare
…e` in `pyproject.toml`
1332779
to
0b5311e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat!
This is the last breaking change we need for 1.0, right?
Yeah, I'd also like to release a new 0.14 version to deprecate |
sounds good! i also thought about publishing a v0.15 first so people can test all the breaking changes and then publish a 1.0 two weeks or so later |
…` in `pyproject.toml`
bors r=konstin |
Build succeeded: |
Implements #1489 (comment)