Buttplug sex toy control library
1# Buttplug Procedural Macro Library
2
3[](https://www.patreon.com/qdot)
4[](https://www.github.com/sponsors/qdot)
5[](https://discuss.buttplug.io)
6[](https://discord.buttplug.io)
7[](https://twitter.com/buttplugio)
8
9[](https://crates.io/crates/buttplug-derive)
10[](https://crates.io/crates/buttplug-derive)
11[](https://crates.io/crates/buttplug-derive)
12
13Procedural macros for use in the implementation of the Rust version of Buttplug. Not much interesting to see here, it's mostly just derive macros for library traits.
14
15## License
16
17buttplug-derive is BSD 3-Clause licensed.
18
19```text
20
21Copyright (c) 2016-2025, Nonpolynomial, LLC
22All rights reserved.
23
24Redistribution and use in source and binary forms, with or without
25modification, are permitted provided that the following conditions are met:
26
27* Redistributions of source code must retain the above copyright notice, this
28 list of conditions and the following disclaimer.
29
30* Redistributions in binary form must reproduce the above copyright notice,
31 this list of conditions and the following disclaimer in the documentation
32 and/or other materials provided with the distribution.
33
34* Neither the name of buttplug nor the names of its
35 contributors may be used to endorse or promote products derived from
36 this software without specific prior written permission.
37
38THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
39AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
40IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
41DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
42FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
43DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
44SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
45CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
46OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
47OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
48```