Skip to content

Commit

Permalink
Add wildcards support to publish/upload commands on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 27, 2023
1 parent f5c3cbf commit dd63c6a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
10 changes: 10 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ native-tls = { version = "0.2.8", optional = true }
rustls = { version = "0.20.8", optional = true }
rustls-pemfile = { version = "1.0.1", optional = true }
keyring = { version = "2.0.0", default-features = false, features = ["linux-no-secret-service"], optional = true }
wild = { version = "2.1.0", optional = true }

[dev-dependencies]
indoc = "2.0.0"
Expand All @@ -103,7 +104,7 @@ log = ["tracing-subscriber"]

cli-completion = ["dep:clap_complete_command"]

upload = ["ureq", "multipart", "configparser", "bytesize", "dialoguer/password"]
upload = ["ureq", "multipart", "configparser", "bytesize", "dialoguer/password", "wild"]
# keyring doesn't support *BSD so it's not enabled in `full` by default
password-storage = ["upload", "keyring"]

Expand Down
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Add support for uniffi 0.23 in [#1481](https://github.com/PyO3/maturin/pull/1481)
* Add support for custom TLS certificate authority bundle in [#1483](https://github.com/PyO3/maturin/pull/1483)
* Bump MSRV to 1.64.0 in [#1528](https://github.com/PyO3/maturin/pull/1528)
* Add wildcards support to publish/upload commands on Windows in [#1534](https://github.com/PyO3/maturin/pull/1534)

## [0.14.16] - 2023-03-26

Expand Down
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ fn run() -> Result<()> {
}
}

#[cfg(not(feature = "wild"))]
let opt = Opt::parse();
#[cfg(feature = "wild")]
let opt = Opt::parse_from(wild::args_os());

match opt {
Opt::Build {
Expand Down

0 comments on commit dd63c6a

Please sign in to comment.