[package]
edition = "2021"
rust-version = "1.86"
name = "doiget-cli"
version = "0.1.3"
authors = ["Sota Shimozono"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "doiget CLI binary"
homepage = "https://github.com/sotashimozono/doiget"
readme = "README.md"
keywords = [
"doi",
"arxiv",
"mcp",
"academic",
"openaccess",
]
categories = [
"command-line-utilities",
"science",
]
license = "MIT"
repository = "https://github.com/sotashimozono/doiget"
[features]
citation = ["doiget-core/citation"]
default = ["oa-only"]
metadata = ["doiget-core/metadata"]
oa-only = ["doiget-core/oa-only"]
tdm-aps = ["doiget-core/tdm-aps"]
tdm-elsevier = ["doiget-core/tdm-elsevier"]
tdm-springer = ["doiget-core/tdm-springer"]
[lib]
name = "doiget_cli"
path = "src/lib.rs"
[[bin]]
name = "doiget"
path = "src/main.rs"
[[test]]
name = "audit_log_e2e"
path = "tests/audit_log_e2e.rs"
[[test]]
name = "batch_e2e"
path = "tests/batch_e2e.rs"
[[test]]
name = "bib_e2e"
path = "tests/bib_e2e.rs"
[[test]]
name = "cli_smoke"
path = "tests/cli_smoke.rs"
[[test]]
name = "csl_e2e"
path = "tests/csl_e2e.rs"
[[test]]
name = "fetch_arxiv_e2e"
path = "tests/fetch_arxiv_e2e.rs"
[[test]]
name = "fetch_doi_oa_pdf_e2e"
path = "tests/fetch_doi_oa_pdf_e2e.rs"
[[test]]
name = "fetch_dry_run_e2e"
path = "tests/fetch_dry_run_e2e.rs"
[[test]]
name = "fetch_error_mapping_e2e"
path = "tests/fetch_error_mapping_e2e.rs"
[[test]]
name = "graph_e2e"
path = "tests/graph_e2e.rs"
[[test]]
name = "info_list_recent_e2e"
path = "tests/info_list_recent_e2e.rs"
[[test]]
name = "search_e2e"
path = "tests/search_e2e.rs"
[dependencies.anyhow]
version = "1"
[dependencies.camino]
version = "1"
features = ["serde1"]
[dependencies.chrono]
version = "0.4"
features = [
"serde",
"clock",
"std",
]
default-features = false
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
"string",
]
[dependencies.dirs]
version = "6"
[dependencies.doiget-core]
version = "0.1.3"
[dependencies.doiget-mcp]
version = "0.1.3"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"fs",
"process",
"signal",
"io-util",
"sync",
"time",
]
default-features = false
[dependencies.toml]
version = "1.1"
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
"fmt",
]
[dependencies.ulid]
version = "1"
features = ["serde"]
[dependencies.url]
version = "2"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.serial_test]
version = "3"
[dev-dependencies.wiremock]
version = "0.6"
[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
print_stderr = "warn"
print_stdout = "deny"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"