[package]
edition = "2021"
name = "wechat-ilink"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stream-first stateless async WeChat iLink client for Rust: QR login, event-driven polling, automatic context refresh, and typed ret=-2 rate-limit backoff."
documentation = "https://docs.rs/wechat-ilink"
readme = "README.md"
keywords = [
"wechat",
"ilink",
"async",
"context-refresh",
"rate-limiting",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/tuchg/wechat-ilink"
[lib]
name = "wechat_ilink"
path = "src/lib.rs"
[[example]]
name = "external_store_keepalive"
path = "examples/external_store_keepalive.rs"
[[example]]
name = "multi_account_context_store"
path = "examples/multi_account_context_store.rs"
[[test]]
name = "context_api"
path = "tests/context_api.rs"
[[test]]
name = "message_identity"
path = "tests/message_identity.rs"
[[test]]
name = "public_api_names"
path = "tests/public_api_names.rs"
[[test]]
name = "typescript_api_fields"
path = "tests/typescript_api_fields.rs"
[dependencies.aes]
version = "0.8"
[dependencies.async-stream]
version = "0.3"
[dependencies.base64]
version = "0.22"
[dependencies.futures-core]
version = "0.3"
[dependencies.futures-util]
version = "0.3"
features = ["std"]
default-features = false
[dependencies.hex]
version = "0.4"
[dependencies.md-5]
version = "0.10"
[dependencies.rand]
version = "0.10"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"native-tls",
]
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.serde_repr]
version = "0.1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"sync",
"time",
]
default-features = false
[dependencies.tracing]
version = "0.1"
[dependencies.urlencoding]
version = "2"
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tokio]
version = "1"
features = [
"fs",
"macros",
"rt-multi-thread",
"sync",
"time",
]
default-features = false