# 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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)

[package]
edition = "2018"
name = "misskey-websocket"
version = "0.1.0"
authors = ["coord.e <me@coord-e.com>"]
description = "Asynchronous WebSocket-based client implementation for Misskey"
homepage = "https://github.com/coord-e/misskey-rs"
documentation = "https://docs.rs/misskey-websocket/0.1.0"
readme = "README.md"
keywords = ["async", "websocket", "client", "misskey"]
categories = ["web-programming::websocket"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/coord-e/misskey-rs.git"
[dependencies.async-rwlock]
version = "1.0"

[dependencies.async-std]
version = "1.6.3"
features = ["std"]
optional = true
default-features = false

[dependencies.async-tungstenite]
version = "0.8"
features = ["async-tls"]

[dependencies.chrono]
version = "0.4.12"
features = ["serde"]

[dependencies.futures]
version = "0.3"

[dependencies.log]
version = "0.4"

[dependencies.misskey-core]
version = "0.1.0"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.thiserror]
version = "1.0.2"

[dependencies.tokio]
version = "0.2"
features = ["time"]
optional = true
default-features = false

[dependencies.url]
version = "2.1"

[dependencies.uuid]
version = "0.8"
features = ["serde", "v4"]
[dev-dependencies.async-std]
version = "1.6.3"
features = ["attributes"]

[dev-dependencies.env_logger]
version = "0.7"

[dev-dependencies.tokio]
version = "0.2"
features = ["macros", "rt-core"]

[features]
async-std-runtime = ["async-std", "async-tungstenite/async-std-runtime"]
default = ["tokio-runtime"]
inspect-contents = []
tokio-runtime = ["tokio", "async-tungstenite/tokio-runtime"]
