# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "newswrap" version = "0.1.6" authors = ["Joey McKenzie "] description = "Hacker News API bindings for rust." homepage = "https://github.com/joeymckenzie/newswrap/" documentation = "https://docs.rs/newswrap" readme = "README.md" keywords = [ "hackernews", "hacker-news", "hackernewsapi", "hacker-news-api", ] categories = ["api-bindings"] license = "MIT OR Apache-2.0" repository = "https://github.com/joeymckenzie/newswrap/" [[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" [dependencies.reqwest] version = "0.11" features = ["json"] [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" features = ["serde-well-known"] [dev-dependencies.axum] version = "0.6" features = ["macros"] [dev-dependencies.http] version = "0.2" [dev-dependencies.tokio] version = "1" features = ["full"] [dev-dependencies.tracing] version = "0.1" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"]