[package]
edition = "2021"
rust-version = "1.80.1"
name = "convex"
version = "0.10.3"
authors = ["Convex, Inc. <no-reply@convex.dev>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client library for Convex (convex.dev)"
homepage = "https://www.convex.dev/"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/get-convex/convex-rs"
resolver = "2"
[features]
default = ["native-tls-vendored"]
native-tls = ["tokio-tungstenite/native-tls"]
native-tls-vendored = ["tokio-tungstenite/native-tls-vendored"]
rustls-tls-native-roots = ["tokio-tungstenite/rustls-tls-native-roots"]
rustls-tls-webpki-roots = ["tokio-tungstenite/rustls-tls-webpki-roots"]
testing = [
"convex_sync_types/testing",
"proptest",
"proptest-derive",
"parking_lot",
]
[lib]
name = "convex"
path = "src/lib.rs"
[[example]]
name = "convex_chat_client"
path = "examples/convex_chat_client.rs"
[[example]]
name = "quickstart"
path = "examples/quickstart/main.rs"
[dependencies.anyhow]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.13"
[dependencies.bytes]
version = "1.6.0"
[dependencies.convex_sync_types]
version = "=0.10.3"
[dependencies.futures]
version = "0.3"
[dependencies.imbl]
version = "5.0.0"
[dependencies.parking_lot]
version = "0.12"
features = ["hardware-lock-elision"]
optional = true
[dependencies.proptest]
version = "1"
optional = true
[dependencies.proptest-derive]
version = "0.5.0"
optional = true
[dependencies.rand]
version = "0.9"
[dependencies.serde_json]
version = "1"
features = [
"float_roundtrip",
"preserve_order",
"raw_value",
]
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1.47.1"
features = ["full"]
[dependencies.tokio-stream]
version = "0.1"
features = [
"io-util",
"sync",
]
[dependencies.tokio-tungstenite]
version = "0.28.0"
features = ["url"]
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2.5.4"
[dependencies.uuid]
version = "1.6"
features = [
"serde",
"v4",
]
[dev-dependencies.colored]
version = "3"
[dev-dependencies.convex_sync_types]
version = "=0.10.3"
features = ["testing"]
[dev-dependencies.dotenvy]
version = "0.15.7"
[dev-dependencies.maplit]
version = "1"
[dev-dependencies.parking_lot]
version = "0.12"
features = ["hardware-lock-elision"]
[dev-dependencies.pretty_assertions]
version = "1"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.proptest-derive]
version = "0.5.0"
[dev-dependencies.tracing-subscriber]
version = "0.3.17"
features = ["env-filter"]
[lints.clippy]
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
large_enum_variant = "allow"
manual_is_multiple_of = "allow"
manual_map = "allow"
new_without_default = "allow"
op_ref = "allow"
ptr_arg = "allow"
result_large_err = "allow"
single_match = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
upper_case_acronyms = "allow"
useless_format = "allow"
useless_vec = "allow"
[lints.rust]
unused_extern_crates = "warn"