# 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" rust-version = "1.72.1" name = "pinterest-login" version = "0.2.0-alpha.1" authors = ["Anas Elgarhy "] autobins = false description = "A Pinterest login library that uses chromiumoxide to emulate a browser and login to Pinterest." documentation = "https://docs.rs/pinterest-login" readme = "README.md" keywords = [ "pinterest", "login", "authentication", "pinterest-api", ] categories = [ "web-programming", "api-bindings", "authentication", ] license = "MIT OR Unlicense" repository = "https://github.com/0x61nas/pinterest-login" [profile.release] lto = true codegen-units = 1 panic = "abort" strip = "symbols" [[bin]] name = "pintrest-login" path = "src/bin/main.rs" required-features = ["__bin"] [dependencies.async-std] version = "1.12.0" optional = true [dependencies.async-trait] version = "0.1.73" [dependencies.chromiumoxide] version = "0.5.7" default-features = false [dependencies.futures] version = "0.3.28" [dependencies.lazy-regex] version = "3.1.0" [dependencies.log] version = "0.4.20" optional = true [dependencies.pretty_env_logger] version = "0.5.0" [dependencies.rpassword] version = "7" optional = true [dependencies.thiserror] version = "1.0.48" [dependencies.tokio] version = "1.32.0" optional = true [features] __async-std = [ "dep:async-std", "chromiumoxide/async-std-runtime", ] __bin = ["rpassword"] default = [ "__async-std", "__bin", ] log = ["dep:log"] tokio = [ "dep:tokio", "chromiumoxide/tokio-runtime", ]