KeiSeiKit-1.0/_primitives/_rust/kei-auth-webauthn/Cargo.toml
Denis Parfionovich d9c5294e7e fix(ci): vendored openssl-sys для cross-compile x86_64-apple-darwin
CI run 26014515768 — `x86_64-apple-darwin` упал на webauthn-attestation-ca
→ openssl-sys 0.9.115: pkg-config не настроен для cross-compile
(macos-latest = arm64, target = x86_64).

Фикс: добавлен прямой dep `openssl-sys = { version = "0.9", features =
["vendored"] }` в kei-auth-webauthn — компилит openssl из исходников,
не требует системного. Транзитивно достаточно одного объявления feature
во всём workspace (Cargo unifies features).
2026-05-18 13:08:40 +08:00

38 lines
1.4 KiB
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[package]
name = "kei-auth-webauthn"
version = "0.1.0"
edition.workspace = true
rust-version.workspace = true
description = "WebAuthn passkey AuthProvider impl for kei-runtime-core (Wave 7 atomar). Wraps webauthn-rs 0.5; stateless ceremony APIs (registration + authentication). Sibling of kei-auth-{google,apple,magiclink}."
license.workspace = true
authors.workspace = true
[lib]
name = "kei_auth_webauthn"
path = "src/lib.rs"
[dependencies]
async-trait = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
tokio = { workspace = true }
url = { workspace = true }
webauthn-rs = "0.5"
uuid = { version = "1", features = ["v4", "serde"] }
kei-runtime-core = { path = "../kei-runtime-core" }
# webauthn-rs тянет openssl-sys транзитивно (webauthn-attestation-ca).
# В CI release.yml `x86_64-apple-darwin` собирается на `macos-latest` (arm64)
# через cross-compile, где системный openssl не найден через pkg-config.
# vendored-фича компилирует openssl из исходников — работает на любом хосте
# (CI fail 2026-05-18 run 26014515768).
openssl-sys = { version = "0.9", features = ["vendored"] }
[dev-dependencies]
tokio = { workspace = true }
[package.metadata.keisei]
backend = "webauthn"
trait = "AuthProvider"
description = "WebAuthn passkey AuthProvider (passwordless, stateless ceremony)"