Skip to content

Commit

Permalink
Make cryptoki-sys optional (#1196)
Browse files Browse the repository at this point in the history
cryptoki itself is marked optional and only needed for hsm builds.
cryptoki-sys is still compiled unconditionally, also in builds
disabling the hsm feature. This causes build failures if cryptoki
isn't installed or on systems unsupported by cryptoki-sys's build
script.
  • Loading branch information
botovq authored Jun 11, 2024
1 parent 33e072e commit e1da2f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ openidconnect = { version = "^2.0.0", optional = true, default_features = false
openssl = { version = "^0.10", features = ["v110"] }
oso = { version = "^0.12", optional = true, default_features = false }
cryptoki = { version = "^0.3", optional = true }
cryptoki-sys = "=0.1.4" # pin cryptoki-sys because of compilation issues on various systems
cryptoki-sys = { version = "=0.1.4", optional = true } # pin cryptoki-sys because of compilation issues on various systems
r2d2 = { version = "0.8.9", optional = true }
rand = "^0.8"
regex = { version = "1.5.5", optional = true, default_features = false, features = [
Expand Down

0 comments on commit e1da2f6

Please sign in to comment.