From 681cc8882f7995407c33eb48730daaa901074460 Mon Sep 17 00:00:00 2001 From: Daniel Mueller Date: Sat, 4 Apr 2020 15:32:14 -0700 Subject: Move nitrocli source code into repository root Now that all vendored dependencies have been removed, this change moves the program's source code from the nitrocli/ directory into the root of the repository. --- Cargo.toml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 Cargo.toml (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..63e6409 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,64 @@ +# Cargo.toml + +#/*************************************************************************** +# * Copyright (C) 2017-2020 Daniel Mueller (deso@posteo.net) * +# * * +# * 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 . * +# ***************************************************************************/ + +[package] +name = "nitrocli" +version = "0.3.1" +edition = "2018" +authors = ["Daniel Mueller "] +license = "GPL-3.0-or-later" +homepage = "https://github.com/d-e-s-o/nitrocli" +repository = "https://github.com/d-e-s-o/nitrocli.git" +readme = "README.md" +categories = ["command-line-utilities", "authentication", "cryptography", "hardware-support"] +keywords = ["nitrokey", "nitrokey-storage", "nitrokey-pro", "cli", "usb"] +description = """ +A command line tool for interacting with Nitrokey devices. +""" +exclude = ["ci/*", "rustfmt.toml"] + +[badges] +gitlab = { repository = "d-e-s-o/nitrocli", branch = "master" } + +[profile.release] +opt-level = "z" +lto = true +codegen-units = 1 +incremental = false + +[dependencies.argparse] +version = "0.2.2" + +[dependencies.base32] +version = "0.4.0" + +[dependencies.libc] +version = "0.2" + +[dependencies.nitrokey] +version = "0.4.0" + +[dev-dependencies.nitrokey-test] +version = "0.3.1" + +[dev-dependencies.nitrokey-test-state] +version = "0.1" + +[dev-dependencies.regex] +version = "1" -- cgit v1.2.1