{"id":17319998,"url":"https://github.com/aatxe/tokio-mockstream","last_synced_at":"2025-06-11T05:32:37.865Z","repository":{"id":57670077,"uuid":"95047875","full_name":"aatxe/tokio-mockstream","owner":"aatxe","description":"A fake stream for testing network applications backed by buffers.","archived":false,"fork":false,"pushed_at":"2019-10-23T19:16:21.000Z","size":15,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T16:51:54.508Z","etag":null,"topics":["async","buffer","stream","testing","tokio"],"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/aatxe.png","metadata":{"files":{"readme":"README.md","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":"2017-06-21T21:29:49.000Z","updated_at":"2020-01-02T17:01:23.000Z","dependencies_parsed_at":"2022-09-26T20:40:46.544Z","dependency_job_id":null,"html_url":"https://github.com/aatxe/tokio-mockstream","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Ftokio-mockstream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Ftokio-mockstream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Ftokio-mockstream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Ftokio-mockstream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aatxe","download_url":"https://codeload.github.com/aatxe/tokio-mockstream/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aatxe%2Ftokio-mockstream/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259207306,"owners_count":22821635,"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":["async","buffer","stream","testing","tokio"],"created_at":"2024-10-15T13:28:27.068Z","updated_at":"2025-06-11T05:32:37.845Z","avatar_url":"https://github.com/aatxe.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tokio-mockstream [![Build Status](https://travis-ci.org/aatxe/tokio-mockstream.svg?branch=master)](https://travis-ci.org/aatxe/tokio-mockstream) [![Crates.io](https://img.shields.io/crates/v/tokio-mockstream.svg)](https://crates.io/crates/tokio-mockstream) [![Built with Spacemacs](https://cdn.rawgit.com/syl20bnr/spacemacs/442d025779da2f62fc86c2082703697714db6514/assets/spacemacs-badge.svg)](http://spacemacs.org) #\n\nA fake stream for testing network applications backed by buffers.\n\n# Usage\n\n```toml\n[dependencies]\ntokio-mockstream = \"1.1\"\n```\n\nNext, add this to your crate:\n\n```rust\nextern crate tokio_mockstream;\n\nuse tokio_mockstream::MockStream;\n```\n\nThe general idea is to treat `MockStream` as you would `TcpStream`. You can find documentation online at [docs.rs](https://docs.rs/tokio-mockstream/).\n\n# License\n\n`tokio-mockstream` is primarily distributed under the terms of both the MIT license\nand the Apache License (Version 2.0).\n\nSee LICENSE-APACHE, and LICENSE-MIT for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatxe%2Ftokio-mockstream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faatxe%2Ftokio-mockstream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatxe%2Ftokio-mockstream/lists"}