Skip to content

Commit

Permalink
bump xwin version (#80)
Browse files Browse the repository at this point in the history
* bump xwin version

* Fix compilation error

* Upgrade to 0.4.1 and fix msrv CI

* use rust toolchain 1.67.0 to fix msrv

* use xwin 0.5.0 and provide custom http agent
  • Loading branch information
Owen-CH-Leung authored Nov 13, 2023
1 parent 65d69f3 commit 3b3ef56
Show file tree
Hide file tree
Showing 4 changed files with 187 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.63.0
- uses: dtolnay/rust-toolchain@1.67.0
- run: cargo check

fmt:
Expand Down
133 changes: 107 additions & 26 deletions Cargo.lock

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

12 changes: 8 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ license = "MIT"
keywords = ["windows", "cargo", "msvc"]
readme = "README.md"
repository = "https://github.com/rust-cross/cargo-xwin"
rust-version = "1.63"
rust-version = "1.67"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -22,16 +22,20 @@ clap = { version = "4.0.0", features = ["derive", "env", "wrap_help"] }
dirs = "5.0.0"
fs-err = "2.7.0"
indicatif = "0.17.2"
native-tls-crate = { package = "native-tls", version = "0.2.11", optional = true }
paste = "1.0.12"
path-slash = "0.2.0"
rustls = { version = "0.21.8", optional = true }
rustls-pemfile = { version = "1.0.4", optional = true }
tracing-subscriber = { version = "0.3.17", features = ["fmt"] }
ureq = { version = "2.8.0", default-features = false, features = ["gzip"] }
which = "4.2.4"
xwin = { version = "0.3.1", default-features = false }
xwin = { version = "0.5.0", default-features = false }

[features]
# By default we use rustls for TLS
default = ["rustls-tls"]
rustls-tls = ["xwin/rustls-tls"]
rustls-tls = ["ureq/tls", "rustls", "rustls-pemfile"]
# If this feature is enabled we instead use the native TLS implementation for the
# target platform
native-tls = ["xwin/native-tls"]
native-tls = ["ureq/native-tls", "rustls-pemfile", "native-tls-crate"]
Loading

0 comments on commit 3b3ef56

Please sign in to comment.