{"id":15417658,"url":"https://github.com/multiformats/rust-multibase","last_synced_at":"2025-10-19T16:17:19.204Z","repository":{"id":16170575,"uuid":"79387187","full_name":"multiformats/rust-multibase","owner":"multiformats","description":"Multibase in rust","archived":false,"fork":false,"pushed_at":"2025-04-28T16:04:37.000Z","size":87,"stargazers_count":47,"open_issues_count":3,"forks_count":20,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-28T17:23:15.308Z","etag":null,"topics":["crates","decoding","encoding","ipfs","multibase","multiformats","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/multiformats.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-18T21:41:28.000Z","updated_at":"2025-04-28T16:04:30.000Z","dependencies_parsed_at":"2023-02-16T14:01:03.795Z","dependency_job_id":"535b14c1-17cd-4a4b-b301-2af3b8793dca","html_url":"https://github.com/multiformats/rust-multibase","commit_stats":{"total_commits":73,"total_committers":15,"mean_commits":4.866666666666666,"dds":0.8082191780821918,"last_synced_commit":"74024332ed1dade01f20ed4137665621a38ba392"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiformats%2Frust-multibase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiformats%2Frust-multibase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiformats%2Frust-multibase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/multiformats%2Frust-multibase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/multiformats","download_url":"https://codeload.github.com/multiformats/rust-multibase/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459084,"owners_count":22074604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["crates","decoding","encoding","ipfs","multibase","multiformats","rust"],"created_at":"2024-10-01T17:16:43.841Z","updated_at":"2025-10-19T16:17:19.110Z","avatar_url":"https://github.com/multiformats.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rust-multibase\n\n[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)\n[![](https://img.shields.io/badge/project-multiformats-blue.svg?style=flat-square)](https://github.com/multiformats/multiformats)\n[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](https://webchat.freenode.net/?channels=%23ipfs)\n[![](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)\n\n[![Build Status](https://github.com/multiformats/rust-multibase/workflows/build/badge.svg)](https://github.com/multiformats/rust-multibase/actions)\n[![License](https://img.shields.io/crates/l/multibase?style=flat-square)](LICENSE)\n[![Crates.io](https://img.shields.io/crates/v/multibase?style=flat-square)](https://crates.io/crates/multibase)\n[![Documentation](https://docs.rs/multibase/badge.svg?style=flat-square)](https://docs.rs/multibase)\n[![Dependency Status](https://deps.rs/repo/github/multiformats/rust-multibase/status.svg)](https://deps.rs/repo/github/multiformats/rust-multibase)\n[![Coverage Status]( https://img.shields.io/codecov/c/github/multiformats/rust-multibase?style=flat-square)](https://codecov.io/gh/multiformats/rust-multibase)\n\n\u003e [multibase](https://github.com/multiformats/multibase) implementation in Rust.\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [Maintainers](#maintainers)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\nFirst add this to your `Cargo.toml`\n\n```toml\n[dependencies]\nmultibase = \"0.9\"\n```\n\nFor `no_std`\n```\n[dependencies]\nmultibase = { version =\"0.9\", default-features = false }\n```\n\n**note**: This crate relies on the [currently unstable](https://github.com/rust-lang/cargo/issues/7915) `host_dep` feature to [compile proc macros with the proper dependencies](https://docs.rs/data-encoding-macro/0.1.10/data_encoding_macro/), thus **requiring nightly rustc** to use.\n\nThen run `cargo build`.\n\n## Usage\n\n```rust\nuse multibase::Base;\n\nlet base64 = multibase::encode(Base::Base64, b\"hello world\");\nlet (base, data) = multibase::decode(base64);\n```\n\n**Note**: `base32` and `base64` are orders of magnitude faster due to byte alignment. Don't\nbe surprised if using a different base turns into a performance bottleneck. You\nwere warned!\n\n## Maintainers\n\nCaptain: [@dignifiedquire](https://github.com/dignifiedquire).\n\n## Contribute\n\nContributions welcome. Please check out [the issues](https://github.com/multiformats/rust-multibase/issues).\n\nCheck out our [contributing document](https://github.com/multiformats/multiformats/blob/master/contributing.md) for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).\n\nSmall note: If editing the README, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n\n## License\n\n[MIT](LICENSE) © Friedel Ziegelmayer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiformats%2Frust-multibase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmultiformats%2Frust-multibase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmultiformats%2Frust-multibase/lists"}