-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (34 loc) · 1.08 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[package]
name = "newswrap"
version = "0.1.6"
edition = "2021"
license = "MIT OR Apache-2.0"
documentation = "https://docs.rs/newswrap"
homepage = "https://github.com/joeymckenzie/newswrap/"
repository = "https://github.com/joeymckenzie/newswrap/"
authors = ["Joey McKenzie <[email protected]>"]
keywords = ["hackernews", "hacker-news", "hackernewsapi", "hacker-news-api"]
categories = ["api-bindings"]
readme = "README.md"
description = "Hacker News API bindings for rust."
[dependencies]
reqwest = { version = "0.11", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
time = { version = "0.3", features = ["serde-well-known"] }
[dev-dependencies]
axum = { version = "0.6", features = ["macros"] }
http = "0.2"
tokio = { version = "1", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[[example]]
name = "simple"
path = "examples/with_simple_client.rs"
[[example]]
name = "axum"
path = "examples/with_axum.rs"
[[example]]
name = "realtime"
path = "examples/with_realtime_items.rs"