66 Commits

Author SHA1 Message Date
sinu
85f3e82745 feat: Debug and Clone derives 2024-09-30 06:48:15 -07:00
sinu
7fb354cf55 feat: serde feature 2024-08-12 13:29:33 -07:00
sinu
0e2b78bf16 export Hash trait 2024-08-11 21:34:39 -07:00
sinui0
b07210c01b refactor algorithms to be unit structs 2024-07-31 19:00:58 +09:00
sinui0
d920a37b58 refactor Merkle(Tree/Proof), inject hasher into methods 2024-07-31 18:27:35 +09:00
sinui0
8289aef375 update serializers to use Hash trait 2024-07-31 18:20:31 +09:00
sinui0
57c77c3d8c add associated const SIZE to Hash 2024-07-31 18:15:26 +09:00
sinui0
afdd56ed8f refactor PartialTree, remove bound on struct and receive hasher in methods 2024-07-31 18:07:58 +09:00
sinui0
5cbb5a2568 receive &self in Hasher 2024-07-31 18:05:11 +09:00
sinui0
8a2405218f add Hash trait 2024-07-31 17:54:51 +09:00
Anton Suprunchuk
ae7bc91b85 chore(release): 1.4.2 2024-01-11 21:14:31 +07:00
Anton Suprunchuk
afe123e024 chore(style): fix linting (#35) 2024-01-11 20:00:21 +07:00
dan
ee398bf46b chore: fix test (#31)
Co-authored-by: themighty1 <you@example.com>
2024-01-11 19:42:03 +07:00
dan
bc42846dc4 fix: sort indices correctly (#30)
Co-authored-by: themighty1 <you@example.com>
2024-01-11 19:41:03 +07:00
Anton Suprunchuk
6cf1616a1c chore(release): 1.4.1 2023-05-22 20:45:54 +08:00
witter-deland
0a9acbc4d9 fix: incorrect proof hash count causing panic (#28) 2023-05-22 20:40:31 +08:00
Anton Suprunchuk
a29a05d123 chore(release): 1.4.0 2023-05-10 17:42:02 +08:00
imotai
3388777a3f feat: Support sha384 hash function (#27) 2023-05-10 17:35:41 +08:00
Anton Suprunchuk
abe3453e28 chore(release): 1.3.0 (#24) 2023-03-14 19:24:09 +08:00
Matthias Görgens
fa99c5d013 feat: avoid use of floats to add CosmWasm support (#18) 2023-03-14 19:07:42 +08:00
Anton Suprunchuk
71118dc439 feat: add a hard check for no-std targets (#23) 2023-03-14 19:03:48 +08:00
Matthias Görgens
4bf32326fd feat: enforce no_std support (#21)
We tell GitHub to build PRs with `--no-default-features` to ensure that building we no_std works.
2023-03-14 18:49:48 +08:00
muji
4e67a3368e chore: update sha2 dependency (#17) 2023-02-23 13:04:19 +07:00
Anton Suprunchuk
8ffa623ce7 chore: fix typo in CHANGELOG.md 2022-03-29 00:45:39 +07:00
Anton Suprunchuk
e35b0482ec chore(release): 1.2.0 (#14)
* bump version to 1.2.0
* bump version in the README.md
2022-03-29 00:38:08 +07:00
David Salami
9261516de6 Add no_std support (#13)
* add no_std support
* fix log calculations
2022-03-29 00:27:58 +07:00
Anton Suprunchuk
0f11c667f1 chore(release): 1.1.0 2021-10-23 18:24:54 +03:00
Anton Suprunchuk
b7b394f3e5 feat: custom proof serializers (#9) 2021-10-23 18:17:02 +03:00
Anton Suprunchuk
094a499e0f chore(release): v1.0.0 (#8) 2021-10-18 13:08:28 +03:00
Anton Suprunchuk
93f93a979c feat: bring documentation to accordance with guidelines (#6) 2021-10-18 13:03:33 +03:00
Anton Suprunchuk
cbda7a0827 refactor: consistent error messages (#7) 2021-10-15 11:31:46 +03:00
Anton Suprunchuk
ce35f20104 feat: implement TryFrom trait for MerkleProof (#5) 2021-10-11 12:31:02 +03:00
Anton Suprunchuk
bd6cbfa63d feat: better README.md (#2)
add a better readme, CONTRIBUTING.md and LICENSE.md files
2021-10-11 10:31:43 +03:00
Anton Suprunchuk
54eea8ad8e refactor: remove unecessary unwraps left from prototyping (#4) 2021-10-10 22:48:13 +03:00
Anton Suprunchuk
4b928a6198 Merge remote-tracking branch 'origin/master' 2021-10-09 22:16:33 +03:00
Anton Suprunchuk
2a54ac783a chore(release): 0.2.2 2021-10-09 22:16:22 +03:00
Anton Suprunchuk
c5047fe752 Merge pull request #3 from antouhou/feat-clippy
feat: add linter and formatter to the CI
2021-10-09 22:14:52 +03:00
Anton Suprunchuk
38543d5d2e add empty line at the test workflow 2021-10-09 22:12:30 +03:00
Anton Suprunchuk
6ead418921 fix clippy warnings 2021-10-09 22:00:49 +03:00
Anton Suprunchuk
19c9b4d7af formatted project files 2021-10-09 21:36:16 +03:00
Anton Suprunchuk
dadf4a291d add test lint and format as dependencies to the publish job 2021-10-09 21:29:47 +03:00
Anton Suprunchuk
d93061f8fb add rustfmt to check code formatting 2021-10-09 21:20:40 +03:00
Anton Suprunchuk
03f9bbbc40 make linting a separate job from tests 2021-10-09 21:12:58 +03:00
Anton Suprunchuk
8622f9cb47 feat: add linter to the CI 2021-10-09 21:10:52 +03:00
Anton Suprunchuk
19d93365eb Merge pull request #1 from antouhou/feat-ci
feat: add a GitHub actions to run test on PRs and publish on tags
2021-10-08 10:35:17 +03:00
Anton Suprunchuk
708d9e1a50 add publish on tags job 2021-10-08 10:27:07 +03:00
Anton Suprunchuk
ded50a7c25 feat: add a GitHub action to run tests on PRs 2021-10-08 10:14:16 +03:00
Anton Suprunchuk
80f4245f04 chore(release): bump version to 0.2.1 2021-10-07 12:01:20 +03:00
Anton Suprunchuk
90ae6d5204 feat: replaced all vector references with slices 2021-10-07 11:57:42 +03:00
Anton Suprunchuk
d0ad3d4520 chore: bump library version 2021-10-06 12:31:57 +03:00