diff --git a/Cargo.lock b/Cargo.lock index 5be3c5e4..e3ede493 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -98,6 +98,19 @@ dependencies = [ "serde", ] +[[package]] +name = "ascii-armor" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "743d90b41a39d6e3920eef64a70f6411097cbb47141606a45b2a96533ec7111c" +dependencies = [ + "amplify", + "baid58", + "base85", + "sha2", + "strict_encoding", +] + [[package]] name = "async-trait" version = "0.1.77" @@ -715,12 +728,11 @@ dependencies = [ [[package]] name = "strict_types" version = "2.7.0-beta.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d66de5cdf197b68e13fcac9fad7ed288f44052a319a3df3abbaba9c6e52f735b" +source = "git+https://github.com/strict-types/strict-types?branch=armor#00741ba09189536d8cdaf048a7f17795393ee382" dependencies = [ "amplify", + "ascii-armor", "baid58", - "base85", "half", "indexmap", "sha2", diff --git a/Cargo.toml b/Cargo.toml index 15f4b5ae..ef54e476 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -60,4 +60,7 @@ derive = ["commit_verify/derive"] serde = ["serde_crate", "commit_verify/serde"] [package.metadata.docs.rs] -features = [ "all" ] +features = ["all"] + +[patch.crates-io] +strict_types = { git = "https://github.com/strict-types/strict-types", branch = "armor" } diff --git a/commit_verify/Cargo.toml b/commit_verify/Cargo.toml index 3e67d0c7..9407312b 100644 --- a/commit_verify/Cargo.toml +++ b/commit_verify/Cargo.toml @@ -39,8 +39,8 @@ rand = "0.8.5" default = ["derive"] all = ["rand", "serde", "stl", "derive"] serde = ["serde_crate", "amplify/serde"] -stl = ["strict_types/base85"] +stl = ["strict_types/armor"] derive = [] [package.metadata.docs.rs] -features = [ "all" ] +features = ["all"] diff --git a/stl/CommitVerify@0.1.0.sta b/stl/CommitVerify@0.1.0.sta index d055d5b6..1255495f 100644 --- a/stl/CommitVerify@0.1.0.sta +++ b/stl/CommitVerify@0.1.0.sta @@ -1,8 +1,8 @@ -----BEGIN STRICT TYPE LIB----- -Id: 7qvjR4HCwJKF3mxE5GqsAaADces5JDRwb8ajAse9mkz3#exhibit-karate-ritual +Id: urn:ubideco:stl:7qvjR4HCwJKF3mxE5GqsAaADces5JDRwb8ajAse9mkz3#exhibit-karate-ritual Name: CommitVerify -Dependencies: - DzTvt9gGhPUKD8Dkkjk9PDBhkJ4gtWxXWQjxnmUYLNrs#voyage-kimono-disco +Dependency: DzTvt9gGhPUKD8Dkkjk9PDBhkJ4gtWxXWQjxnmUYLNrs#voyage-kimono-disco +Checksum-SHA256: ab9c647839dade059c136e1259383094050afe96493376d9debca2dc05173a4a 3`1{iZE18?WpZg|c>%!$%tl@;WNu_lcw-g2$nLVb<*lb*ENIx0;35YAw}=B%bYuY oQ*>kj0A^Tl*p6J$36SYb7g#;qpQBTpwL(~+!(f@;t~vt?k^)sV3;+s4Z*6U9bZu