{"id":18371141,"url":"https://github.com/bossmc/pinboard","last_synced_at":"2025-07-09T05:33:25.830Z","repository":{"id":52416441,"uuid":"92783606","full_name":"bossmc/pinboard","owner":"bossmc","description":"A threadsafe way to publish data, just stick it on the pinboard","archived":false,"fork":false,"pushed_at":"2023-04-17T18:04:47.000Z","size":77,"stargazers_count":29,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T05:14:00.770Z","etag":null,"topics":["concurrency","eventually-consistent","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bossmc.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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-05-29T23:48:36.000Z","updated_at":"2025-01-30T21:02:13.000Z","dependencies_parsed_at":"2024-11-05T23:43:13.595Z","dependency_job_id":"ac700f30-e3b6-4a7e-8b41-f0828e36b1ad","html_url":"https://github.com/bossmc/pinboard","commit_stats":{"total_commits":56,"total_committers":9,"mean_commits":6.222222222222222,"dds":0.5,"last_synced_commit":"2700e010e81f31b4fd5a65282fb10a4088be28e3"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bossmc%2Fpinboard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bossmc%2Fpinboard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bossmc%2Fpinboard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bossmc%2Fpinboard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bossmc","download_url":"https://codeload.github.com/bossmc/pinboard/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247539086,"owners_count":20955239,"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":["concurrency","eventually-consistent","rust"],"created_at":"2024-11-05T23:43:05.543Z","updated_at":"2025-04-06T19:31:53.128Z","avatar_url":"https://github.com/bossmc.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pinboard\n\n[![Crates.io - Pinboard](https://img.shields.io/crates/v/pinboard.svg)](https://crates.io/crates/pinboard) [![Build Status](https://github.com/bossmc/pinboard/actions/workflows/rust.yml/badge.svg?branch=master)](https://github.com/bossmc/pinboard/actions/workflows/rust.yml?query=branch%3Amaster) [![Bors enabled](https://bors.tech/images/badge_small.svg)](https://app.bors.tech/repositories/873) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n\nAn eventually-consistent, lock-free, mutable store of shared data.\n\n\u003e Just stick it on the pinboard!\n\n## Documentation\n\nhttps://docs.rs/pinboard/\n\n## Usage\n\nInstall from crates.io by adding `pinboard` to your `Cargo.toml`:\n\n```text\n[dependencies]\npinboard = \"2.0.0\"\n```\n\nNow you can create a Pinboard, share it between your users (be they `Futures`, threads or really anything else) and start sharing data!\n\n```rust,no_run\nuse pinboard::NonEmptyPinboard;\nuse std::{thread, time::Duration};\n\nlet weather_report = NonEmptyPinboard::new(\"Sunny\");\n\ncrossbeam::scope(|scope| {\n  scope.spawn(|_| {\n    thread::sleep(Duration::from_secs(10));\n    weather_report.set(\"Raining\");\n  });\n  scope.spawn(|_| {\n    loop {\n      println!(\"The weather is {}\", weather_report.get_ref());\n      thread::sleep(Duration::from_secs(1));\n    }\n  });\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbossmc%2Fpinboard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbossmc%2Fpinboard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbossmc%2Fpinboard/lists"}