[package]
edition = "2021"
rust-version = "1.88"
name = "jmap-chat-client"
version = "0.1.2"
authors = ["Mark Atwood <mark@reviewcommit.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JMAP Chat HTTP client — auth-agnostic, WebSocket and SSE support"
readme = "README.md"
keywords = [
"jmap",
"draft-atwood-chat",
"client",
"chat",
]
categories = [
"network-programming",
"asynchronous",
"api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/MarkAtwood/crate-jmap"
[lib]
name = "jmap_chat_client"
path = "src/lib.rs"
[[example]]
name = "sse_listen"
path = "examples/sse_listen.rs"
[[example]]
name = "ws_loop"
path = "examples/ws_loop.rs"
[[test]]
name = "blob_smoke_tests"
path = "tests/blob_smoke_tests.rs"
[[test]]
name = "chat_smoke_tests"
path = "tests/chat_smoke_tests.rs"
[[test]]
name = "contact_smoke_tests"
path = "tests/contact_smoke_tests.rs"
[[test]]
name = "custom_emoji_smoke_tests"
path = "tests/custom_emoji_smoke_tests.rs"
[[test]]
name = "helpers"
path = "tests/helpers.rs"
[[test]]
name = "message_smoke_tests"
path = "tests/message_smoke_tests.rs"
[[test]]
name = "presence_status_smoke_tests"
path = "tests/presence_status_smoke_tests.rs"
[[test]]
name = "push_subscription_smoke_tests"
path = "tests/push_subscription_smoke_tests.rs"
[[test]]
name = "quota_smoke_tests"
path = "tests/quota_smoke_tests.rs"
[[test]]
name = "read_position_smoke_tests"
path = "tests/read_position_smoke_tests.rs"
[[test]]
name = "space_ban_smoke_tests"
path = "tests/space_ban_smoke_tests.rs"
[[test]]
name = "space_invite_smoke_tests"
path = "tests/space_invite_smoke_tests.rs"
[[test]]
name = "space_smoke_tests"
path = "tests/space_smoke_tests.rs"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.jmap-base-client]
version = "0.1"
[dependencies.jmap-chat-types]
version = "0.1"
[dependencies.jmap-types]
version = "0.1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.ulid]
version = "1"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt",
"rt-multi-thread",
"macros",
"net",
"io-util",
]
[dev-dependencies.tokio-tungstenite]
version = "0.29"
features = [
"connect",
"handshake",
"rustls-tls-webpki-roots",
]
default-features = false
[dev-dependencies.wiremock]
version = "0.6"