[package]
name = "apigpio"
description = "Raspberry PI GPIO access, via pigpiod; safe, async, Tokio"
# Copyright (C) 2020-2022 Ian Jackson
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
# Individual files generally contain the following tag in the copyright
# notice, instead of the full licence grant text:
# SPDX-License-Identifier: GPL-3.0-or-later
# As is conventional, this should be read as a licence grant.
#
# Contributions are accepted based on the git commit Signed-off-by
# convention, by which the contributors' certify their contributions
# according to the Developer Certificate of Origin version 1.1 - see
# the file DEVELOPER-CERTIFICATE.
authors = ["Ian Jackson ",
"pigpio contributors http://abyz.me.uk/rpi/pigpio/"]
license = "GPL-3.0-or-later"
version = "1.0.1"
edition = "2018"
readme = "README.md"
homepage = "https://salsa.debian.org/iwj/rust-apigpio"
keywords = ["raspberry", "pi", "rpi", "pigpio", "pigpiod"]
categories = ["embedded", "hardware-support", "api-bindings", "asynchronous"]
[features]
default = ["futures-traits"]
futures-traits = ["postage/futures-traits"]
[dependencies]
thiserror = "1"
arrayref = "0.3"
futures = "0.3"
num-traits = "0.2"
num-derive = "0.3"
postage = { version = "0.5", default_features = false }
strum = { version = "0.24", features = ["derive"] }
tokio = { version = "1", features = ["io-util","macros","net","rt","sync"] }
slotmap = "1"
futures-util = "0.3"
[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread"] }