# 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.56" name = "rspotify-s" version = "0.13.1" authors = [ "Ramsay Leung ", "Mario Ortiz Manero ", "Channing Babb ", ] description = "Spotify API wrapper" homepage = "https://github.com/ramsayleung/rspotify" readme = "README.md" keywords = [ "spotify", "api", ] categories = [ "api-bindings", "multimedia::audio", ] license = "MIT" repository = "https://github.com/ramsayleung/rspotify" [package.metadata.docs.rs] features = [ "cli", "env-file", "client-ureq", ] no-default-features = true [[example]] name = "client_creds" path = "examples/client_creds.rs" required-features = [ "env-file", "client-reqwest", ] [[example]] name = "auth_code" path = "examples/auth_code.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "auth_code_pkce" path = "examples/auth_code_pkce.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "oauth_tokens" path = "examples/oauth_tokens.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "with_refresh_token" path = "examples/with_refresh_token.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "with_auto_reauth" path = "examples/with_auto_reauth.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "with_token_callback_fn" path = "examples/with_token_callback_fn.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "device" path = "examples/ureq/device.rs" required-features = [ "env-file", "cli", "client-ureq", ] [[example]] name = "me" path = "examples/ureq/me.rs" required-features = [ "env-file", "cli", "client-ureq", ] [[example]] name = "search" path = "examples/ureq/search.rs" required-features = [ "env-file", "client-ureq", ] [[example]] name = "seek_track" path = "examples/ureq/seek_track.rs" required-features = [ "env-file", "cli", "client-ureq", ] [[example]] name = "threading" path = "examples/ureq/threading.rs" required-features = [ "env-file", "client-ureq", ] [[example]] name = "tasks" path = "examples/tasks.rs" required-features = [ "env-file", "client-reqwest", ] [[example]] name = "pagination_manual" path = "examples/pagination_manual.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [[example]] name = "pagination_sync" path = "examples/pagination_sync.rs" required-features = [ "env-file", "cli", "client-ureq", ] [[example]] name = "pagination_async" path = "examples/pagination_async.rs" required-features = [ "env-file", "cli", "client-reqwest", ] [dependencies.async-stream] version = "0.3.2" optional = true [dependencies.async-trait] version = "0.1.51" optional = true [dependencies.base64] version = "0.22.0" [dependencies.chrono] version = "0.4.35" features = ["serde"] [dependencies.dotenvy] version = "0.15.0" optional = true [dependencies.futures] version = "0.3.17" optional = true [dependencies.log] version = "0.4.14" [dependencies.maybe-async] version = "0.2.6" [dependencies.rspotify-http] version = "0.13.0" default-features = false [dependencies.rspotify-macros] version = "0.13.0" [dependencies.rspotify-model] version = "0.13.0" [dependencies.serde] version = "1.0.130" default-features = false [dependencies.serde_json] version = "1.0.67" [dependencies.sha2] version = "0.10.0" [dependencies.thiserror] version = "1.0.29" [dependencies.url] version = "2.2.2" [dependencies.webbrowser] version = "0.8.0" optional = true [dev-dependencies.env_logger] version = "0.11.0" default-features = false [dev-dependencies.futures-util] version = "0.3.17" [dev-dependencies.wasm-bindgen-test] version = "0.3.34" [features] __async = [ "futures", "async-stream", "async-trait", ] __sync = ["maybe-async/is_sync"] cli = ["webbrowser"] client-reqwest = [ "rspotify-http/client-reqwest", "__async", ] client-ureq = [ "rspotify-http/client-ureq", "__sync", ] default = [ "client-reqwest", "reqwest-default-tls", ] env-file = ["dotenvy"] reqwest-default-tls = ["rspotify-http/reqwest-default-tls"] reqwest-native-tls = ["rspotify-http/reqwest-native-tls"] reqwest-native-tls-vendored = ["rspotify-http/reqwest-native-tls-vendored"] reqwest-rustls-tls = ["rspotify-http/reqwest-rustls-tls"] ureq-native-tls = ["rspotify-http/ureq-native-tls"] ureq-rustls-tls = ["rspotify-http/ureq-rustls-tls"] ureq-rustls-tls-native-certs = ["rspotify-http/ureq-rustls-tls-native-certs"] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.getrandom] version = "0.2.3" [target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.tokio] version = "1.11.0" features = [ "rt-multi-thread", "macros", ] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2.3" features = ["js"] [target."cfg(target_arch = \"wasm32\")".dev-dependencies.dotenvy_macro] version = "0.15.7" [target."cfg(target_arch = \"wasm32\")".dev-dependencies.tokio] version = "1.11.0" features = [ "rt", "macros", ]