~ireas/nitrokey-rs

ref: b2607cbd3f239be9d09204921db278424cc7a6be nitrokey-rs/Cargo.toml -rw-r--r-- 754 bytes
b2607cbdRobin Krahl Use map_err(|_| x) instead of or_else(|_| Err(x)) 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Copyright (C) 2019-2020 Robin Krahl <robin.krahl@ireas.org>
# SPDX-License-Identifier: CC0-1.0

[package]
name = "nitrokey"
version = "0.7.0"
authors = ["Robin Krahl <robin.krahl@ireas.org>"]
edition = "2018"
homepage = "https://code.ireas.org/nitrokey-rs/"
repository = "https://git.ireas.org/nitrokey-rs/"
documentation = "https://docs.rs/nitrokey"
description = "Bindings to libnitrokey for communication with Nitrokey devices"
keywords = ["nitrokey", "otp"]
categories = ["api-bindings"]
readme = "README.md"
license = "MIT"
exclude = [".builds/*"]

[dependencies]
lazy_static = "1.2"
libc = "0.2"
nitrokey-sys = "3.5"
rand_core = {version = "0.5.1", features = ["getrandom"] }

[dev-dependencies]
nitrokey-test = "0.3"
nitrokey-test-state = "0.1"