Buttplug sex toy control library
1# Buttplug Core Library 2 3[![Patreon donate button](https://img.shields.io/badge/patreon-donate-yellow.svg)](https://www.patreon.com/qdot) 4[![Github donate button](https://img.shields.io/badge/github-donate-ff69b4.svg)](https://www.github.com/sponsors/qdot) 5[![Discourse Forums](https://img.shields.io/discourse/status?label=buttplug.io%20forums&server=https%3A%2F%2Fdiscuss.buttplug.io)](https://discuss.buttplug.io) 6[![Discord](https://img.shields.io/discord/353303527587708932.svg?logo=discord)](https://discord.buttplug.io) 7[![Twitter](https://img.shields.io/twitter/follow/buttplugio.svg?style=social&logo=twitter)](https://twitter.com/buttplugio) 8[![bluesky](https://img.shields.io/bluesky/followers/buttplug.io)](https://bsky.app/profile/buttplug.io) 9 10[![Crates.io Version](https://img.shields.io/crates/v/buttplug)](https://crates.io/crates/buttplug) 11[![Crates.io Downloads](https://img.shields.io/crates/d/buttplug)](https://crates.io/crates/buttplug) 12[![Crates.io License](https://img.shields.io/crates/l/buttplug)](https://crates.io/crates/buttplug) 13 14The basis of the Buttplug Framework. Contains definitions for all current protocol messages, as well as base traits for architecture shared between client and server (serializers, connectors, etc...) and utilities used throughout the library (async managers, stream creation, etc...). 15 16## License 17 18Buttplug is BSD 3-Clause licensed. 19 20```text 21 22Copyright (c) 2016-2025, Nonpolynomial, LLC 23All rights reserved. 24 25Redistribution and use in source and binary forms, with or without 26modification, are permitted provided that the following conditions are met: 27 28* Redistributions of source code must retain the above copyright notice, this 29 list of conditions and the following disclaimer. 30 31* Redistributions in binary form must reproduce the above copyright notice, 32 this list of conditions and the following disclaimer in the documentation 33 and/or other materials provided with the distribution. 34 35* Neither the name of buttplug nor the names of its 36 contributors may be used to endorse or promote products derived from 37 this software without specific prior written permission. 38 39THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 40AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 41IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 42DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 43FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 44DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 45SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 46CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 47OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 48OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 49```