Clean up dependencies; move openpgp-card-sequoia test-code into examples/.

This commit is contained in:
Heiko Schaefer 2022-04-12 11:26:16 +02:00
parent 0a54fa92e4
commit aae546326f
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
4 changed files with 14 additions and 10 deletions

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2021 Heiko Schaefer <heiko@schaefer.name>
# SPDX-FileCopyrightText: 2021-2022 Heiko Schaefer <heiko@schaefer.name>
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
@ -15,10 +15,15 @@ documentation = "https://docs.rs/crate/openpgp-card-sequoia"
sequoia-openpgp = "1.4"
nettle = "7"
openpgp-card = { path = "../openpgp-card", version = "0.2" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.2" }
openpgp-card-scdc = { path = "../scdc", version = "0.2" }
chrono = "0.4"
anyhow = "1"
thiserror = "1"
log = "0.4"
[dev-dependencies]
openpgp-card-pcsc = { path = "../pcsc", version = "0.2" }
openpgp-card-scdc = { path = "../scdc", version = "0.2" }
env_logger = "0.9"
log = "0.4"
[[example]]
name = "test"

View file

@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2021 Heiko Schaefer <heiko@schaefer.name>
// SPDX-FileCopyrightText: 2021-2022 Heiko Schaefer <heiko@schaefer.name>
// SPDX-License-Identifier: MIT OR Apache-2.0
use anyhow::Result;

View file

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2021 Heiko Schaefer <heiko@schaefer.name>
# SPDX-FileCopyrightText: 2021-2022 Heiko Schaefer <heiko@schaefer.name>
# SPDX-License-Identifier: MIT OR Apache-2.0
[package]
@ -14,8 +14,10 @@ documentation = "https://docs.rs/crate/openpgp-card"
[dependencies]
blanket = "0.2.0"
nom = "6"
hex-literal = "0.3"
hex-slice = "0.1"
thiserror = "1"
log = "0.4"
chrono = "0.4"
[dev-dependencies]
hex-literal = "0.3"

View file

@ -13,15 +13,12 @@ documentation = "https://docs.rs/crate/openpgp-card-tools"
[dependencies]
sequoia-openpgp = "1.3"
nettle = "7"
openpgp-card = { path = "../openpgp-card", version = "0.2" }
openpgp-card-pcsc = { path = "../pcsc", version = "0.2" }
openpgp-card-sequoia = { path = "../openpgp-card-sequoia", version = "0.0.9" }
sshkeys = "0.3.2"
rpassword = "5"
chrono = "0.4"
anyhow = "1"
thiserror = "1"
clap = { version = "3.1", features = ["derive"] }
env_logger = "0.9"
log = "0.4"