Skip to content

Commit

Permalink
core-foundation: Use dep syntax for with-uuid feature.
Browse files Browse the repository at this point in the history
This removes an implicit feature due to the optional dependency
`uuid`.

While this is user visible, any use of `uuid` as a feature previously
would not have enabled the support code and so it wouldn't have had
any benefit.

Bump the MSRV in CI to 1.64 (while only 1.60 is required here,
other features from 1.64 will be used).
  • Loading branch information
waywardmonkeys committed Jul 23, 2024
1 parent 31a92cd commit 2d1db9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
toolchain: [stable]
include:
- os: macos-14
toolchain: 1.56.1
toolchain: 1.64
steps:
- uses: actions/checkout@v4
- name: Install toolchain
Expand Down
2 changes: 1 addition & 1 deletion core-foundation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ default = ["link"]

mac_os_10_7_support = ["core-foundation-sys/mac_os_10_7_support"] # backwards compatibility
mac_os_10_8_features = ["core-foundation-sys/mac_os_10_8_features"] # enables new features
with-uuid = ["uuid"]
with-uuid = ["dep:uuid"]
# Disable to manually link. Enabled by default.
link = ["core-foundation-sys/link"]

Expand Down

0 comments on commit 2d1db9c

Please sign in to comment.