pinboard 1.4.0

A lock-free, threadsafe way to publish data, just stick it on the pinboard
Documentation
# Pinboard

[![Crates.io - Pinboard](https://img.shields.io/crates/v/pinboard.svg)](https://crates.io/crates/pinboard) [![Build Status](https://travis-ci.org/bossmc/pinboard.svg?branch=master)](https://travis-ci.org/bossmc/pinboard) [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)

An eventually-consistent, lock-free, mutable store of shared data.

> Just stick it on the pinboard!

## Documentation

https://docs.rs/pinboard/

## Usage

Install from crates.io by adding `pinboard` to your `Cargo.toml`:

```
[dependencies]
pinboard = "1.4.0"
```

Now you can create a Pinboard, share it between your users (be they `Futures`, threads or really anything else) and start sharing data!

```
let weather_report = Pinboard::new("Sunny");

crossbeam::scope(|scope| {
  scope.spawn(|| {
    thread::sleep(10);
    weather_report.set("Raining");
  })
  scope.spawn(|| {
    loop {
      println("The weather is {}", weather_report.read());
      thread::sleep(1);
    }
  })
})
```