peach-workspace/peach-buttons/Cargo.toml

41 lines
1.5 KiB
TOML

[package]
name = "peach-buttons"
version = "0.1.3"
authors = ["Andrew Reid <gnomad@cryptolab.net>"]
edition = "2018"
description = "peach-buttons is a GPIO microservice for handling button presses, implementing a JSON-RPC server with Publish-Subscribe extension. Each button press results in a JSON-RPC request being sent over websockets to any subscribers. A button code for the pressed button is sent with the request to subscribers, allowing state-specific actions to be taken."
homepage = "https://opencollective.com/peachcloud"
repository = "https://github.com/peachcloud/peach-buttons"
readme = "README.md"
license = "AGPL-3.0-only"
publish = false
[package.metadata.deb]
depends = "$auto"
extended-description = """\
peach-buttons is a GPIO microservice for handling button presses, \
implementing a JSON-RPC server with Publish-Subscribe extention. \
Each button press results in a JSON-RPC request being sent over websockets \
to any subscribers."""
maintainer-scripts="debian"
systemd-units = { unit-name = "peach-buttons" }
assets = [
["target/release/peach-buttons", "usr/bin/", "755"],
["README.md", "usr/share/doc/peach-buttons/README", "644"],
]
[badges]
travis-ci = { repository = "peachcloud/peach-buttons", branch = "master" }
maintenance = { status = "actively-developed" }
[dependencies]
crossbeam-channel = "0.3"
env_logger = "0.6"
gpio-cdev = "0.2"
jsonrpc-core = "11"
jsonrpc-ws-server = "11"
jsonrpc-pubsub = "11"
jsonrpc-test = "11"
log = "0.4"
snafu = "0.4"