{"id":16949583,"url":"https://github.com/tailhook/digest-writer","last_synced_at":"2025-04-11T20:20:42.217Z","repository":{"id":57619247,"uuid":"75565897","full_name":"tailhook/digest-writer","owner":"tailhook","description":"Adds an `io::Write` interface on top of `digest::Digest`","archived":false,"fork":false,"pushed_at":"2017-12-01T15:13:48.000Z","size":14,"stargazers_count":2,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T16:16:04.375Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tailhook.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-04T21:31:59.000Z","updated_at":"2017-01-07T22:39:47.000Z","dependencies_parsed_at":"2022-09-14T12:41:33.759Z","dependency_job_id":null,"html_url":"https://github.com/tailhook/digest-writer","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdigest-writer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdigest-writer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdigest-writer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tailhook%2Fdigest-writer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tailhook","download_url":"https://codeload.github.com/tailhook/digest-writer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345274,"owners_count":21088245,"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":[],"created_at":"2024-10-13T21:55:29.748Z","updated_at":"2025-04-11T20:20:42.188Z","avatar_url":"https://github.com/tailhook.png","language":"Rust","readme":"=============\nDigest Writer\n=============\n\n:Status: Beta\n:Documentation: http://docs.rs/digest-writer/\n\n\nThis crate adds ``io::Write`` interface for ``digest::Digest``. Which\nmeans you can use ``io::copy``, ``write!`` macros and other abstractions\nwith digests.\n\nExample:\n\n.. code-block:: rust\n\n    use std::fs::File;\n    use std::io::{self, Write};\n    use sha2::Sha256;\n    use digest::Writer;\n\n    let digest = Writer::new(Sha256::new());\n    let mut f = File::open(\"write.rs\").unwrap();\n    io::copy(f, digest).unwrap();\n    digest.result();\n\n\nLicense\n=======\n\nLicensed under either of\n\n* Apache License, Version 2.0,\n  (./LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)\n* MIT license (./LICENSE-MIT or http://opensource.org/licenses/MIT)\n  at your option.\n\nContribution\n------------\n\nUnless you explicitly state otherwise, any contribution intentionally\nsubmitted for inclusion in the work by you, as defined in the Apache-2.0\nlicense, shall be dual licensed as above, without any additional terms or\nconditions.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fdigest-writer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftailhook%2Fdigest-writer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftailhook%2Fdigest-writer/lists"}