# 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.81"
name = "wasmer-backend-api"
version = "0.7.0"
authors = ["Wasmer Engineering Team <engineering@wasmer.io>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client library for the Wasmer GraphQL API"
homepage = "https://wasmer.io/"
documentation = "https://docs.rs/wasmer-backend-api"
readme = "README.md"
license = "MIT"
repository = "https://github.com/wasmerio/wasmer"

[lib]
name = "wasmer_backend_api"
path = "src/lib.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-tungstenite]
version = "0.28.0"
features = [
    "tokio-runtime",
    "tokio-rustls-native-certs",
]

[dependencies.cynic]
version = "3.7.2"
features = ["http-reqwest"]

[dependencies.futures]
version = "0.3"

[dependencies.graphql-ws-client]
version = "0.11.0"
features = [
    "tungstenite",
    "client-cynic",
]

[dependencies.harsh]
version = "0.2.2"

[dependencies.merge-streams]
version = "0.1.2"

[dependencies.pin-project-lite]
version = "0.2.10"

[dependencies.reqwest]
version = "0.12.0"
features = ["json"]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_path_to_error]
version = "0.1.14"

[dependencies.time]
version = "0.3.36"
features = [
    "formatting",
    "parsing",
]

[dependencies.tokio]
version = "1.39.0"
default-features = false

[dependencies.tokio-tungstenite]
version = "0.24.0"
features = ["rustls-tls-native-roots"]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"
features = ["serde"]

[dependencies.wasmer-config]
version = "0.14.0"

[dependencies.wasmer-package]
version = "0.7.0"

[dependencies.webc]
version = "=9.0"

[dev-dependencies.base64]
version = "0.22.0"

[dev-dependencies.tokio]
version = "1.39.0"
features = [
    "macros",
    "rt",
]
default-features = false

[dev-dependencies.uuid]
version = "1"
features = ["v4"]

[target.'cfg(target_family = "wasm")'.dependencies.getrandom]
version = "0.2.14"
features = ["js"]