Skip to content

Commit e7e8b1b

Browse files
authored
Merge pull request #52 from Foundation-Devices/remove-minicbor
remove minicbor
2 parents 7d67897 + b74b8fd commit e7e8b1b

File tree

99 files changed

+2302
-2138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+2302
-2138
lines changed

Cargo.lock

Lines changed: 163 additions & 245 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,32 @@
11
[workspace]
22
resolver = "2"
3-
members = [
4-
"abstracted",
5-
"api",
6-
"api-demo",
7-
"backup-shard",
8-
"btp",
9-
"quantum-link-macros",
10-
]
3+
members = ["api", "backup-shard", "btp", "quantum-link-macros"]
114

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

158
[workspace.dependencies]
16-
btp = { path = "btp" }
17-
foundation-abstracted = { path = "abstracted" }
18-
foundation-api = { path = "api" }
9+
# blockchain commons
10+
bc-components = { version = "0.28.0" }
11+
bc-envelope = { version = "0.37.0" }
12+
bc-xid = { version = "0.16.0" }
13+
dcbor = { version = "0.23.3" }
14+
gstp = { version = "0.11.0" }
15+
16+
chrono = "0.4"
1917
getrandom = { version = "0.2" }
20-
minicbor = { version = "0.24.2" }
21-
minicbor-derive = "0.15.0"
22-
quantum-link-macros = { path = "quantum-link-macros" }
18+
minicbor = { version = "0.24.2", features = ["alloc", "derive"] }
19+
thiserror = { version = "2" }
2320
rkyv = { version = "0.7", default-features = false, features = [
24-
"size_32",
25-
"alloc",
21+
"size_32",
22+
"alloc",
2623
] }
24+
25+
# workspace crates
26+
btp = { path = "btp" }
27+
foundation-api = { path = "api" }
28+
quantum-link-macros = { path = "quantum-link-macros" }
29+
2730
[patch.crates-io]
2831
pqcrypto-traits = { git = "https://github.com/Foundation-Devices/pqcrypto", rev = "ebadf71214f67cb970242fa1053b4acb65767737" }
2932
pqcrypto-mldsa = { git = "https://github.com/Foundation-Devices/pqcrypto", rev = "ebadf71214f67cb970242fa1053b4acb65767737" }

Justfile

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# Run clippy on all targets and features, treating warnings as errors
22
clippy:
3-
cargo clippy --all-targets --all-features -- -D warnings
3+
cargo clippy --all-targets --all-features -- -D warnings
4+
5+
# Run golden/snapshot tests
6+
golden:
7+
cargo test -p foundation-api --test golden_tests
8+
9+
# Update golden/snapshot tests (accept all new snapshots)
10+
golden-update:
11+
INSTA_UPDATE=always cargo test -p foundation-api --test golden_tests
12+
13+
# Review pending golden/snapshot changes interactively (requires cargo-insta)
14+
golden-review:
15+
cargo insta review

abstracted/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

abstracted/Cargo.toml

Lines changed: 0 additions & 32 deletions
This file was deleted.

abstracted/src/abstracted/abstract_bluetooth.rs

Lines changed: 0 additions & 142 deletions
This file was deleted.

0 commit comments

Comments
 (0)