You've already forked trussed-staging
mirror of
https://github.com/trussed-dev/trussed-staging.git
synced 2026-03-11 16:37:18 -07:00
The HkdfExtension was previously maintained in a separate repository and together with a custom backend. Every additional backend adds some overhead, both in the firmware and for maintenance. Therefore this patch moves the trussed-hkdf crate with the HkdfExtension as an extension into this repository and implements it for the StagingBackend, replacing the HkdfBackend. This patch also releases trussed-hkdf v0.2.0 and trussed-staging v0.3.0. Fixes: https://github.com/Nitrokey/trussed-hkdf-backend/issues/6
26 lines
746 B
Makefile
26 lines
746 B
Makefile
# Copyright (C) Nitrokey GmbH
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
|
|
.PHONY: check
|
|
check:
|
|
RUSTLFAGS='-Dwarnings' cargo check --all-features --all-targets --workspace
|
|
RUSTLFAGS='-Dwarnings' cargo check --no-default-features
|
|
RUSTLFAGS='-Dwarnings' cargo check --features chunked
|
|
RUSTLFAGS='-Dwarnings' cargo check --features hkdf
|
|
RUSTLFAGS='-Dwarnings' cargo check --features manage
|
|
RUSTLFAGS='-Dwarnings' cargo check --features wrap-key-to-file
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
cargo clippy --all-features --all-targets --workspace -- --deny warnings
|
|
cargo fmt --all -- --check
|
|
RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps --all-features --workspace
|
|
reuse lint
|
|
|
|
.PHONY: test
|
|
test:
|
|
cargo test --all-features --workspace
|
|
|
|
.PHONY: ci
|
|
ci: check lint test
|