Skip to content

Commit

Permalink
Bump core-foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Aug 13, 2024
1 parent 7330b28 commit f59ebd8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
matrix:
os: [ macos-latest ]
# NOTE: when changing the MSRV version, change it below as well
rust: [ 1.65.0, stable, beta ]
rust: [ 1.70.0, stable, beta ]

steps:
- name: Checkout sources
Expand All @@ -27,10 +27,6 @@ jobs:
# `x509_parser` dev-dependency has transitive dependency `time` which
# has a 6-month MSRV policy, don't run tests on MSRV version since they
# will always fail.
- name: Revert time dep if needed
if: ${{ matrix.rust == '1.65.0' }}
run: cargo update --precise 0.3.23 --package time

- name: Run cargo test
run: cargo test --all-features --all

Expand Down
2 changes: 1 addition & 1 deletion iostest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ publish = false
crate-type = ["staticlib"]

[dependencies]
core-foundation = "0.9.3"
core-foundation = "0.10.0"
security-framework = { path = "../security-framework" }
security-framework-sys = { path = "../security-framework-sys" }

Expand Down
13 changes: 6 additions & 7 deletions security-framework/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "security-framework"
version = "2.11.1"
version = "3.0.0"
authors = ["Steven Fackler <[email protected]>", "Kornel <[email protected]>"]
license = "MIT OR Apache-2.0"
description = "Security.framework bindings for macOS and iOS"
Expand All @@ -12,23 +12,22 @@ readme = "README.md"
keywords = ["iOS", "TLS", "SSL", "crypto", "keychain"]
exclude = ["test/*"]
edition = "2021"
rust-version = "1.65"
rust-version = "1.70"

[dependencies]
security-framework-sys = { version = "2.11.1", default-features = false, path = "../security-framework-sys" }
bitflags = "2.6"
core-foundation = "0.9.4"
core-foundation = "0.10"
core-foundation-sys = "0.8.6"
libc = "0.2.139"
log = { version = "0.4.20", optional = true }
num-bigint = { version = "0.4.6", optional = true }

[dev-dependencies]
hex = "0.4.3"
env_logger = "0.10" # old for MSRV test
env_logger = "0.11" # old for MSRV test
x509-parser = "0.16"
time = "0.3.17"
tempfile = "3.3.0"
time = "0.3.23"
tempfile = "3.12.0"

[features]
default = ["OSX_10_12"]
Expand Down

0 comments on commit f59ebd8

Please sign in to comment.