Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
dc6e05e
fix compilation of tests
nicoburniske Nov 20, 2025
5ddc1db
delete obsolete workspace members
nicoburniske Nov 20, 2025
e234d66
Cbor macro
nicoburniske Nov 20, 2025
0c1b5c1
api migration
nicoburniske Nov 20, 2025
e886014
get rid of more dead code
nicoburniske Nov 20, 2025
2639973
add tests
nicoburniske Nov 20, 2025
a37f32c
cbor marker trait
nicoburniske Nov 20, 2025
2f7e54c
transparent newtypes
nicoburniske Nov 21, 2025
9fcf10c
ensure public
nicoburniske Nov 21, 2025
a2c4c5d
sort deps
nicoburniske Nov 21, 2025
a8a87bb
clean up cargo.toml
nicoburniske Nov 21, 2025
b46b9f6
get rid of settings module
nicoburniske Nov 21, 2025
473a1c7
golden tests
nicoburniske Nov 21, 2025
c5536e8
fix clippy
nicoburniske Nov 21, 2025
0eeec2d
rename enum case not found
nicoburniske Nov 21, 2025
aa37553
ensure no duplicate indices
nicoburniske Nov 21, 2025
2d2a310
re-export bc libs
nicoburniske Nov 21, 2025
bcfc36a
SeedFingerprint wrapper struct
nicoburniske Nov 21, 2025
462c8e9
remove split_update_into_chunks
nicoburniske Nov 21, 2025
cc37aad
remove unused RawMessage
nicoburniske Nov 21, 2025
e6b1e81
remove new() and getters
nicoburniske Nov 21, 2025
8714cb8
fmt
nicoburniske Nov 21, 2025
e8819ee
delete raw data
nicoburniske Nov 21, 2025
ad89821
re-order messages
nicoburniske Nov 21, 2025
f7fdc4e
FirmwareInstallEvent
nicoburniske Nov 21, 2025
aaccfaf
remove devicestatus and envoystate
nicoburniske Nov 21, 2025
99e460a
update golden tests
nicoburniske Nov 21, 2025
1d4d44e
remove unused onboarding variants
nicoburniske Nov 21, 2025
02e35c9
add download error stage
nicoburniske Nov 21, 2025
b74b8fd
rename FirmwareInstallEvent enum variant
nicoburniske Nov 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
408 changes: 163 additions & 245 deletions Cargo.lock

Large diffs are not rendered by default.

35 changes: 19 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,32 @@
[workspace]
resolver = "2"
members = [
"abstracted",
"api",
"api-demo",
"backup-shard",
"btp",
"quantum-link-macros",
]
members = ["api", "backup-shard", "btp", "quantum-link-macros"]

[workspace.package]
homepage = "https://github.com/Foundation-Devices/foundation-api"

[workspace.dependencies]
btp = { path = "btp" }
foundation-abstracted = { path = "abstracted" }
foundation-api = { path = "api" }
# blockchain commons
bc-components = { version = "0.28.0" }
bc-envelope = { version = "0.37.0" }
bc-xid = { version = "0.16.0" }
dcbor = { version = "0.23.3" }
gstp = { version = "0.11.0" }

chrono = "0.4"
getrandom = { version = "0.2" }
minicbor = { version = "0.24.2" }
minicbor-derive = "0.15.0"
quantum-link-macros = { path = "quantum-link-macros" }
minicbor = { version = "0.24.2", features = ["alloc", "derive"] }
thiserror = { version = "2" }
rkyv = { version = "0.7", default-features = false, features = [
"size_32",
"alloc",
"size_32",
"alloc",
] }

# workspace crates
btp = { path = "btp" }
foundation-api = { path = "api" }
quantum-link-macros = { path = "quantum-link-macros" }

[patch.crates-io]
pqcrypto-traits = { git = "https://github.com/Foundation-Devices/pqcrypto", rev = "ebadf71214f67cb970242fa1053b4acb65767737" }
pqcrypto-mldsa = { git = "https://github.com/Foundation-Devices/pqcrypto", rev = "ebadf71214f67cb970242fa1053b4acb65767737" }
Expand Down
14 changes: 13 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
# Run clippy on all targets and features, treating warnings as errors
clippy:
cargo clippy --all-targets --all-features -- -D warnings
cargo clippy --all-targets --all-features -- -D warnings

# Run golden/snapshot tests
golden:
cargo test -p foundation-api --test golden_tests

# Update golden/snapshot tests (accept all new snapshots)
golden-update:
INSTA_UPDATE=always cargo test -p foundation-api --test golden_tests

# Review pending golden/snapshot changes interactively (requires cargo-insta)
golden-review:
cargo insta review
2 changes: 0 additions & 2 deletions abstracted/.gitignore

This file was deleted.

32 changes: 0 additions & 32 deletions abstracted/Cargo.toml

This file was deleted.

142 changes: 0 additions & 142 deletions abstracted/src/abstracted/abstract_bluetooth.rs

This file was deleted.

Loading