diff --git a/Cargo.lock b/Cargo.lock index 9a0c2708..b209c370 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,7 +14,7 @@ version = "3.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "116019a174e912931d5b19ca7ab6a22596d12cdb1320358fad3368f0aba135a9" dependencies = [ - "amplify_derive", + "amplify_derive 2.11.3", "amplify_num", "amplify_syn", "serde", @@ -26,12 +26,13 @@ dependencies = [ [[package]] name = "amplify" -version = "4.0.0-alpha.1" +version = "4.0.0-beta.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb19b1bb6fe191f155406d8300d14bc9fa66f59bb8a8520d2a8015d6be80bf7d" +checksum = "1cc8da6203c5311cc0d74155341a5577564b8360976988eeb5ce7ab6903757f1" dependencies = [ - "amplify_derive", + "amplify_derive 4.0.0-alpha.2", "amplify_num", + "ascii", "wasm-bindgen", ] @@ -47,6 +48,18 @@ dependencies = [ "syn", ] +[[package]] +name = "amplify_derive" +version = "4.0.0-alpha.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a258501c851f9dec1549e046d551b645b8b970e30aca85dbec2d6e36cda8e91" +dependencies = [ + "amplify_syn", + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "amplify_num" version = "0.4.1" @@ -76,6 +89,12 @@ dependencies = [ "libc", ] +[[package]] +name = "ascii" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" + [[package]] name = "atty" version = "0.2.14" @@ -143,9 +162,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bumpalo" -version = "3.11.1" +version = "3.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "572f695136211188308f16ad2ca5c851a712c464060ae6974944458eb83880ba" +checksum = "0d261e256854913907f67ed06efbc3338dfe6179796deefc1ff763fc1aee5535" [[package]] name = "byteorder" @@ -155,9 +174,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "cc" -version = "1.0.76" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76a284da2e6fe2092f2353e51713435363112dfd60030e22add80be333fb928f" +checksum = "a20104e2335ce8a659d6dd92a51a767a0c062599c73b343fd152cb401e828c3d" [[package]] name = "cfg-if" @@ -252,9 +271,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.81" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97abf9f0eca9e52b7f81b945524e76710e6cb2366aead23b7d4fbf72e281f888" +checksum = "b61a7545f753a88bcbe0a70de1fcc0221e10bfc752f576754fa91e663db1622e" dependencies = [ "cc", "cxxbridge-flags", @@ -264,9 +283,9 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.81" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cc32cc5fea1d894b77d269ddb9f192110069a8a9c1f1d441195fba90553dea3" +checksum = "f464457d494b5ed6905c63b0c4704842aba319084a0a3561cdc1359536b53200" dependencies = [ "cc", "codespan-reporting", @@ -279,15 +298,15 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.81" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ca220e4794c934dc6b1207c3b42856ad4c302f2df1712e9f8d2eec5afaacf1f" +checksum = "43c7119ce3a3701ed81aca8410b9acf6fc399d2629d057b87e2efa4e63a3aaea" [[package]] name = "cxxbridge-macro" -version = "1.0.81" +version = "1.0.87" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b846f081361125bfc8dc9d3940c84e1fd83ba54bbca7b17cd29483c828be0704" +checksum = "65e07508b90551e610910fa648a1878991d367064997a596135b86df30daf07e" dependencies = [ "proc-macro2", "quote", @@ -445,9 +464,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.4" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" +checksum = "fad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440" [[package]] name = "js-sys" @@ -466,15 +485,15 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.137" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "link-cplusplus" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9272ab7b96c9046fbc5bc56c06c117cb639fe2d509df0c421cad82d2915cf369" +checksum = "ecd207c9c713c34f95a097a5b029ac2ce6010530c7b49d7fea24d977dede04f5" dependencies = [ "cc", ] @@ -487,7 +506,7 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" [[package]] name = "lnpbp" -version = "0.9.0-rc.1" +version = "0.9.0" dependencies = [ "amplify 3.13.0", "base58", @@ -501,13 +520,13 @@ dependencies = [ "serde", "serde_json", "serde_with", - "serde_yaml 0.9.14", + "serde_yaml 0.9.17", "strict_encoding", ] [[package]] name = "lnpbp_bech32" -version = "0.9.0-rc.1" +version = "0.9.0" dependencies = [ "amplify 3.13.0", "bech32", @@ -521,7 +540,7 @@ dependencies = [ [[package]] name = "lnpbp_chain" -version = "0.9.0-rc.1" +version = "0.9.0" dependencies = [ "amplify 3.13.0", "bitcoin", @@ -544,9 +563,9 @@ dependencies = [ [[package]] name = "lnpbp_identity" -version = "0.9.0-rc.1" +version = "0.9.0" dependencies = [ - "amplify 4.0.0-alpha.1", + "amplify 4.0.0-beta.7", "bech32", "bitcoin_hashes", "crc32fast", @@ -595,21 +614,21 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "os_str_bytes" -version = "6.4.0" +version = "6.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b5bf27447411e9ee3ff51186bf7a08e16c341efdde93f4d823e8844429bed7e" +checksum = "9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723ee" [[package]] name = "paste" -version = "1.0.9" +version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1de2e551fb905ac83f73f7aedf2f0cb4a0da7e35efa24a202a936269f1f18e1" +checksum = "d01a5bd0424d00070b0098dd17ebca6f961a959dead1dbcbbbc1d1cd8d3deeba" [[package]] name = "ppv-lite86" @@ -643,18 +662,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.47" +version = "1.0.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" +checksum = "6ef7d57beacfaf2d8aee5937dab7b7f28de3cb8b1828479bb5de2a7106f2bae2" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] @@ -691,21 +710,21 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.11" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" +checksum = "7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decde" [[package]] name = "scratch" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9c8132065adcfd6e02db789d9285a0deb2f3fcb04002865ab67d5fb103533898" +checksum = "ddccb15bcce173023b3fedd9436f882a0739b8dfb45e4f6b6002bee5929f61b2" [[package]] name = "secp256k1" -version = "0.24.2" +version = "0.24.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9512ffd81e3a3503ed401f79c33168b9148c75038956039166cd750eaa037c3" +checksum = "6b1629c9c557ef9b293568b338dddfc8208c98a18c59d722a9d53f859d9c9b62" dependencies = [ "bitcoin_hashes", "rand", @@ -724,18 +743,18 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.147" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d193d69bae983fc11a79df82342761dfbf28a99fc8d203dca4c3c1b590948965" +checksum = "bb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efb" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.147" +version = "1.0.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4f1d362ca8fc9c3e3a7484440752472d68a6caa98f1ab81d99b5dfe517cec852" +checksum = "af487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541e" dependencies = [ "proc-macro2", "quote", @@ -744,9 +763,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.87" +version = "1.0.91" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ce777b7b150d76b9cf60d28b55f5847135a003f7d7350c6be7a773508ce7d45" +checksum = "877c235533714907a8c2464236f5c4b2a17262ef1bd71f38f35ea592c8da6883" dependencies = [ "itoa", "ryu", @@ -800,9 +819,9 @@ dependencies = [ [[package]] name = "serde_yaml" -version = "0.9.14" +version = "0.9.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6d232d893b10de3eb7258ff01974d6ee20663d8e833263c99409d4b13a0209da" +checksum = "8fb06d4b6cdaef0e0c51fa881acb721bed3c924cfaa71d9c94a3b771dfdf6567" dependencies = [ "indexmap", "itoa", @@ -813,9 +832,9 @@ dependencies = [ [[package]] name = "strict_encoding" -version = "0.9.0-rc.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae10097e736d1b74a9e6fc8f202d3446ec78750571ac0bc73b7ab37cb6e2c9ec" +checksum = "0be7060b49729cd0b9b2391114632ef64c363a4055d91de049f5555b466193bb" dependencies = [ "amplify 3.13.0", "bitcoin", @@ -826,9 +845,9 @@ dependencies = [ [[package]] name = "strict_encoding_derive" -version = "0.8.0" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd6a1540913b4033307dc0c09e5497ed33d940941f926e2d5e6e676521fbe353" +checksum = "34c9cabafb397fc1144463228ad4ba57c3c670a0117505fe59b15d8c74449716" dependencies = [ "amplify_syn", "encoding_derive_helpers", @@ -838,9 +857,9 @@ dependencies = [ [[package]] name = "strict_encoding_test" -version = "0.9.0-rc.1" +version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7420824c59f38e850f94ddc452ddf1060466e69ea1ddafce3764cf5179eb6d30" +checksum = "4fc369cd865314a3416556e3669d3f2d2e41c6e80cc838208c84a34f74d79234" dependencies = [ "amplify 3.13.0", "strict_encoding", @@ -864,9 +883,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "syn" -version = "1.0.103" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" +checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ "proc-macro2", "quote", @@ -875,9 +894,9 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.1.3" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bab24d30b911b2376f3a13cc2cd443142f0c81dda04c118693e35b3835757755" +checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" dependencies = [ "winapi-util", ] @@ -890,9 +909,9 @@ checksum = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d" [[package]] name = "time" -version = "0.1.44" +version = "0.1.45" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255" +checksum = "1b797afad3f312d1c66a56d11d0316f916356d11bd158fbc6ca6389ff6bf805a" dependencies = [ "libc", "wasi 0.10.0+wasi-snapshot-preview1", @@ -901,18 +920,18 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.9" +version = "0.5.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d82e1a7758622a465f8cee077614c73484dac5b836c02ff6a40d5d1010324d7" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" dependencies = [ "serde", ] [[package]] name = "unicode-ident" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" +checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" [[package]] name = "unicode-width" @@ -922,9 +941,9 @@ checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "unsafe-libyaml" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1e5fa573d8ac5f1a856f8d7be41d390ee973daf97c806b2c1a465e4e1406e68" +checksum = "bc7ed8ba44ca06be78ea1ad2c3682a43349126c8818054231ee6f4748012aed2" [[package]] name = "version_check" diff --git a/Cargo.toml b/Cargo.toml index 14a0abb8..56d81256 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lnpbp" -version = "0.9.0-rc.1" +version = "0.9.0" license = "MIT" authors = ["Dr. Maxim Orlovsky "] description = "LNP/BP Core Library implementing LNPBP specifications & standards" @@ -24,11 +24,11 @@ required-features = ["cli"] [dependencies] amplify = { version = "3.13.0", features = ["stringly_conversions", "std"] } -strict_encoding = "0.9.0-rc.1" -lnpbp_bech32 = { version = "0.9.0-rc.1", path = "bech32" } -lnpbp_chain = { version = "0.9.0-rc.1", path = "chain" } +strict_encoding = "0.9.0" +lnpbp_bech32 = { version = "0.9.0", path = "bech32" } +lnpbp_chain = { version = "0.9.0", path = "chain" } lnpbp_elgamal = { version = "0.9.0", path = "elgamal", optional = true } -lnpbp_identity = { version = "0.9.0-rc.1", path = "identity", optional = true } +lnpbp_identity = { version = "0.9.0", path = "identity", optional = true } serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true } serde_with = { version = "1.14", features = ["hex"], optional = true } # serde_with_macros = { version = "~1.2.0", optional = true } # Fix for the problem in 1.3.0 diff --git a/bech32/Cargo.toml b/bech32/Cargo.toml index 5592adaa..1b48c3f7 100644 --- a/bech32/Cargo.toml +++ b/bech32/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lnpbp_bech32" -version = "0.9.0-rc.1" +version = "0.9.0" license = "MIT" authors = ["Dr. Maxim Orlovsky "] description = "LNPBP-14 implementation" @@ -13,7 +13,7 @@ edition = "2021" [dependencies] amplify = "3.13.0" bitcoin_hashes = "0.11.0" -strict_encoding = "0.9.0-rc.1" +strict_encoding = "0.9.0" bech32 = "0.9.1" deflate = { version = "1.0.0", optional = true } inflate = { version = "0.4.5", optional = true } diff --git a/chain/Cargo.toml b/chain/Cargo.toml index c0fe45cf..7521ae55 100644 --- a/chain/Cargo.toml +++ b/chain/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lnpbp_chain" -version = "0.9.0-rc.1" +version = "0.9.0" license = "MIT" authors = ["Dr. Maxim Orlovsky "] description = "LNPBP library defining chain parameters" @@ -14,13 +14,13 @@ edition = "2021" amplify = "3.13.0" bitcoin_hashes = "0.11.0" # We need macro from here bitcoin = "0.29.2" -strict_encoding = "0.9.0-rc.1" +strict_encoding = "0.9.0" serde_crate = { package = "serde", version = "1", features = ["derive"], optional = true } serde_with = { version = "1.14", features = ["hex"], optional = true } once_cell = "1.10.0" [dev-dependencies] -strict_encoding_test = "0.9.0-rc.1" +strict_encoding_test = "0.9.0" [features] serde = ["serde_crate", "serde_with", "bitcoin_hashes/serde", "bitcoin/serde"] diff --git a/identity/Cargo.toml b/identity/Cargo.toml index 1ec396b6..342e84e4 100644 --- a/identity/Cargo.toml +++ b/identity/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lnpbp_identity" -version = "0.9.0-rc.1" +version = "0.9.0" license = "MIT" authors = ["Dr. Maxim Orlovsky "] description = "LNP/BP identity standards implementation" @@ -15,7 +15,7 @@ edition = "2021" [dependencies] amplify = "4.0.0-alpha.1" secp256k1 = { version = "0.24.2", features = ["global-context", "rand-std"] } -strict_encoding = "0.9.0-rc.1" +strict_encoding = "0.9.0" bech32 = "0.9.1" crc32fast = "1.3.2" mnemonic = "1.0.1"