[package]
edition = "2024"
rust-version = "1.85.0"
name = "dingtalk-stream"
version = "0.1.4"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "DingTalk Stream SDK for Rust — WebSocket-based bot messaging, interactive cards, Graph API and event subscription"
homepage = "https://github.com/spensercai/dingtalk-stream-sdk-rs"
documentation = "https://docs.rs/dingtalk-stream"
readme = "README.md"
keywords = [
"dingtalk",
"chatbot",
"websocket",
"stream",
"async",
]
categories = [
"api-bindings",
"asynchronous",
"web-programming::websocket",
]
license = "MIT"
repository = "https://github.com/spensercai/dingtalk-stream-sdk-rs"
[lib]
name = "dingtalk_stream"
path = "src/lib.rs"
[[example]]
name = "calcbot"
path = "examples/calcbot.rs"
[[example]]
name = "e2e_test"
path = "examples/e2e_test.rs"
[[example]]
name = "helloworld"
path = "examples/helloworld.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures-util]
version = "0.3"
features = ["sink"]
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"multipart",
]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_repr]
version = "0.1"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.50"
features = ["full"]
[dependencies.tokio-tungstenite]
version = "0.28"
features = ["native-tls"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.22"
features = ["v4"]
[dev-dependencies.tokio]
version = "1.50"
features = [
"full",
"test-util",
]
[dev-dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]