# 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 = "shindan-maker" version = "0.1.23" authors = ["Nawyjx <3373167460@qq.com>"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A Rust library for interacting with ShindanMaker, the popular personality quiz service." documentation = "https://docs.rs/shindan-maker" readme = "README.md" keywords = [ "shindan", "shindanmaker", "shindan-maker", "fortune-tellings", "diagnosis", ] categories = ["web-programming::http-client"] license = "MIT OR Apache-2.0" repository = "https://github.com/araea/shindan-maker" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--generate-link-to-definition"] targets = ["x86_64-unknown-linux-gnu"] [lib] name = "shindan_maker" path = "src/lib.rs" [[example]] name = "get_html_str" path = "examples/get_html_str.rs" required-features = ["html"] [[example]] name = "get_segments" path = "examples/get_segments.rs" required-features = ["segments"] [[example]] name = "get_title" path = "examples/get_title.rs" [[example]] name = "html_to_img" path = "examples/html_to_img.rs" required-features = ["html"] [dependencies.anyhow] version = "1.0" [dependencies.once_cell] version = "1.20.2" [dependencies.reqwest] version = "0.12" features = ["cookies"] [dependencies.scraper] version = "0.21" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.tokio] version = "1" features = [ "rt", "rt-multi-thread", "macros", ] [dev-dependencies.base64] version = "0.22" [dev-dependencies.cdp-html-shot] version = "0.1" [features] default = ["segments"] full = [ "segments", "html", ] html = [] segments = []