# SPDX-License-Identifier: CC0-1.0 # SPDX-FileCopyrightText: 2022 Linaro Ltd. # SPDX-FileCopyrightText: 2022 Viresh Kumar [package] name = "libgpiod" version = "0.2.2" authors = ["Viresh Kumar "] description = "libgpiod wrappers" repository = "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git" categories = ["api-bindings", "hardware-support", "embedded", "os::linux-apis"] rust-version = "1.60" keywords = ["libgpiod", "gpio"] license = "Apache-2.0 OR BSD-3-Clause" edition = "2021" exclude = [ "Makefile.am", ] [features] v2_1 = ["libgpiod-sys/v2_1"] vnext = ["v2_1"] [dependencies] errno = "0.2.8" intmap = "2.0.0" libc = "0.2.39" libgpiod-sys = { version = "0.1", path = "../libgpiod-sys" } thiserror = "1.0" [dev-dependencies] gpiosim-sys = { path = "../gpiosim-sys" }