Skip to content

Commit e9c0995

Browse files
committed
stl: update strict types library
1 parent 91e9f8b commit e9c0995

3 files changed

Lines changed: 74 additions & 71 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ license = "Apache-2.0"
2323

2424
[workspace.dependencies]
2525
amplify = "~4.8.0"
26-
strict_encoding = "~2.8.1"
27-
strict_types = "~2.8.2"
26+
strict_encoding = "~2.8.2"
27+
strict_types = "~2.8.3"
2828
serde = { version = "1", features = ["derive"] }
2929

3030
[package]

commit_verify/src/stl.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ pub const LIB_ID_COMMIT_VERIFY: &str =
2727
"stl:wH1wmGy2-0vBNWxL-MK~_eQb-Ayskv~e-oFmDrzI-O_IW_P0#biology-news-adam";
2828

2929
fn _commit_verify_stl() -> Result<TypeLib, CompileError> {
30-
LibBuilder::new(libname!(LIB_NAME_COMMIT_VERIFY), tiny_bset! {
31-
strict_types::stl::std_stl().to_dependency()
32-
})
30+
LibBuilder::with(libname!(LIB_NAME_COMMIT_VERIFY), [
31+
strict_types::stl::std_stl().to_dependency_types()
32+
])
3333
.transpile::<ReservedBytes<1>>()
3434
.transpile::<ReservedBytes<2>>()
3535
.transpile::<ReservedBytes<3>>()

0 commit comments

Comments
 (0)