[package]
edition = "2018"
name = "newsapi"
version = "0.7.0"
authors = [
"biomunky",
"lotia",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Wrapper for the newsapi, uses reqwest to do the http work. A learn by doing project"
homepage = "https://github.com/biomunky/newsapi"
readme = "README.md"
keywords = [
"newsapi",
"client",
]
categories = ["api-bindings"]
license = "MIT/Apache-2.0"
[lib]
name = "newsapi"
path = "src/lib.rs"
[[example]]
name = "get_articles_async"
path = "examples/get_articles_async.rs"
[[example]]
name = "get_articles_sync"
path = "examples/get_articles_sync.rs"
[[example]]
name = "get_sources_async"
path = "examples/get_sources_async.rs"
[[example]]
name = "get_sources_sync"
path = "examples/get_sources_sync.rs"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.custom_error]
version = "1.9"
[dependencies.enum-map]
version = "2.4"
[dependencies.lazy_static]
version = "1.4"
[dependencies.percent-encoding]
version = "2.1"
[dependencies.reqwest]
version = "0.11"
features = [
"blocking",
"json",
]
[dependencies.serde]
version = "1.0"
[dependencies.serde_derive]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.19"
features = [
"rt",
"rt-multi-thread",
"macros",
]