mirror of
https://github.com/solokeys/solo2.git
synced 2026-06-20 13:16:13 -07:00
130 lines
4.1 KiB
TOML
130 lines
4.1 KiB
TOML
[package]
|
|
name = "runner"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version = "1.62.0"
|
|
|
|
[lib]
|
|
name = "runner"
|
|
|
|
[[bin]]
|
|
name = "runner"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
rtic .workspace = true
|
|
rtic-monotonics .workspace = true
|
|
rtic-sync .workspace = true
|
|
cortex-m .workspace = true
|
|
systick-monotonic .workspace = true
|
|
defmt .workspace = true
|
|
defmt-rtt .workspace = true
|
|
delog .workspace = true
|
|
heapless .workspace = true
|
|
interchange .workspace = true
|
|
nb .workspace = true
|
|
static_cell .workspace = true
|
|
ref-swap .workspace = true
|
|
usb-device .workspace = true
|
|
# usbd-hid = { version = "0.4.5", optional = true }
|
|
usbd-serial .workspace = true
|
|
|
|
admin-app = { workspace = true, optional = true }
|
|
trussed-staging .workspace = true
|
|
trussed-fs-info .workspace = true
|
|
trussed-hkdf .workspace = true
|
|
trussed-manage .workspace = true
|
|
trussed-chunked .workspace = true
|
|
trussed-hpke .workspace = true
|
|
trussed-wrap-key-to-file.workspace = true
|
|
trussed-auth .workspace = true
|
|
trussed-auth-backend.workspace = true
|
|
apdu-dispatch .workspace = true
|
|
ctaphid-dispatch .workspace = true
|
|
ctap-types .workspace = true
|
|
fido-authenticator = { workspace = true, optional = true }
|
|
# OATH/TOTP/HOTP support via trussed-secrets-app (Nitrokey's implementation, Yubico OATH AID)
|
|
# Using fork with PIN protection key isolation fix backported to v0.14
|
|
secrets-app = { workspace = true, optional = true }
|
|
piv-authenticator = { workspace = true, optional = true }
|
|
opcard = { workspace = true, optional = true }
|
|
trussed .workspace = true
|
|
trussed-core .workspace = true
|
|
|
|
# board
|
|
board.workspace = true
|
|
|
|
# components
|
|
ndef-app = { workspace = true, optional = true }
|
|
# NB: when using this app, need to raise trussed/clients-5
|
|
provisioner-app = { workspace = true, optional = true }
|
|
fm11nc08 .workspace = true
|
|
nfc-device .workspace = true
|
|
usbd-ccid .workspace = true
|
|
usbd-ctaphid .workspace = true
|
|
|
|
# panic
|
|
panic-halt.workspace = true
|
|
|
|
# storage
|
|
littlefs2.workspace = true
|
|
|
|
[features]
|
|
# ndef-app is an annoyance on some mobile platforms
|
|
default = ["admin-app", "fido-authenticator", "ndef-app", "oath", "opcard", "piv-authenticator"]
|
|
# OATH/TOTP/HOTP via secrets-app (replaces incompatible oath-authenticator 0.1)
|
|
oath = ["dep:secrets-app"]
|
|
|
|
# develop = ["no-encrypted-storage", "no-buttons", "no-reset-time-window"]
|
|
# develop = ["no-encrypted-storage", "no-reset-time-window"]
|
|
# develop = ["no-encrypted-storage", "no-buttons"]
|
|
develop = ["no-encrypted-storage", "log-defmt", "no-buttons", "no-reset-time-window"]
|
|
|
|
develop-provisioner = ["develop", "provisioner-app"]
|
|
develop-secrets = ["develop", "oath"]
|
|
opcard = ["dep:opcard"]
|
|
develop-opcard = ["develop", "opcard"]
|
|
|
|
# Do not use encryption for the filesystem
|
|
no-encrypted-storage = []
|
|
|
|
# Check for undefined flash and write to determined value (for prince provisioning)
|
|
write-undefined-flash = []
|
|
|
|
# Use to auto-succeed every user presence check
|
|
no-buttons = ["board/no-buttons"]
|
|
|
|
# Allow resetting FIDO authenticator (and possibly others) even after 10s uptime
|
|
no-reset-time-window = ["fido-authenticator/disable-reset-time-window"]
|
|
|
|
# Format filesystem anyway
|
|
format-filesystem = []
|
|
|
|
mldsa44 = [
|
|
"fido-authenticator/mldsa44",
|
|
"trussed/mldsa44",
|
|
"trussed-core/mldsa44",
|
|
"ctap-types/mldsa44",
|
|
# Only activates if piv-authenticator is also enabled.
|
|
"piv-authenticator?/mldsa44",
|
|
]
|
|
|
|
# TODO: get rid of these (depends on moving "initialize_basic" &friends into `board`
|
|
board-lpcxpresso55 = ["board/lpcxpresso55"]
|
|
board-okdoe1 = ["board/okdoe1", "usbfs-peripheral"]
|
|
board-solo2 = ["board/solo2"]
|
|
|
|
test-up-control = ["board/test-up-control"]
|
|
|
|
log-defmt = []
|
|
|
|
highspeed = []
|
|
usbfs-peripheral = []
|
|
serial = []
|
|
# Reconfigure the NFC chip in any case
|
|
reconfigure-nfc = []
|
|
no-clock-controller = ["board/no-clock-controller"]
|
|
enable-clock-controller-signal-pin = ["board/enable-clock-controller-signal-pin"]
|
|
# very-twitchy-mouse = ["usbd-hid"]
|