├── .envrc ├── .github ├── codecov.yml ├── dependabot.yml └── workflows │ ├── build.yml │ ├── generated-pr.yml │ └── stale.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.toml ├── LICENSE ├── README.md ├── RELEASE.md ├── codetable ├── Cargo.toml ├── benches │ └── multihash.rs ├── examples │ ├── custom_table.rs │ └── manual_mh.rs ├── src │ ├── hasher_impl.rs │ └── lib.rs └── tests │ └── lib.rs ├── deny.toml ├── derive-impl ├── Cargo.toml └── src │ ├── lib.rs │ ├── multihash.rs │ └── utils.rs ├── derive ├── Cargo.toml ├── src │ ├── hasher.rs │ └── lib.rs └── tests │ ├── fail │ ├── no_allow_same_code_twice.rs │ ├── no_allow_same_code_twice.stderr │ ├── no_allow_same_name_twice.rs │ └── no_allow_same_name_twice.stderr │ ├── multihash.rs │ └── pass │ └── derive.rs ├── examples └── identity.rs ├── release.toml ├── rustfmt.toml └── src ├── arb.rs ├── error.rs ├── lib.rs ├── multihash.rs └── serde.rs /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/.envrc -------------------------------------------------------------------------------- /.github/codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/.github/codecov.yml -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/generated-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/.github/workflows/generated-pr.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | Cargo.lock 3 | *.bk 4 | .idea 5 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/RELEASE.md -------------------------------------------------------------------------------- /codetable/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/Cargo.toml -------------------------------------------------------------------------------- /codetable/benches/multihash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/benches/multihash.rs -------------------------------------------------------------------------------- /codetable/examples/custom_table.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/examples/custom_table.rs -------------------------------------------------------------------------------- /codetable/examples/manual_mh.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/examples/manual_mh.rs -------------------------------------------------------------------------------- /codetable/src/hasher_impl.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/src/hasher_impl.rs -------------------------------------------------------------------------------- /codetable/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/src/lib.rs -------------------------------------------------------------------------------- /codetable/tests/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/codetable/tests/lib.rs -------------------------------------------------------------------------------- /deny.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/deny.toml -------------------------------------------------------------------------------- /derive-impl/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive-impl/Cargo.toml -------------------------------------------------------------------------------- /derive-impl/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive-impl/src/lib.rs -------------------------------------------------------------------------------- /derive-impl/src/multihash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive-impl/src/multihash.rs -------------------------------------------------------------------------------- /derive-impl/src/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive-impl/src/utils.rs -------------------------------------------------------------------------------- /derive/Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/Cargo.toml -------------------------------------------------------------------------------- /derive/src/hasher.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/src/hasher.rs -------------------------------------------------------------------------------- /derive/src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/src/lib.rs -------------------------------------------------------------------------------- /derive/tests/fail/no_allow_same_code_twice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/tests/fail/no_allow_same_code_twice.rs -------------------------------------------------------------------------------- /derive/tests/fail/no_allow_same_code_twice.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/tests/fail/no_allow_same_code_twice.stderr -------------------------------------------------------------------------------- /derive/tests/fail/no_allow_same_name_twice.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/tests/fail/no_allow_same_name_twice.rs -------------------------------------------------------------------------------- /derive/tests/fail/no_allow_same_name_twice.stderr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/tests/fail/no_allow_same_name_twice.stderr -------------------------------------------------------------------------------- /derive/tests/multihash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/tests/multihash.rs -------------------------------------------------------------------------------- /derive/tests/pass/derive.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/derive/tests/pass/derive.rs -------------------------------------------------------------------------------- /examples/identity.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/examples/identity.rs -------------------------------------------------------------------------------- /release.toml: -------------------------------------------------------------------------------- 1 | consolidate-commits = false 2 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | format_code_in_doc_comments = true 2 | -------------------------------------------------------------------------------- /src/arb.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/src/arb.rs -------------------------------------------------------------------------------- /src/error.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/src/error.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/multihash.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/src/multihash.rs -------------------------------------------------------------------------------- /src/serde.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/multiformats/rust-multihash/HEAD/src/serde.rs --------------------------------------------------------------------------------