[package]
edition = "2024"
name = "aspero-engine"
version = "0.3.2"
authors = ["Adrian Robinson"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Routing, caching and resilience engine for aspero"
homepage = "https://github.com/transilluminate/aspero"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/transilluminate/aspero"
[features]
crossref = ["dep:aspero-crossref"]
datacite = ["dep:aspero-datacite"]
default = [
"openalex",
"crossref",
"datacite",
"doi",
"europepmc",
"openlibrary",
]
doi = ["dep:aspero-doi"]
europepmc = ["dep:aspero-europepmc"]
openalex = ["dep:aspero-openalex"]
openlibrary = ["dep:aspero-openlibrary"]
[lib]
name = "aspero_engine"
path = "src/lib.rs"
[[example]]
name = "verify_bench"
path = "examples/verify_bench.rs"
[[test]]
name = "cache"
path = "tests/cache.rs"
[[test]]
name = "check"
path = "tests/check.rs"
[[test]]
name = "concurrency"
path = "tests/concurrency.rs"
[[test]]
name = "notices"
path = "tests/notices.rs"
[[test]]
name = "open_access"
path = "tests/open_access.rs"
[[test]]
name = "routing"
path = "tests/routing.rs"
[[test]]
name = "verify"
path = "tests/verify.rs"
[[test]]
name = "versions"
path = "tests/versions.rs"
[dependencies.aspero-core]
version = "0.3.2"
[dependencies.aspero-crossref]
version = "0.3.2"
optional = true
[dependencies.aspero-datacite]
version = "0.3.2"
optional = true
[dependencies.aspero-doi]
version = "0.3.2"
optional = true
[dependencies.aspero-europepmc]
version = "0.3.2"
optional = true
[dependencies.aspero-openalex]
version = "0.3.2"
optional = true
[dependencies.aspero-openlibrary]
version = "0.3.2"
optional = true
[dependencies.aspero-store]
version = "0.3.2"
[dependencies.async-trait]
version = "0.1.92"
[dependencies.fastrand]
version = "2.5.0"
[dependencies.futures]
version = "0.3.34"
features = [
"std",
"async-await",
]
default-features = false
[dependencies.jiff]
version = "0.2.42"
features = ["serde"]
[dependencies.reqwest]
version = "0.13.5"
features = ["rustls"]
default-features = false
[dependencies.secrecy]
version = "0.10.3"
[dependencies.thiserror]
version = "2.0.21"
[dependencies.tokio]
version = "1.54.1"
features = [
"time",
"sync",
]
[dependencies.tracing]
version = "0.1.44"
[dev-dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.154"
[dev-dependencies.tokio]
version = "1.54.1"
features = [
"macros",
"rt",
"test-util",
]
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"