chore(vault): make it depend off libraries/backup

This commit is contained in:
Gianguido Sorà 2022-07-11 18:15:33 +02:00
parent 9722bbc573
commit 7cd279259a
2 changed files with 16 additions and 5 deletions

19
Cargo.lock generated
View file

@ -143,6 +143,15 @@ version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
[[package]]
name = "backup"
version = "0.1.0"
dependencies = [
"cbor",
"serde",
"serde_json",
]
[[package]]
name = "ball"
version = "0.1.0"
@ -3092,9 +3101,9 @@ checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
[[package]]
name = "serde"
version = "1.0.138"
version = "1.0.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1578c6245786b9d168c5447eeacfb96856573ca56c9d68fdcf394be134882a47"
checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6"
dependencies = [
"serde_derive",
]
@ -3120,9 +3129,9 @@ dependencies = [
[[package]]
name = "serde_derive"
version = "1.0.138"
version = "1.0.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "023e9b1467aef8a10fb88f25611870ada9800ef7e22afce356bb0d2387b6f27c"
checksum = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb"
dependencies = [
"proc-macro2",
"quote",
@ -3674,6 +3683,7 @@ name = "totpbackup-rs"
version = "0.1.0"
dependencies = [
"argh",
"backup",
"cbor",
"ctaphid",
"hex 0.4.3",
@ -3991,6 +4001,7 @@ name = "vault"
version = "0.1.0"
dependencies = [
"arrayref",
"backup",
"base32",
"byteorder",
"cbor",

View file

@ -22,11 +22,11 @@ pddb = {path = "../../services/pddb" }
modals = {path = "../../services/modals" }
trng = {path="../../services/trng"}
susres = {path = "../../services/susres"}
ime-plugin-api = {path = "../../services/ime-plugin-api"}
content-plugin-api = {path = "../../services/content-plugin-api"} # all content canvas providers must provide this API
ctap-crypto = {path = "libraries/crypto"}
cbor = {path = "libraries/cbor"}
backup = {path = "libraries/backup"}
byteorder = { version = "1.4.3", default-features = false }
arrayref = "0.3.6"
subtle = { version = "2.2.3", default-features = false, features = ["nightly"] }