From 247804b677430fb2797fe7a26b08006de3a7698a Mon Sep 17 00:00:00 2001 From: Ariady Putra Date: Wed, 8 Nov 2023 15:43:45 +0700 Subject: [PATCH] Use `stdlib v1.7.0` --- .github/workflows/tests.yml | 2 +- README.md | 6 +++--- aiken.lock | 4 ++-- aiken.toml | 4 ++-- docs/index.html | 24 ++++++++++++------------ docs/search-data.js | 2 +- docs/string_util/bytes.html | 18 +++++++++--------- docs/string_util/cbor.html | 18 +++++++++--------- docs/string_util/integer.html | 18 +++++++++--------- docs/test_bytes.html | 20 ++++++++++---------- docs/test_cbor.html | 20 ++++++++++---------- docs/test_integer.html | 20 ++++++++++---------- validators/test_bytes.ak | 2 +- validators/test_cbor.ak | 2 +- validators/test_integer.ak | 2 +- 15 files changed, 81 insertions(+), 81 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6e173f2..ee07e88 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: - uses: aiken-lang/setup-aiken@v0.1.0 with: - version: v1.0.19-alpha + version: v1.0.20-alpha - run: aiken fmt --check - run: aiken check -D diff --git a/README.md b/README.md index 78a2ef6..2392396 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ A utility library to pretty-print data, useful for tracing. -| ℹī¸ | Package info | aiken-extra/string_util v3.160.202310 | đŸĒ˛ | +| ℹī¸ | Package info | aiken-extra/string_util v3.170.202311 | đŸĒ˛ | | --- | --------------- | --------------------------------------------------------------------------------------------------- | --- | -| đŸŸĸ | **Depends on** | **aiken-lang/stdlib v1.6.0** | ✔ī¸ | -| đŸŸĸ | **Tested with** | **[10b9dc2042](https://github.com/aiken-lang/aiken/tree/10b9dc204257328b758692d9c714b576d3b0a1dc)** | ✔ī¸ | +| đŸŸĸ | **Depends on** | **aiken-lang/stdlib v1.7.0** | ✔ī¸ | +| đŸŸĸ | **Tested with** | **[7d319077e6](https://github.com/aiken-lang/aiken/tree/7d319077e679962c4f0512dfb78fa41ffcd5fbc4)** | ✔ī¸ | ## Usage Example diff --git a/aiken.lock b/aiken.lock index ea3e8c8..0a72eb3 100644 --- a/aiken.lock +++ b/aiken.lock @@ -3,12 +3,12 @@ [[requirements]] name = "aiken-lang/stdlib" -version = "1.6.0" +version = "1.7.0" source = "github" [[packages]] name = "aiken-lang/stdlib" -version = "1.6.0" +version = "1.7.0" requirements = [] source = "github" diff --git a/aiken.toml b/aiken.toml index e378cc6..8b73663 100644 --- a/aiken.toml +++ b/aiken.toml @@ -1,5 +1,5 @@ name = "aiken-extra/string_util" -version = "3.160.202310" +version = "3.170.202311" license = "Apache-2.0" description = "An Aiken utility library to pretty-print data" @@ -10,5 +10,5 @@ platform = "github" [[dependencies]] name = "aiken-lang/stdlib" -version = "1.6.0" +version = "1.7.0" source = "github" diff --git a/docs/index.html b/docs/index.html index 40f37d4..0d5e70a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/docs/search-data.js b/docs/search-data.js index ea43f46..8c31d1a 100644 --- a/docs/search-data.js +++ b/docs/search-data.js @@ -1 +1 @@ -window.Aiken.initSearch([{"doc":"test_bytes","title":"test_bytes","content":" ```\n ┍━ test_bytes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n │ PASS [mem: 216934, cpu: 114406513] print_bytes_to_hex\n │ â†ŗ Hello world!: "48656c6c6f20776f726c6421"\n │ â†ŗ ABC: "414243"\n ┕━━━━━━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed\n ```","url":"test_bytes.html"},{"doc":"test_cbor","title":"test_cbor","content":" ```\n ┍━ test_cbor ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n │ PASS [mem: 1419219, cpu: 821264304] print_cbor_hex\n │ â†ŗ Hello world!: "4c48656c6c6f20776f726c6421"\n │ â†ŗ ABC: "43414243"\n │ â†ŗ 42: "182a"\n │ â†ŗ []: "80"\n │ â†ŗ [foo, bar]: "9f43666f6f43626172ff"\n │ â†ŗ (1, 2): "9f0102ff"\n │ â†ŗ [(1, ABC)]: "a10143414243"\n │ â†ŗ [(1, 250), (2, 200), (3, 300)]: "a30118fa0218c80319012c"\n │ â†ŗ Some(None): "d8799fd87a80ff"\n │ â†ŗ None: "d87a80"\n │ â†ŗ True: "d87a80"\n │ â†ŗ False: "d87980"\n │ â†ŗ (True, False): "9fd87a80d87980ff"\n │ â†ŗ [True, False]: "9fd87a80d87980ff"\n │ â†ŗ [(True, False)]: "a1d87a80d87980"\n ┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed\n ```","url":"test_cbor.html"},{"doc":"string_util/cbor","title":"print","content":"print(label: ByteArray, data: Data) -> String\n ```\n print("Datum", 42) // Datum: "182a"\n print("Redeemer", 24) // Redeemer: "1818"\n ```","url":"string_util/cbor.html#print"},{"doc":"string_util/cbor","title":"serialise_to_hex","content":"serialise_to_hex(data: Data) -> String\n ```\n serialise_to_hex(42) // 182a\n serialise_to_hex(24) // 1818\n ```","url":"string_util/cbor.html#serialise_to_hex"},{"doc":"string_util/cbor","title":"string_util/cbor","content":"","url":"string_util/cbor.html"},{"doc":"test_integer","title":"test_integer","content":" ```\n ┍━ test_integer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n │ PASS [mem: 44115, cpu: 19919424] print_integer\n │ â†ŗ Deadline: 42\n ┕━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed\n ```","url":"test_integer.html"},{"doc":"string_util/bytes","title":"print","content":"print(label: ByteArray, bytes: ByteArray) -> String\n ```\n print("Hello world!", "Hello world!") // Hello world!: "48656c6c6f20776f726c6421"\n print("ABC", #"414243") // ABC: "414243"\n ```","url":"string_util/bytes.html#print"},{"doc":"string_util/bytes","title":"string_util/bytes","content":"","url":"string_util/bytes.html"},{"doc":"string_util/integer","title":"print","content":"print(label: ByteArray, integer: Int) -> String\n ```\n print("Deadline", 42) // Deadline: 42\n ```","url":"string_util/integer.html#print"},{"doc":"string_util/integer","title":"string_util/integer","content":"","url":"string_util/integer.html"}]); \ No newline at end of file +window.Aiken.initSearch([{"doc":"string_util/bytes","title":"print","content":"print(label: ByteArray, bytes: ByteArray) -> String\n ```\n print("Hello world!", "Hello world!") // Hello world!: "48656c6c6f20776f726c6421"\n print("ABC", #"414243") // ABC: "414243"\n ```","url":"string_util/bytes.html#print"},{"doc":"string_util/bytes","title":"string_util/bytes","content":"","url":"string_util/bytes.html"},{"doc":"string_util/integer","title":"print","content":"print(label: ByteArray, integer: Int) -> String\n ```\n print("Deadline", 42) // Deadline: 42\n ```","url":"string_util/integer.html#print"},{"doc":"string_util/integer","title":"string_util/integer","content":"","url":"string_util/integer.html"},{"doc":"string_util/cbor","title":"print","content":"print(label: ByteArray, data: Data) -> String\n ```\n print("Datum", 42) // Datum: "182a"\n print("Redeemer", 24) // Redeemer: "1818"\n ```","url":"string_util/cbor.html#print"},{"doc":"string_util/cbor","title":"serialise_to_hex","content":"serialise_to_hex(data: Data) -> String\n ```\n serialise_to_hex(42) // 182a\n serialise_to_hex(24) // 1818\n ```","url":"string_util/cbor.html#serialise_to_hex"},{"doc":"string_util/cbor","title":"string_util/cbor","content":"","url":"string_util/cbor.html"},{"doc":"test_cbor","title":"test_cbor","content":" ```\n ┍━ test_cbor ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n │ PASS [mem: 1405719, cpu: 818159304] print_cbor_hex\n │ â†ŗ Hello world!: "4c48656c6c6f20776f726c6421"\n │ â†ŗ ABC: "43414243"\n │ â†ŗ 42: "182a"\n │ â†ŗ []: "80"\n │ â†ŗ [foo, bar]: "9f43666f6f43626172ff"\n │ â†ŗ (1, 2): "9f0102ff"\n │ â†ŗ [(1, ABC)]: "a10143414243"\n │ â†ŗ [(1, 250), (2, 200), (3, 300)]: "a30118fa0218c80319012c"\n │ â†ŗ Some(None): "d8799fd87a80ff"\n │ â†ŗ None: "d87a80"\n │ â†ŗ True: "d87a80"\n │ â†ŗ False: "d87980"\n │ â†ŗ (True, False): "9fd87a80d87980ff"\n │ â†ŗ [True, False]: "9fd87a80d87980ff"\n │ â†ŗ [(True, False)]: "a1d87a80d87980"\n ┕━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed\n ```","url":"test_cbor.html"},{"doc":"test_integer","title":"test_integer","content":" ```\n ┍━ test_integer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n │ PASS [mem: 42683, cpu: 19596424] print_integer\n │ â†ŗ Deadline: 42\n ┕━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed\n ```","url":"test_integer.html"},{"doc":"test_bytes","title":"test_bytes","content":" ```\n ┍━ test_bytes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n │ PASS [mem: 215134, cpu: 113992513] print_bytes_to_hex\n │ â†ŗ Hello world!: "48656c6c6f20776f726c6421"\n │ â†ŗ ABC: "414243"\n ┕━━━━━━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed\n ```","url":"test_bytes.html"}]); \ No newline at end of file diff --git a/docs/string_util/bytes.html b/docs/string_util/bytes.html index df91cf6..d18d14a 100644 --- a/docs/string_util/bytes.html +++ b/docs/string_util/bytes.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/docs/string_util/cbor.html b/docs/string_util/cbor.html index da12f27..de6692a 100644 --- a/docs/string_util/cbor.html +++ b/docs/string_util/cbor.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/docs/string_util/integer.html b/docs/string_util/integer.html index 23ebf9a..72e9dd2 100644 --- a/docs/string_util/integer.html +++ b/docs/string_util/integer.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/docs/test_bytes.html b/docs/test_bytes.html index fb8d093..bdd7f9e 100644 --- a/docs/test_bytes.html +++ b/docs/test_bytes.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/docs/test_cbor.html b/docs/test_cbor.html index 715c4f5..1f65273 100644 --- a/docs/test_cbor.html +++ b/docs/test_cbor.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/docs/test_integer.html b/docs/test_integer.html index 68b6b4d..ecca4a3 100644 --- a/docs/test_integer.html +++ b/docs/test_integer.html @@ -7,8 +7,8 @@ - - + + - + + - - + + - + \ No newline at end of file diff --git a/validators/test_bytes.ak b/validators/test_bytes.ak index 7564af6..287dfcf 100644 --- a/validators/test_bytes.ak +++ b/validators/test_bytes.ak @@ -1,6 +1,6 @@ //// ``` //// ┍━ test_bytes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -//// │ PASS [mem: 216934, cpu: 114406513] print_bytes_to_hex +//// │ PASS [mem: 215134, cpu: 113992513] print_bytes_to_hex //// │ â†ŗ Hello world!: "48656c6c6f20776f726c6421" //// │ â†ŗ ABC: "414243" //// ┕━━━━━━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed diff --git a/validators/test_cbor.ak b/validators/test_cbor.ak index 2b6207a..0633225 100644 --- a/validators/test_cbor.ak +++ b/validators/test_cbor.ak @@ -1,6 +1,6 @@ //// ``` //// ┍━ test_cbor ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -//// │ PASS [mem: 1419219, cpu: 821264304] print_cbor_hex +//// │ PASS [mem: 1405719, cpu: 818159304] print_cbor_hex //// │ â†ŗ Hello world!: "4c48656c6c6f20776f726c6421" //// │ â†ŗ ABC: "43414243" //// │ â†ŗ 42: "182a" diff --git a/validators/test_integer.ak b/validators/test_integer.ak index 98183f4..ae8d5fe 100644 --- a/validators/test_integer.ak +++ b/validators/test_integer.ak @@ -1,6 +1,6 @@ //// ``` //// ┍━ test_integer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ -//// │ PASS [mem: 44115, cpu: 19919424] print_integer +//// │ PASS [mem: 42683, cpu: 19596424] print_integer //// │ â†ŗ Deadline: 42 //// ┕━━━━━━━━━━━━━━━━━━━━ 1 tests | 1 passed | 0 failed //// ```