From 562cd404efc33f8e745e9a7f684a090055d734ef Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 9 Feb 2021 20:26:21 -0800 Subject: roll back version; don't abort on panic The "abort on panic" behavior cuts down binary size a bunch, but makes debugging harder, I think. --- Cargo.lock | 2 +- Cargo.toml | 2 +- fatcat-cli/Cargo.toml | 19 ++++++++++--------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7f208c2..60e24f3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -272,7 +272,7 @@ dependencies = [ [[package]] name = "fatcat-cli" -version = "0.3.0-dev" +version = "0.1.0-dev" dependencies = [ "anyhow", "assert_cmd", diff --git a/Cargo.toml b/Cargo.toml index 113e147..f3ac1eb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,4 +5,4 @@ members = ["fatcat-openapi", "fatcat-cli"] lto = true codegen-units = 1 opt-level = "z" -panic = "abort" +#panic = "abort" diff --git a/fatcat-cli/Cargo.toml b/fatcat-cli/Cargo.toml index dbb114a..dca1a30 100644 --- a/fatcat-cli/Cargo.toml +++ b/fatcat-cli/Cargo.toml @@ -1,18 +1,17 @@ [package] name = "fatcat-cli" -version = "0.3.0-dev" +version = "0.1.0-dev" edition = "2018" authors = ["Bryan Newbold "] -license = "AGPL-3+" -#license-file = "../../LICENSE.AGPLv3.txt" +license = "GPL-3+" +#license-file = "../LICENSE.GPLv3.txt" description = "CLI tool for fatcat.wiki, an open digital catalog of research papers" -readme = "fatcat-cli/README.md" +readme = "README.md" homepage = "https://fatcat.wiki" -repository = "https://github.com/internetarchive/fatcat" +repository = "https://gitlab.com/ibnewbold/fatcat-cli" keywords = ["cli", "fatcat", "digital-library"] categories = ["command-line-utilities"] - [dependencies] data-encoding = "2.1" fatcat-openapi = { version = "*", path = "../fatcat-openapi", default-features = false, features = ["client"] } @@ -39,17 +38,19 @@ tempfile = "3" indicatif = "0.15" url = "*" - [dev-dependencies] assert_cmd = "1" - [package.metadata.deb] maintainer = "Bryan Newbold " depends = "$auto" section = "utility" priority = "optional" +extended-description = """" +Simple command-line interface to fatcat API (https://api.fatcat.wiki). Longer +description will go here. +""" assets = [ ["target/release/fatcat-cli", "usr/bin/", "755"], - ["fatcat-cli.1", "usr/share/man/man1/", "644"], + ["../extra/fatcat-cli.1", "usr/share/man/man1/", "644"], ] -- cgit v1.2.3