diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 001fb25..586fa42 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -780,7 +780,6 @@ dependencies = [ "bitcoin_hashes 0.14.0", "bitvec", "chacha20poly1305", - "cove_nfc", "crossbeam", "data-encoding", "derive_more", @@ -812,22 +811,8 @@ dependencies = [ "tracing-subscriber", "uniffi", "url", - "zeroize", -] - -[[package]] -name = "cove_nfc" -version = "0.1.0" -dependencies = [ - "derive_more", - "macros", - "parking_lot", - "seahash", - "thiserror", - "tracing", - "tracing-log", - "uniffi", "winnow", + "zeroize", ] [[package]] @@ -2514,12 +2499,6 @@ dependencies = [ "untrusted", ] -[[package]] -name = "seahash" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" - [[package]] name = "secp256k1" version = "0.29.1" diff --git a/rust/Cargo.toml b/rust/Cargo.toml index cfffc51..1dff33a 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -16,7 +16,6 @@ default = ["uniffi/cli"] [dependencies] # cove crates -cove_nfc = { path = "./crates/cove_nfc" } macros = { path = "./crates/macros" } # bdk / bitcoin @@ -118,6 +117,9 @@ bbqr = "0.3" # hex hex = "0.4.3" +# parsing +winnow = "0.6.0" + [build-dependencies] uniffi = { version = "=0.28.1", features = ["build"] } diff --git a/rust/crates/Cargo.lock b/rust/crates/Cargo.lock index dc532a4..af41320 100644 --- a/rust/crates/Cargo.lock +++ b/rust/crates/Cargo.lock @@ -2,880 +2,10 @@ # It is not intended for manual editing. version = 3 -[[package]] -name = "addr2line" -version = "0.24.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" -dependencies = [ - "gimli", -] - -[[package]] -name = "adler2" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" - -[[package]] -name = "anyhow" -version = "1.0.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6" - -[[package]] -name = "askama" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b79091df18a97caea757e28cd2d5fda49c6cd4bd01ddffd7ff01ace0c0ad2c28" -dependencies = [ - "askama_derive", - "askama_escape", -] - -[[package]] -name = "askama_derive" -version = "0.12.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "19fe8d6cb13c4714962c072ea496f3392015f0989b1a2847bb4b2d9effd71d83" -dependencies = [ - "askama_parser", - "basic-toml", - "mime", - "mime_guess", - "proc-macro2", - "quote", - "serde", - "syn", -] - -[[package]] -name = "askama_escape" -version = "0.10.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "619743e34b5ba4e9703bba34deac3427c72507c7159f5fd030aea8cac0cfe341" - -[[package]] -name = "askama_parser" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acb1161c6b64d1c3d83108213c2a2533a342ac225aabd0bda218278c2ddb00c0" -dependencies = [ - "nom", -] - -[[package]] -name = "async-compat" -version = "0.2.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bab94bde396a3f7b4962e396fdad640e241ed797d4d8d77fc8c237d14c58fc0" -dependencies = [ - "futures-core", - "futures-io", - "once_cell", - "pin-project-lite", - "tokio", -] - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "backtrace" -version = "0.3.74" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" -dependencies = [ - "addr2line", - "cfg-if", - "libc", - "miniz_oxide", - "object", - "rustc-demangle", - "windows-targets", -] - -[[package]] -name = "basic-toml" -version = "0.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "823388e228f614e9558c6804262db37960ec8821856535f5c3f59913140558f8" -dependencies = [ - "serde", -] - -[[package]] -name = "bincode" -version = "1.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad" -dependencies = [ - "serde", -] - -[[package]] -name = "bitflags" -version = "2.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" - -[[package]] -name = "bytes" -version = "1.7.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" - -[[package]] -name = "camino" -version = "1.1.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8b96ec4966b5813e2c0507c1f86115c8c5abaadc3980879c3424042a02fd1ad3" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo-platform" -version = "0.1.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24b1f0365a6c6bb4020cd05806fd0d33c44d38046b8bd7f0e40814b9763cabfc" -dependencies = [ - "serde", -] - -[[package]] -name = "cargo_metadata" -version = "0.15.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eee4243f1f26fc7a42710e7439c149e2b10b05472f88090acce52632f231a73a" -dependencies = [ - "camino", - "cargo-platform", - "semver", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "cfg-if" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" - -[[package]] -name = "cove_nfc" -version = "0.1.0" -dependencies = [ - "derive_more", - "hex", - "macros", - "parking_lot", - "seahash", - "serde", - "serde_json", - "thiserror", - "tracing", - "tracing-log", - "uniffi", - "winnow", -] - [[package]] name = "crates" version = "0.1.0" -[[package]] -name = "derive_more" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4a9b99b9cbbe49445b21764dc0625032a89b145a2642e67603e1c936f5458d05" -dependencies = [ - "derive_more-impl", -] - -[[package]] -name = "derive_more-impl" -version = "1.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22" -dependencies = [ - "proc-macro2", - "quote", - "syn", - "unicode-xid", -] - -[[package]] -name = "fs-err" -version = "2.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88a41f105fe1d5b6b34b2055e3dc59bb79b46b48b2040b9e6c7b4b5de097aa41" -dependencies = [ - "autocfg", -] - -[[package]] -name = "futures-core" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" - -[[package]] -name = "futures-io" -version = "0.3.30" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" - -[[package]] -name = "gimli" -version = "0.31.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" - -[[package]] -name = "glob" -version = "0.3.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" - -[[package]] -name = "goblin" -version = "0.8.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b363a30c165f666402fe6a3024d3bec7ebc898f96a4a23bd1c99f8dbf3f4f47" -dependencies = [ - "log", - "plain", - "scroll", -] - -[[package]] -name = "heck" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" - -[[package]] -name = "hex" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" - -[[package]] -name = "itoa" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" - -[[package]] -name = "libc" -version = "0.2.159" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" - -[[package]] -name = "lock_api" -version = "0.4.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" -dependencies = [ - "autocfg", - "scopeguard", -] - -[[package]] -name = "log" -version = "0.4.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" - [[package]] name = "macros" version = "0.1.0" - -[[package]] -name = "memchr" -version = "2.7.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" - -[[package]] -name = "mime" -version = "0.3.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" - -[[package]] -name = "mime_guess" -version = "2.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7c44f8e672c00fe5308fa235f821cb4198414e1c77935c1ab6948d3fd78550e" -dependencies = [ - "mime", - "unicase", -] - -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - -[[package]] -name = "miniz_oxide" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" -dependencies = [ - "adler2", -] - -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - -[[package]] -name = "object" -version = "0.36.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" -dependencies = [ - "memchr", -] - -[[package]] -name = "once_cell" -version = "1.20.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "82881c4be219ab5faaf2ad5e5e5ecdff8c66bd7402ca3160975c93b24961afd1" -dependencies = [ - "portable-atomic", -] - -[[package]] -name = "parking_lot" -version = "0.12.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets", -] - -[[package]] -name = "paste" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" - -[[package]] -name = "pin-project-lite" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" - -[[package]] -name = "plain" -version = "0.2.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6" - -[[package]] -name = "portable-atomic" -version = "1.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc9c68a3f6da06753e9335d63e27f6b9754dd1920d941135b7ea8224f141adb2" - -[[package]] -name = "proc-macro2" -version = "1.0.86" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "redox_syscall" -version = "0.5.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f" -dependencies = [ - "bitflags", -] - -[[package]] -name = "rustc-demangle" -version = "0.1.24" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "719b953e2095829ee67db738b3bfa9fa368c94900df327b3f07fe6e794d2fe1f" - -[[package]] -name = "ryu" -version = "1.0.18" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" - -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - -[[package]] -name = "scroll" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ab8598aa408498679922eff7fa985c25d58a90771bd6be794434c5277eab1a6" -dependencies = [ - "scroll_derive", -] - -[[package]] -name = "scroll_derive" -version = "0.12.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f81c2fde025af7e69b1d1420531c8a8811ca898919db177141a85313b1cb932" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "seahash" -version = "4.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b" - -[[package]] -name = "semver" -version = "1.0.23" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" -dependencies = [ - "serde", -] - -[[package]] -name = "serde" -version = "1.0.210" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.210" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.128" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" -dependencies = [ - "itoa", - "memchr", - "ryu", - "serde", -] - -[[package]] -name = "siphasher" -version = "0.3.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" - -[[package]] -name = "smallvec" -version = "1.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" - -[[package]] -name = "smawk" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c" - -[[package]] -name = "static_assertions" -version = "1.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" - -[[package]] -name = "syn" -version = "2.0.79" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "textwrap" -version = "0.16.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9" -dependencies = [ - "smawk", -] - -[[package]] -name = "thiserror" -version = "1.0.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.64" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tokio" -version = "1.40.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" -dependencies = [ - "backtrace", - "pin-project-lite", -] - -[[package]] -name = "toml" -version = "0.5.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" -dependencies = [ - "serde", -] - -[[package]] -name = "tracing" -version = "0.1.40" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" -dependencies = [ - "pin-project-lite", - "tracing-attributes", - "tracing-core", -] - -[[package]] -name = "tracing-attributes" -version = "0.1.27" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "tracing-core" -version = "0.1.32" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" -dependencies = [ - "once_cell", - "valuable", -] - -[[package]] -name = "tracing-log" -version = "0.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3" -dependencies = [ - "log", - "once_cell", - "tracing-core", -] - -[[package]] -name = "unicase" -version = "2.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7d2d4dafb69621809a81864c9c1b864479e1235c0dd4e199924b9742439ed89" -dependencies = [ - "version_check", -] - -[[package]] -name = "unicode-ident" -version = "1.0.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" - -[[package]] -name = "unicode-xid" -version = "0.2.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" - -[[package]] -name = "uniffi" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2db87def739fe4183947f8419d572d1849a4a09355eba4e988a2105cfd0ac6a7" -dependencies = [ - "anyhow", - "cargo_metadata", - "uniffi_bindgen", - "uniffi_core", - "uniffi_macros", -] - -[[package]] -name = "uniffi_bindgen" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a112599c9556d1581e4a3d72019a74c2c3e122cc27f4af12577a429c4d5e614" -dependencies = [ - "anyhow", - "askama", - "camino", - "cargo_metadata", - "fs-err", - "glob", - "goblin", - "heck", - "once_cell", - "paste", - "serde", - "textwrap", - "toml", - "uniffi_meta", - "uniffi_udl", -] - -[[package]] -name = "uniffi_checksum_derive" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a22dbe67c1c957ac6e7611bdf605a6218aa86b0eebeb8be58b70ae85ad7d73dc" -dependencies = [ - "quote", - "syn", -] - -[[package]] -name = "uniffi_core" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a0c35aaad30e3a9e6d4fe34e358d64dbc92ee09045b48591b05fc9f12e0905b" -dependencies = [ - "anyhow", - "async-compat", - "bytes", - "camino", - "log", - "once_cell", - "paste", - "static_assertions", -] - -[[package]] -name = "uniffi_macros" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db66474c5c61b0f7afc3b4995fecf9b72b340daa5ca0ef3da7778d75eb5482ea" -dependencies = [ - "bincode", - "camino", - "fs-err", - "once_cell", - "proc-macro2", - "quote", - "serde", - "syn", - "toml", - "uniffi_meta", -] - -[[package]] -name = "uniffi_meta" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d898893f102e0e39b8bcb7e3d2188f4156ba280db32db9e8af1f122d057e9526" -dependencies = [ - "anyhow", - "bytes", - "siphasher", - "uniffi_checksum_derive", -] - -[[package]] -name = "uniffi_testing" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6aa4f0cf9d12172d84fc00a35a6c1f3522b526daad05ae739f709f6941b9b6" -dependencies = [ - "anyhow", - "camino", - "cargo_metadata", - "fs-err", - "once_cell", -] - -[[package]] -name = "uniffi_udl" -version = "0.28.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b044e9c519e0bb51e516ab6f6d8f4f4dcf900ce30d5ad07c03f924e2824f28e" -dependencies = [ - "anyhow", - "textwrap", - "uniffi_meta", - "uniffi_testing", - "weedle2", -] - -[[package]] -name = "valuable" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d" - -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - -[[package]] -name = "weedle2" -version = "5.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "998d2c24ec099a87daf9467808859f9d82b61f1d9c9701251aea037f514eae0e" -dependencies = [ - "nom", -] - -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_gnullvm", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", -] - -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - -[[package]] -name = "winnow" -version = "0.6.20" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" -dependencies = [ - "memchr", -] diff --git a/rust/crates/Cargo.toml b/rust/crates/Cargo.toml index 5e1817d..13b4242 100644 --- a/rust/crates/Cargo.toml +++ b/rust/crates/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [workspace] -members = [ "./cove_nfc", "./macros" ] +members = [ "./macros" ] [workspace.dependencies] # bindings diff --git a/rust/crates/cove_nfc/Cargo.toml b/rust/crates/cove_nfc/Cargo.toml deleted file mode 100644 index 5a7cfb9..0000000 --- a/rust/crates/cove_nfc/Cargo.toml +++ /dev/null @@ -1,36 +0,0 @@ -[package] -name = "cove_nfc" -version = "0.1.0" -edition = "2021" - -[dependencies] -# workspace -macros = { path = "../macros" } - -# ffi -uniffi = { workspace = true } - -# parsing -winnow = { version = "0.6", features = ["simd"] } - -# error handling -thiserror = { workspace = true } - -# derive macros -derive_more = { workspace = true } - -# logging -tracing = { workspace = true } -tracing-log = { workspace = true } - -# mutex -parking_lot = { workspace = true } - -# hashing -seahash = "4.1" - -[dev-dependencies] -hex = "0.4" - -serde = { version = "1.0", features = ["derive"] } -serde_json = "1.0" diff --git a/rust/crates/cove_nfc/test/data/descriptor.txt b/rust/crates/cove_nfc/test/data/descriptor.txt deleted file mode 100644 index f02e4b9..0000000 --- a/rust/crates/cove_nfc/test/data/descriptor.txt +++ /dev/null @@ -1 +0,0 @@ -wpkh([817e7be0/84h/0h/0h]xpub6CiKnWv7PPyyeb4kCwK4fidKqVjPfD9TP6MiXnzBVGZYNanNdY3mMvywcrdDc6wK82jyBSd95vsk26QujnJWPrSaPfYeyW7NyX37HHGtfQM/<0;1>/*)#60tjs4c7 diff --git a/rust/crates/cove_nfc/test/data/descriptor_bytes.txt b/rust/crates/cove_nfc/test/data/descriptor_bytes.txt deleted file mode 100644 index 67f8cb6..0000000 --- a/rust/crates/cove_nfc/test/data/descriptor_bytes.txt +++ /dev/null @@ -1 +0,0 @@ -226, 67, 0, 1, 0, 0, 4, 0, 3, 161, 209, 1, 157, 84, 2, 101, 110, 119, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 56, 52, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 67, 105, 75, 110, 87, 118, 55, 80, 80, 121, 121, 101, 98, 52, 107, 67, 119, 75, 52, 102, 105, 100, 75, 113, 86, 106, 80, 102, 68, 57, 84, 80, 54, 77, 105, 88, 110, 122, 66, 86, 71, 90, 89, 78, 97, 110, 78, 100, 89, 51, 109, 77, 118, 121, 119, 99, 114, 100, 68, 99, 54, 119, 75, 56, 50, 106, 121, 66, 83, 100, 57, 53, 118, 115, 107, 50, 54, 81, 117, 106, 110, 74, 87, 80, 114, 83, 97, 80, 102, 89, 101, 121, 87, 55, 78, 121, 88, 51, 55, 72, 72, 71, 116, 102, 81, 77, 47, 60, 48, 59, 49, 62, 47, 42, 41, 35, 54, 48, 116, 106, 115, 52, 99, 55, 254, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 52, 104, 47, 48, 104, 47, 48, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 66, 111, 75, 78, 49, 52, 74, 122, 83, 70, 78, 49, 84, 51, 99, 113, 101, 57, 70, 110, 114, 119, 110, 88, 71, 65, 115, 109, 98, 103, 69, 84, 74, 121, 101, 97, 122, 111, 97, 51, 70, 55, 97, 77, 88, 104, 52, 88, 110, 100, 118, 86, 114, 74, 65, 89, 121, 77, 49, 50, 55, 70, 115, 114, 72, 56, 75, 70, 118, 53, 88, 70, 88, 68, 114, 111, 113, 88, 78, 102, 90, 77, 102, 115, 105, 110, 111, 119, 55, 120, 112, 57, 51, 117, 101, 89, 83, 112, 110, 114, 106, 66, 66, 70, 115, 52, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 52, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 66, 111, 75, 78, 49, 52, 74, 122, 83, 70, 78, 49, 84, 51, 99, 113, 101, 57, 70, 110, 114, 119, 110, 88, 71, 65, 115, 109, 98, 103, 69, 84, 74, 121, 101, 97, 122, 111, 97, 51, 70, 55, 97, 77, 88, 104, 52, 88, 110, 100, 118, 86, 114, 74, 65, 89, 121, 77, 49, 50, 55, 70, 115, 114, 72, 56, 75, 70, 118, 53, 88, 70, 88, 68, 114, 111, 113, 88, 78, 102, 90, 77, 102, 115, 105, 110, 111, 119, 55, 120, 112, 57, 51, 117, 101, 89, 83, 112, 110, 114, 106, 66, 66, 70, 115, 52, 47, 60, 48, 59, 49, 62, 47, 42, 41, 35, 116, 100, 116, 114, 108, 51, 121, 57, 34, 44, 32, 34, 102, 105, 114, 115, 116, 34, 58, 32, 34, 49, 70, 74, 82, 52, 68, 70, 78, 87, 69, 110, 75, 71, 81, 87, 72, 106, 109, 53, 121, 88, 75, 72, 97, 111, 56, 52, 74, 80, 71, 103, 71, 80, 110, 34, 125, 44, 32, 34, 98, 105, 112, 52, 57, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 115, 104, 45, 112, 50, 119, 112, 107, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 57, 55, 56, 51, 67, 68, 53, 69, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 57, 104, 47, 48, 104, 47, 48, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 67, 67, 75, 65, 118, 85, 84, 78, 117, 114, 115, 69, 110, 97, 74, 56, 107, 49, 100, 50, 55, 76, 102, 113, 69, 85, 122, 101, 65, 120, 50, 78, 57, 119, 70, 113, 89, 69, 51, 87, 49, 120, 104, 55, 110, 113, 103, 74, 69, 66, 69, 98, 76, 83, 83, 109, 111, 104, 119, 68, 120, 122, 115, 83, 118, 99, 115, 89, 113, 105, 81, 113, 70, 122, 82, 118, 116, 97, 54, 53, 78, 106, 98, 101, 53, 111, 56, 52, 98, 70, 53, 89, 88, 72, 70, 113, 102, 83, 72, 50, 68, 107, 104, 111, 110, 109, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 115, 104, 40, 119, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 57, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 67, 67, 75, 65, 118, 85, 84, 78, 117, 114, 115, 69, 110, 97, 74, 56, 107, 49, 100, 50, 55, 76, 102, 113, 69, 85, 122, 101, 65, 120, 50, 78, 57, 119, 70, 113, 89, 69, 51, 87, 49, 120, 104, 55, 110, 113, 103, 74, 69, 66, 69, 98, 76, 83, 83, 109, 111, 104, 119, 68, 120, 122, 115, 83, 118, 99, 115, 89, 113, 105, 81, 113, 70, 122, 82, 118, 116, 97, 54, 53, 78, 106, 98, 101, 53, 111, 56, 52, 98, 70, 53, 89, 88, 72, 70, 113, 102, 83, 72, 50, 68, 107, 104, 111, 110, 109, 47, 60, 48, 59, 49, 62, 47, 42, 41, 41, 35, 56, 108, 108, 109, 116, 51, 54, 120, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 121, 112, 117, 98, 54, 88, 50, 97, 85, 98, 57, 78, 88, 98, 81, 77, 54, 53, 109, 81, 121, 54, 111, 70, 69, 67, 83, 66, 49, 67, 100, 83, 97, 110, 119, 88, 72, 71, 84, 85, 99, 119, 55, 118, 116, 50, 76, 97, 65, 116, 101, 117, 89, 116, 76, 111, 68, 81, 54, 97, 111, 49, 102, 88, 68, 115, 101, 110, 114, 90, 106, 103, 74, 75, 74, 121, 72, 118, 76, 121, 112, 66, 66, 101, 111, 53, 57, 99, 83, 75, 85, 105, 118, 118, 119, 87, 56, 83, 54, 107, 55, 80, 86, 118, 81, 107, 86, 111, 115, 120, 90, 34, 44, 32, 34, 102, 105, 114, 115, 116, 34, 58, 32, 34, 51, 65, 87, 53, 103, 101, 68, 90, 113, 109, 55, 82, 83, 54, 50, 65, 66, 82, 121, 56, 70, 65, 74, 118, 116, 106, 86, 77, 102, 105, 120, 109, 81, 106, 34, 125, 44, 32, 34, 98, 105, 112, 56, 52, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 119, 112, 107, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 56, 68, 70, 69, 67, 70, 67, 51, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 56, 52, 104, 47, 48, 104, 47, 48, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 67, 105, 75, 110, 87, 118, 55, 80, 80, 121, 121, 101, 98, 52, 107, 67, 119, 75, 52, 102, 105, 100, 75, 113, 86, 106, 80, 102, 68, 57, 84, 80, 54, 77, 105, 88, 110, 122, 66, 86, 71, 90, 89, 78, 97, 110, 78, 100, 89, 51, 109, 77, 118, 121, 119, 99, 114, 100, 68, 99, 54, 119, 75, 56, 50, 106, 121, 66, 83, 100, 57, 53, 118, 115, 107, 50, 54, 81, 117, 106, 110, 74, 87, 80, 114, 83, 97, 80, 102, 89, 101, 121, 87, 55, 78, 121, 88, 51, 55, 72, 72, 71, 116, 102, 81, 77, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 119, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 56, 52, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 67, 105, 75, 110, 87, 118, 55, 80, 80, 121, 121, 101, 98, 52, 107, 67, 119, 75, 52, 102, 105, 100, 75, 113, 86, 106, 80, 102, 68, 57, 84, 80, 54, 77, 105, 88, 110, 122, 66, 86, 71, 90, 89, 78, 97, 110, 78, 100, 89, 51, 109, 77, 118, 121, 119, 99, 114, 100, 68, 99, 54, 119, 75, 56, 50, 106, 121, 66, 83, 100, 57, 53, 118, 115, 107, 50, 54, 81, 117, 106, 110, 74, 87, 80, 114, 83, 97, 80, 102, 89, 101, 121, 87, 55, 78, 121, 88, 51, 55, 72, 72, 71, 116, 102, 81, 77, 47, 60, 48, 59, 49, 62, 47, 42, 41, 35, 54, 48, 116, 106, 115, 52, 99, 55, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 122, 112, 117, 98, 54, 114, 78, 114, 80, 114, 70, 119, 103, 109, 52, 119, 77, 66, 83, 121, 115, 101, 116, 75, 53, 116, 112, 76, 66, 83, 50, 72, 89, 84, 56, 84, 68, 75, 81, 65, 54, 97, 109, 120, 70, 72, 75, 74, 85, 110, 81, 113, 56, 114, 78, 116, 99, 52, 74, 68, 102, 71, 89, 80, 98, 118, 70, 57, 119, 74, 121, 97, 103, 80, 112, 71, 49, 70, 97, 113, 110, 102, 101, 51, 66, 66, 56, 88, 122, 75, 111, 110, 56, 76, 119, 87, 57, 75, 107, 77, 87, 121, 65, 81, 52, 82, 81, 72, 122, 66, 49, 34, 44, 32, 34, 102, 105, 114, 115, 116, 34, 58, 32, 34, 98, 99, 49, 113, 48, 103, 48, 118, 110, 52, 121, 113, 121, 107, 48, 122, 106, 119, 120, 119, 48, 122, 118, 53, 112, 108, 116, 121, 121, 99, 122, 116, 121, 48, 48, 52, 122, 99, 57, 103, 55, 114, 34, 125, 44, 32, 34, 98, 105, 112, 52, 56, 95, 49, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 115, 104, 45, 112, 50, 119, 115, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 53, 55, 68, 55, 70, 48, 56, 55, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 49, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 110, 50, 120, 106, 104, 113, 78, 89, 87, 68, 67, 69, 57, 51, 97, 67, 107, 75, 97, 98, 74, 55, 81, 113, 105, 56, 110, 50, 103, 101, 99, 116, 120, 101, 121, 57, 81, 101, 78, 119, 49, 80, 110, 70, 98, 56, 55, 114, 87, 114, 90, 55, 112, 111, 103, 50, 85, 74, 112, 53, 89, 54, 76, 56, 70, 120, 78, 110, 71, 52, 113, 78, 72, 67, 74, 102, 69, 53, 68, 83, 77, 80, 56, 84, 107, 120, 103, 66, 99, 106, 110, 86, 65, 112, 57, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 115, 104, 40, 119, 115, 104, 40, 115, 111, 114, 116, 101, 100, 109, 117, 108, 116, 105, 40, 77, 44, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 49, 104, 93, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 110, 50, 120, 106, 104, 113, 78, 89, 87, 68, 67, 69, 57, 51, 97, 67, 107, 75, 97, 98, 74, 55, 81, 113, 105, 56, 110, 50, 103, 101, 99, 116, 120, 101, 121, 57, 81, 101, 78, 119, 49, 80, 110, 70, 98, 56, 55, 114, 87, 114, 90, 55, 112, 111, 103, 50, 85, 74, 112, 53, 89, 54, 76, 56, 70, 120, 78, 110, 71, 52, 113, 78, 72, 67, 74, 102, 69, 53, 68, 83, 77, 80, 56, 84, 107, 120, 103, 66, 99, 106, 110, 86, 65, 112, 57, 47, 48, 47, 42, 44, 46, 46, 46, 41, 41, 41, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 89, 112, 117, 98, 54, 107, 51, 65, 66, 90, 51, 98, 117, 57, 97, 115, 51, 117, 75, 69, 85, 114, 100, 57, 89, 78, 100, 89, 50, 111, 107, 117, 117, 74, 70, 103, 88, 86, 97, 106, 81, 110, 119, 84, 83, 82, 113, 66, 100, 119, 77, 72, 82, 104, 118, 109, 105, 97, 74, 75, 82, 51, 50, 118, 53, 67, 82, 119, 84, 117, 114, 112, 54, 78, 81, 107, 115, 121, 53, 66, 71, 81, 99, 55, 71, 122, 81, 76, 68, 118, 54, 118, 118, 116, 50, 71, 76, 104, 81, 119, 118, 82, 49, 104, 98, 71, 80, 51, 89, 119, 49, 34, 125, 44, 32, 34, 98, 105, 112, 52, 56, 95, 50, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 119, 115, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 49, 49, 51, 52, 68, 49, 57, 53, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 50, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 114, 69, 50, 113, 118, 72, 56, 69, 107, 112, 87, 81, 115, 122, 55, 80, 66, 77, 50, 52, 67, 78, 55, 74, 68, 57, 88, 50, 86, 112, 83, 66, 103, 56, 75, 54, 78, 76, 100, 115, 54, 101, 77, 101, 116, 115, 107, 66, 50, 87, 122, 100, 114, 99, 57, 97, 87, 109, 75, 105, 66, 55, 56, 104, 89, 116, 49, 103, 109, 71, 112, 115, 122, 80, 97, 117, 81, 85, 116, 117, 106, 77, 76, 75, 72, 99, 53, 104, 112, 97, 105, 106, 89, 115, 82, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 119, 115, 104, 40, 115, 111, 114, 116, 101, 100, 109, 117, 108, 116, 105, 40, 77, 44, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 50, 104, 93, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 114, 69, 50, 113, 118, 72, 56, 69, 107, 112, 87, 81, 115, 122, 55, 80, 66, 77, 50, 52, 67, 78, 55, 74, 68, 57, 88, 50, 86, 112, 83, 66, 103, 56, 75, 54, 78, 76, 100, 115, 54, 101, 77, 101, 116, 115, 107, 66, 50, 87, 122, 100, 114, 99, 57, 97, 87, 109, 75, 105, 66, 55, 56, 104, 89, 116, 49, 103, 109, 71, 112, 115, 122, 80, 97, 117, 81, 85, 116, 117, 106, 77, 76, 75, 72, 99, 53, 104, 112, 97, 105, 106, 89, 115, 82, 47, 48, 47, 42, 44, 46, 46, 46, 41, 41, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 90, 112, 117, 98, 55, 52, 115, 82, 86, 68, 105, 88, 51, 113, 56, 76, 121, 80, 97, 84, 88, 102, 65, 85, 49, 53, 51, 68, 119, 105, 83, 89, 71, 119, 103, 101, 76, 114, 111, 81, 104, 67, 97, 76, 100, 99, 50, 77, 81, 87, 87, 84, 101, 52, 77, 71, 82, 116, 88, 114, 106, 122, 99, 112, 97, 109, 88, 78, 117, 77, 84, 65, 116, 74, 87, 119, 121, 101, 69, 74, 83, 99, 114, 97, 86, 116, 111, 114, 106, 77, 52, 109, 121, 100, 81, 65, 74, 97, 83, 72, 105, 110, 85, 115, 66, 102, 89, 111, 107, 57, 100, 34, 125, 44, 32, 34, 98, 105, 112, 52, 53, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 115, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 66, 68, 48, 69, 49, 66, 69, 69, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 53, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 56, 113, 104, 104, 105, 51, 106, 72, 99, 77, 98, 117, 65, 119, 50, 97, 100, 83, 111, 105, 121, 51, 114, 109, 69, 81, 103, 54, 105, 118, 52, 106, 105, 51, 77, 52, 51, 116, 57, 81, 90, 53, 114, 86, 51, 65, 118, 77, 84, 101, 98, 57, 71, 66, 52, 77, 103, 103, 49, 121, 86, 98, 86, 106, 122, 72, 70, 103, 55, 81, 117, 74, 51, 77, 65, 120, 74, 115, 89, 84, 68, 114, 120, 118, 104, 118, 122, 106, 102, 90, 78, 77, 119, 57, 85, 80, 104, 53, 65, 54, 121, 89, 72, 65, 49, 111, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 115, 104, 40, 115, 111, 114, 116, 101, 100, 109, 117, 108, 116, 105, 40, 77, 44, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 53, 104, 93, 120, 112, 117, 98, 54, 56, 113, 104, 104, 105, 51, 106, 72, 99, 77, 98, 117, 65, 119, 50, 97, 100, 83, 111, 105, 121, 51, 114, 109, 69, 81, 103, 54, 105, 118, 52, 106, 105, 51, 77, 52, 51, 116, 57, 81, 90, 53, 114, 86, 51, 65, 118, 77, 84, 101, 98, 57, 71, 66, 52, 77, 103, 103, 49, 121, 86, 98, 86, 106, 122, 72, 70, 103, 55, 81, 117, 74, 51, 77, 65, 120, 74, 115, 89, 84, 68, 114, 120, 118, 104, 118, 122, 106, 102, 90, 78, 77, 119, 57, 85, 80, 104, 53, 65, 54, 121, 89, 72, 65, 49, 111, 47, 48, 47, 42, 44, 46, 46, 46, 41, 41, 34, 125, 125, 254 diff --git a/rust/crates/cove_nfc/test/data/export.json b/rust/crates/cove_nfc/test/data/export.json deleted file mode 100644 index 598c6d8..0000000 --- a/rust/crates/cove_nfc/test/data/export.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "chain": "BTC", - "xfp": "817E7BE0", - "account": 0, - "xpub": "xpub661MyMwAqRbcFFr2SGY3dUn7g8P9VKNZdKWL2Z2pZMEkBWH2D1KTcwTn7keZQCaScCx7BUDjHFJJHnzBvDgUFgNjYsQTRvo7LWfYEtt78Pb", - "bip44": { - "name": "p2pkh", - "xfp": "E8695E99", - "deriv": "m/44h/0h/0h", - "xpub": "xpub6BoKN14JzSFN1T3cqe9FnrwnXGAsmbgETJyeazoa3F7aMXh4XndvVrJAYyM127FsrH8KFv5XFXDroqXNfZMfsinow7xp93ueYSpnrjBBFs4", - "desc": "pkh([817e7be0/44h/0h/0h]xpub6BoKN14JzSFN1T3cqe9FnrwnXGAsmbgETJyeazoa3F7aMXh4XndvVrJAYyM127FsrH8KFv5XFXDroqXNfZMfsinow7xp93ueYSpnrjBBFs4/<0;1>/*)#tdtrl3y9", - "first": "1FJR4DFNWEnKGQWHjm5yXKHao84JPGgGPn" - }, - "bip49": { - "name": "p2sh-p2wpkh", - "xfp": "9783CD5E", - "deriv": "m/49h/0h/0h", - "xpub": "xpub6CCKAvUTNursEnaJ8k1d27LfqEUzeAx2N9wFqYE3W1xh7nqgJEBEbLSSmohwDxzsSvcsYqiQqFzRvta65Njbe5o84bF5YXHFqfSH2Dkhonm", - "desc": "sh(wpkh([817e7be0/49h/0h/0h]xpub6CCKAvUTNursEnaJ8k1d27LfqEUzeAx2N9wFqYE3W1xh7nqgJEBEbLSSmohwDxzsSvcsYqiQqFzRvta65Njbe5o84bF5YXHFqfSH2Dkhonm/<0;1>/*))#8llmt36x", - "_pub": "ypub6X2aUb9NXbQM65mQy6oFECSB1CdSanwXHGTUcw7vt2LaAteuYtLoDQ6ao1fXDsenrZjgJKJyHvLypBBeo59cSKUivvwW8S6k7PVvQkVosxZ", - "first": "3AW5geDZqm7RS62ABRy8FAJvtjVMfixmQj" - }, - "bip84": { - "name": "p2wpkh", - "xfp": "8DFECFC3", - "deriv": "m/84h/0h/0h", - "xpub": "xpub6CiKnWv7PPyyeb4kCwK4fidKqVjPfD9TP6MiXnzBVGZYNanNdY3mMvywcrdDc6wK82jyBSd95vsk26QujnJWPrSaPfYeyW7NyX37HHGtfQM", - "desc": "wpkh([817e7be0/84h/0h/0h]xpub6CiKnWv7PPyyeb4kCwK4fidKqVjPfD9TP6MiXnzBVGZYNanNdY3mMvywcrdDc6wK82jyBSd95vsk26QujnJWPrSaPfYeyW7NyX37HHGtfQM/<0;1>/*)#60tjs4c7", - "_pub": "zpub6rNrPrFwgm4wMBSysetK5tpLBS2HYT8TDKQA6amxFHKJUnQq8rNtc4JDfGYPbvF9wJyagPpG1Faqnfe3BB8XzKon8LwW9KkMWyAQ4RQHzB1", - "first": "bc1q0g0vn4yqyk0zjwxw0zv5pltyyczty004zc9g7r" - }, - "bip48_1": { - "name": "p2sh-p2wsh", - "xfp": "57D7F087", - "deriv": "m/48h/0h/0h/1h", - "xpub": "xpub6EJokeeFBWV1n2xjhqNYWDCE93aCkKabJ7Qqi8n2gectxey9QeNw1PnFb87rWrZ7pog2UJp5Y6L8FxNnG4qNHCJfE5DSMP8TkxgBcjnVAp9", - "desc": "sh(wsh(sortedmulti(M,[817e7be0/48h/0h/0h/1h]xpub6EJokeeFBWV1n2xjhqNYWDCE93aCkKabJ7Qqi8n2gectxey9QeNw1PnFb87rWrZ7pog2UJp5Y6L8FxNnG4qNHCJfE5DSMP8TkxgBcjnVAp9/0/*,...)))", - "_pub": "Ypub6k3ABZ3bu9as3uKEUrd9YNdY2okuuJFgXVajQnwTSRqBdwMHRhvmiaJKR32v5CRwTurp6NQksy5BGQc7GzQLDv6vvt2GLhQwvR1hbGP3Yw1" - }, - "bip48_2": { - "name": "p2wsh", - "xfp": "1134D195", - "deriv": "m/48h/0h/0h/2h", - "xpub": "xpub6EJokeeFBWV1rE2qvH8EkpWQsz7PBM24CN7JD9X2VpSBg8K6NLds6eMetskB2Wzdrc9aWmKiB78hYt1gmGpszPauQUtujMLKHc5hpaijYsR", - "desc": "wsh(sortedmulti(M,[817e7be0/48h/0h/0h/2h]xpub6EJokeeFBWV1rE2qvH8EkpWQsz7PBM24CN7JD9X2VpSBg8K6NLds6eMetskB2Wzdrc9aWmKiB78hYt1gmGpszPauQUtujMLKHc5hpaijYsR/0/*,...))", - "_pub": "Zpub74sRVDiX3q8LyPaTXfAU153DwiSYGwgeLroQhCaLdc2MQWWTe4MGRtXrjzcpamXNuMTAtJWwyeEJScraVtorjM4mydQAJaSHinUsBfYok9d" - }, - "bip45": { - "name": "p2sh", - "xfp": "BD0E1BEE", - "deriv": "m/45h", - "xpub": "xpub68qhhi3jHcMbuAw2adSoiy3rmEQg6iv4ji3M43t9QZ5rV3AvMTeb9GB4Mgg1yVbVjzHFg7QuJ3MAxJsYTDrxvhvzjfZNMw9UPh5A6yYHA1o", - "desc": "sh(sortedmulti(M,[817e7be0/45h]xpub68qhhi3jHcMbuAw2adSoiy3rmEQg6iv4ji3M43t9QZ5rV3AvMTeb9GB4Mgg1yVbVjzHFg7QuJ3MAxJsYTDrxvhvzjfZNMw9UPh5A6yYHA1o/0/*,...))" - } -} diff --git a/rust/crates/cove_nfc/test/data/export_bytes.txt b/rust/crates/cove_nfc/test/data/export_bytes.txt deleted file mode 100644 index 7a98233..0000000 --- a/rust/crates/cove_nfc/test/data/export_bytes.txt +++ /dev/null @@ -1 +0,0 @@ - 226, 67, 0, 1, 0, 0, 4, 0, 3, 255, 11, 215, 194, 16, 0, 0, 11, 193, 97, 112, 112, 108, 105, 99, 97, 116, 105, 111, 110, 47, 106, 115, 111, 110, 123, 34, 99, 104, 97, 105, 110, 34, 58, 32, 34, 66, 84, 67, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 56, 49, 55, 69, 55, 66, 69, 48, 34, 44, 32, 34, 97, 99, 99, 111, 117, 110, 116, 34, 58, 32, 48, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 54, 49, 77, 121, 77, 119, 65, 113, 82, 98, 99, 70, 70, 114, 50, 83, 71, 89, 51, 100, 85, 110, 55, 103, 56, 80, 57, 86, 75, 78, 90, 100, 75, 87, 76, 50, 90, 50, 112, 90, 77, 69, 107, 66, 87, 72, 50, 68, 49, 75, 84, 99, 119, 84, 110, 55, 107, 101, 90, 81, 67, 97, 83, 99, 67, 120, 55, 66, 85, 68, 106, 72, 70, 74, 74, 72, 110, 122, 66, 118, 68, 103, 85, 70, 103, 78, 106, 89, 115, 81, 84, 82, 118, 111, 55, 76, 87, 102, 89, 69, 116, 116, 55, 56, 80, 98, 34, 44, 32, 34, 98, 105, 112, 52, 52, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 112, 107, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 69, 56, 54, 57, 53, 69, 57, 57, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 52, 104, 47, 48, 104, 47, 48, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 66, 111, 75, 78, 49, 52, 74, 122, 83, 70, 78, 49, 84, 51, 99, 113, 101, 57, 70, 110, 114, 119, 110, 88, 71, 65, 115, 109, 98, 103, 69, 84, 74, 121, 101, 97, 122, 111, 97, 51, 70, 55, 97, 77, 88, 104, 52, 88, 110, 100, 118, 86, 114, 74, 65, 89, 121, 77, 49, 50, 55, 70, 115, 114, 72, 56, 75, 70, 118, 53, 88, 70, 88, 68, 114, 111, 113, 88, 78, 102, 90, 77, 102, 115, 105, 110, 111, 119, 55, 120, 112, 57, 51, 117, 101, 89, 83, 112, 110, 114, 106, 66, 66, 70, 115, 52, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 52, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 66, 111, 75, 78, 49, 52, 74, 122, 83, 70, 78, 49, 84, 51, 99, 113, 101, 57, 70, 110, 114, 119, 110, 88, 71, 65, 115, 109, 98, 103, 69, 84, 74, 121, 101, 97, 122, 111, 97, 51, 70, 55, 97, 77, 88, 104, 52, 88, 110, 100, 118, 86, 114, 74, 65, 89, 121, 77, 49, 50, 55, 70, 115, 114, 72, 56, 75, 70, 118, 53, 88, 70, 88, 68, 114, 111, 113, 88, 78, 102, 90, 77, 102, 115, 105, 110, 111, 119, 55, 120, 112, 57, 51, 117, 101, 89, 83, 112, 110, 114, 106, 66, 66, 70, 115, 52, 47, 60, 48, 59, 49, 62, 47, 42, 41, 35, 116, 100, 116, 114, 108, 51, 121, 57, 34, 44, 32, 34, 102, 105, 114, 115, 116, 34, 58, 32, 34, 49, 70, 74, 82, 52, 68, 70, 78, 87, 69, 110, 75, 71, 81, 87, 72, 106, 109, 53, 121, 88, 75, 72, 97, 111, 56, 52, 74, 80, 71, 103, 71, 80, 110, 34, 125, 44, 32, 34, 98, 105, 112, 52, 57, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 115, 104, 45, 112, 50, 119, 112, 107, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 57, 55, 56, 51, 67, 68, 53, 69, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 57, 104, 47, 48, 104, 47, 48, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 67, 67, 75, 65, 118, 85, 84, 78, 117, 114, 115, 69, 110, 97, 74, 56, 107, 49, 100, 50, 55, 76, 102, 113, 69, 85, 122, 101, 65, 120, 50, 78, 57, 119, 70, 113, 89, 69, 51, 87, 49, 120, 104, 55, 110, 113, 103, 74, 69, 66, 69, 98, 76, 83, 83, 109, 111, 104, 119, 68, 120, 122, 115, 83, 118, 99, 115, 89, 113, 105, 81, 113, 70, 122, 82, 118, 116, 97, 54, 53, 78, 106, 98, 101, 53, 111, 56, 52, 98, 70, 53, 89, 88, 72, 70, 113, 102, 83, 72, 50, 68, 107, 104, 111, 110, 109, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 115, 104, 40, 119, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 57, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 67, 67, 75, 65, 118, 85, 84, 78, 117, 114, 115, 69, 110, 97, 74, 56, 107, 49, 100, 50, 55, 76, 102, 113, 69, 85, 122, 101, 65, 120, 50, 78, 57, 119, 70, 113, 89, 69, 51, 87, 49, 120, 104, 55, 110, 113, 103, 74, 69, 66, 69, 98, 76, 83, 83, 109, 111, 104, 119, 68, 120, 122, 115, 83, 118, 99, 115, 89, 113, 105, 81, 113, 70, 122, 82, 118, 116, 97, 54, 53, 78, 106, 98, 101, 53, 111, 56, 52, 98, 70, 53, 89, 88, 72, 70, 113, 102, 83, 72, 50, 68, 107, 104, 111, 110, 109, 47, 60, 48, 59, 49, 62, 47, 42, 41, 41, 35, 56, 108, 108, 109, 116, 51, 54, 120, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 121, 112, 117, 98, 54, 88, 50, 97, 85, 98, 57, 78, 88, 98, 81, 77, 54, 53, 109, 81, 121, 54, 111, 70, 69, 67, 83, 66, 49, 67, 100, 83, 97, 110, 119, 88, 72, 71, 84, 85, 99, 119, 55, 118, 116, 50, 76, 97, 65, 116, 101, 117, 89, 116, 76, 111, 68, 81, 54, 97, 111, 49, 102, 88, 68, 115, 101, 110, 114, 90, 106, 103, 74, 75, 74, 121, 72, 118, 76, 121, 112, 66, 66, 101, 111, 53, 57, 99, 83, 75, 85, 105, 118, 118, 119, 87, 56, 83, 54, 107, 55, 80, 86, 118, 81, 107, 86, 111, 115, 120, 90, 34, 44, 32, 34, 102, 105, 114, 115, 116, 34, 58, 32, 34, 51, 65, 87, 53, 103, 101, 68, 90, 113, 109, 55, 82, 83, 54, 50, 65, 66, 82, 121, 56, 70, 65, 74, 118, 116, 106, 86, 77, 102, 105, 120, 109, 81, 106, 34, 125, 44, 32, 34, 98, 105, 112, 56, 52, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 119, 112, 107, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 56, 68, 70, 69, 67, 70, 67, 51, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 56, 52, 104, 47, 48, 104, 47, 48, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 67, 105, 75, 110, 87, 118, 55, 80, 80, 121, 121, 101, 98, 52, 107, 67, 119, 75, 52, 102, 105, 100, 75, 113, 86, 106, 80, 102, 68, 57, 84, 80, 54, 77, 105, 88, 110, 122, 66, 86, 71, 90, 89, 78, 97, 110, 78, 100, 89, 51, 109, 77, 118, 121, 119, 99, 114, 100, 68, 99, 54, 119, 75, 56, 50, 106, 121, 66, 83, 100, 57, 53, 118, 115, 107, 50, 54, 81, 117, 106, 110, 74, 87, 80, 114, 83, 97, 80, 102, 89, 101, 121, 87, 55, 78, 121, 88, 51, 55, 72, 72, 71, 116, 102, 81, 77, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 119, 112, 107, 104, 40, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 56, 52, 104, 47, 48, 104, 47, 48, 104, 93, 120, 112, 117, 98, 54, 67, 105, 75, 110, 87, 118, 55, 80, 80, 121, 121, 101, 98, 52, 107, 67, 119, 75, 52, 102, 105, 100, 75, 113, 86, 106, 80, 102, 68, 57, 84, 80, 54, 77, 105, 88, 110, 122, 66, 86, 71, 90, 89, 78, 97, 110, 78, 100, 89, 51, 109, 77, 118, 121, 119, 99, 114, 100, 68, 99, 54, 119, 75, 56, 50, 106, 121, 66, 83, 100, 57, 53, 118, 115, 107, 50, 54, 81, 117, 106, 110, 74, 87, 80, 114, 83, 97, 80, 102, 89, 101, 121, 87, 55, 78, 121, 88, 51, 55, 72, 72, 71, 116, 102, 81, 77, 47, 60, 48, 59, 49, 62, 47, 42, 41, 35, 54, 48, 116, 106, 115, 52, 99, 55, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 122, 112, 117, 98, 54, 114, 78, 114, 80, 114, 70, 119, 103, 109, 52, 119, 77, 66, 83, 121, 115, 101, 116, 75, 53, 116, 112, 76, 66, 83, 50, 72, 89, 84, 56, 84, 68, 75, 81, 65, 54, 97, 109, 120, 70, 72, 75, 74, 85, 110, 81, 113, 56, 114, 78, 116, 99, 52, 74, 68, 102, 71, 89, 80, 98, 118, 70, 57, 119, 74, 121, 97, 103, 80, 112, 71, 49, 70, 97, 113, 110, 102, 101, 51, 66, 66, 56, 88, 122, 75, 111, 110, 56, 76, 119, 87, 57, 75, 107, 77, 87, 121, 65, 81, 52, 82, 81, 72, 122, 66, 49, 34, 44, 32, 34, 102, 105, 114, 115, 116, 34, 58, 32, 34, 98, 99, 49, 113, 48, 103, 48, 118, 110, 52, 121, 113, 121, 107, 48, 122, 106, 119, 120, 119, 48, 122, 118, 53, 112, 108, 116, 121, 121, 99, 122, 116, 121, 48, 48, 52, 122, 99, 57, 103, 55, 114, 34, 125, 44, 32, 34, 98, 105, 112, 52, 56, 95, 49, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 115, 104, 45, 112, 50, 119, 115, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 53, 55, 68, 55, 70, 48, 56, 55, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 49, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 110, 50, 120, 106, 104, 113, 78, 89, 87, 68, 67, 69, 57, 51, 97, 67, 107, 75, 97, 98, 74, 55, 81, 113, 105, 56, 110, 50, 103, 101, 99, 116, 120, 101, 121, 57, 81, 101, 78, 119, 49, 80, 110, 70, 98, 56, 55, 114, 87, 114, 90, 55, 112, 111, 103, 50, 85, 74, 112, 53, 89, 54, 76, 56, 70, 120, 78, 110, 71, 52, 113, 78, 72, 67, 74, 102, 69, 53, 68, 83, 77, 80, 56, 84, 107, 120, 103, 66, 99, 106, 110, 86, 65, 112, 57, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 115, 104, 40, 119, 115, 104, 40, 115, 111, 114, 116, 101, 100, 109, 117, 108, 116, 105, 40, 77, 44, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 49, 104, 93, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 110, 50, 120, 106, 104, 113, 78, 89, 87, 68, 67, 69, 57, 51, 97, 67, 107, 75, 97, 98, 74, 55, 81, 113, 105, 56, 110, 50, 103, 101, 99, 116, 120, 101, 121, 57, 81, 101, 78, 119, 49, 80, 110, 70, 98, 56, 55, 114, 87, 114, 90, 55, 112, 111, 103, 50, 85, 74, 112, 53, 89, 54, 76, 56, 70, 120, 78, 110, 71, 52, 113, 78, 72, 67, 74, 102, 69, 53, 68, 83, 77, 80, 56, 84, 107, 120, 103, 66, 99, 106, 110, 86, 65, 112, 57, 47, 48, 47, 42, 44, 46, 46, 46, 41, 41, 41, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 89, 112, 117, 98, 54, 107, 51, 65, 66, 90, 51, 98, 117, 57, 97, 115, 51, 117, 75, 69, 85, 114, 100, 57, 89, 78, 100, 89, 50, 111, 107, 117, 117, 74, 70, 103, 88, 86, 97, 106, 81, 110, 119, 84, 83, 82, 113, 66, 100, 119, 77, 72, 82, 104, 118, 109, 105, 97, 74, 75, 82, 51, 50, 118, 53, 67, 82, 119, 84, 117, 114, 112, 54, 78, 81, 107, 115, 121, 53, 66, 71, 81, 99, 55, 71, 122, 81, 76, 68, 118, 54, 118, 118, 116, 50, 71, 76, 104, 81, 119, 118, 82, 49, 104, 98, 71, 80, 51, 89, 119, 49, 34, 125, 44, 32, 34, 98, 105, 112, 52, 56, 95, 50, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 119, 115, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 49, 49, 51, 52, 68, 49, 57, 53, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 50, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 114, 69, 50, 113, 118, 72, 56, 69, 107, 112, 87, 81, 115, 122, 55, 80, 66, 77, 50, 52, 67, 78, 55, 74, 68, 57, 88, 50, 86, 112, 83, 66, 103, 56, 75, 54, 78, 76, 100, 115, 54, 101, 77, 101, 116, 115, 107, 66, 50, 87, 122, 100, 114, 99, 57, 97, 87, 109, 75, 105, 66, 55, 56, 104, 89, 116, 49, 103, 109, 71, 112, 115, 122, 80, 97, 117, 81, 85, 116, 117, 106, 77, 76, 75, 72, 99, 53, 104, 112, 97, 105, 106, 89, 115, 82, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 119, 115, 104, 40, 115, 111, 114, 116, 101, 100, 109, 117, 108, 116, 105, 40, 77, 44, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 56, 104, 47, 48, 104, 47, 48, 104, 47, 50, 104, 93, 120, 112, 117, 98, 54, 69, 74, 111, 107, 101, 101, 70, 66, 87, 86, 49, 114, 69, 50, 113, 118, 72, 56, 69, 107, 112, 87, 81, 115, 122, 55, 80, 66, 77, 50, 52, 67, 78, 55, 74, 68, 57, 88, 50, 86, 112, 83, 66, 103, 56, 75, 54, 78, 76, 100, 115, 54, 101, 77, 101, 116, 115, 107, 66, 50, 87, 122, 100, 114, 99, 57, 97, 87, 109, 75, 105, 66, 55, 56, 104, 89, 116, 49, 103, 109, 71, 112, 115, 122, 80, 97, 117, 81, 85, 116, 117, 106, 77, 76, 75, 72, 99, 53, 104, 112, 97, 105, 106, 89, 115, 82, 47, 48, 47, 42, 44, 46, 46, 46, 41, 41, 34, 44, 32, 34, 95, 112, 117, 98, 34, 58, 32, 34, 90, 112, 117, 98, 55, 52, 115, 82, 86, 68, 105, 88, 51, 113, 56, 76, 121, 80, 97, 84, 88, 102, 65, 85, 49, 53, 51, 68, 119, 105, 83, 89, 71, 119, 103, 101, 76, 114, 111, 81, 104, 67, 97, 76, 100, 99, 50, 77, 81, 87, 87, 84, 101, 52, 77, 71, 82, 116, 88, 114, 106, 122, 99, 112, 97, 109, 88, 78, 117, 77, 84, 65, 116, 74, 87, 119, 121, 101, 69, 74, 83, 99, 114, 97, 86, 116, 111, 114, 106, 77, 52, 109, 121, 100, 81, 65, 74, 97, 83, 72, 105, 110, 85, 115, 66, 102, 89, 111, 107, 57, 100, 34, 125, 44, 32, 34, 98, 105, 112, 52, 53, 34, 58, 32, 123, 34, 110, 97, 109, 101, 34, 58, 32, 34, 112, 50, 115, 104, 34, 44, 32, 34, 120, 102, 112, 34, 58, 32, 34, 66, 68, 48, 69, 49, 66, 69, 69, 34, 44, 32, 34, 100, 101, 114, 105, 118, 34, 58, 32, 34, 109, 47, 52, 53, 104, 34, 44, 32, 34, 120, 112, 117, 98, 34, 58, 32, 34, 120, 112, 117, 98, 54, 56, 113, 104, 104, 105, 51, 106, 72, 99, 77, 98, 117, 65, 119, 50, 97, 100, 83, 111, 105, 121, 51, 114, 109, 69, 81, 103, 54, 105, 118, 52, 106, 105, 51, 77, 52, 51, 116, 57, 81, 90, 53, 114, 86, 51, 65, 118, 77, 84, 101, 98, 57, 71, 66, 52, 77, 103, 103, 49, 121, 86, 98, 86, 106, 122, 72, 70, 103, 55, 81, 117, 74, 51, 77, 65, 120, 74, 115, 89, 84, 68, 114, 120, 118, 104, 118, 122, 106, 102, 90, 78, 77, 119, 57, 85, 80, 104, 53, 65, 54, 121, 89, 72, 65, 49, 111, 34, 44, 32, 34, 100, 101, 115, 99, 34, 58, 32, 34, 115, 104, 40, 115, 111, 114, 116, 101, 100, 109, 117, 108, 116, 105, 40, 77, 44, 91, 56, 49, 55, 101, 55, 98, 101, 48, 47, 52, 53, 104, 93, 120, 112, 117, 98, 54, 56, 113, 104, 104, 105, 51, 106, 72, 99, 77, 98, 117, 65, 119, 50, 97, 100, 83, 111, 105, 121, 51, 114, 109, 69, 81, 103, 54, 105, 118, 52, 106, 105, 51, 77, 52, 51, 116, 57, 81, 90, 53, 114, 86, 51, 65, 118, 77, 84, 101, 98, 57, 71, 66, 52, 77, 103, 103, 49, 121, 86, 98, 86, 106, 122, 72, 70, 103, 55, 81, 117, 74, 51, 77, 65, 120, 74, 115, 89, 84, 68, 114, 120, 118, 104, 118, 122, 106, 102, 90, 78, 77, 119, 57, 85, 80, 104, 53, 65, 54, 121, 89, 72, 65, 49, 111, 47, 48, 47, 42, 44, 46, 46, 46, 41, 41, 34, 125, 125, 254 diff --git a/rust/crates/cove_nfc/src/lib.rs b/rust/src/cove_nfc.rs similarity index 100% rename from rust/crates/cove_nfc/src/lib.rs rename to rust/src/cove_nfc.rs diff --git a/rust/crates/cove_nfc/src/ffi.rs b/rust/src/cove_nfc/ffi.rs similarity index 100% rename from rust/crates/cove_nfc/src/ffi.rs rename to rust/src/cove_nfc/ffi.rs diff --git a/rust/crates/cove_nfc/src/header.rs b/rust/src/cove_nfc/header.rs similarity index 100% rename from rust/crates/cove_nfc/src/header.rs rename to rust/src/cove_nfc/header.rs diff --git a/rust/crates/cove_nfc/src/message_info.rs b/rust/src/cove_nfc/message_info.rs similarity index 100% rename from rust/crates/cove_nfc/src/message_info.rs rename to rust/src/cove_nfc/message_info.rs diff --git a/rust/crates/cove_nfc/src/ndef_type.rs b/rust/src/cove_nfc/ndef_type.rs similarity index 100% rename from rust/crates/cove_nfc/src/ndef_type.rs rename to rust/src/cove_nfc/ndef_type.rs diff --git a/rust/crates/cove_nfc/src/parser.rs b/rust/src/cove_nfc/parser.rs similarity index 100% rename from rust/crates/cove_nfc/src/parser.rs rename to rust/src/cove_nfc/parser.rs diff --git a/rust/crates/cove_nfc/src/parser/stream.rs b/rust/src/cove_nfc/parser/stream.rs similarity index 100% rename from rust/crates/cove_nfc/src/parser/stream.rs rename to rust/src/cove_nfc/parser/stream.rs diff --git a/rust/crates/cove_nfc/src/payload.rs b/rust/src/cove_nfc/payload.rs similarity index 100% rename from rust/crates/cove_nfc/src/payload.rs rename to rust/src/cove_nfc/payload.rs diff --git a/rust/crates/cove_nfc/src/reader.rs b/rust/src/cove_nfc/reader.rs similarity index 100% rename from rust/crates/cove_nfc/src/reader.rs rename to rust/src/cove_nfc/reader.rs diff --git a/rust/crates/cove_nfc/src/record.rs b/rust/src/cove_nfc/record.rs similarity index 100% rename from rust/crates/cove_nfc/src/record.rs rename to rust/src/cove_nfc/record.rs