talea-client 0.1.1

Typed client SDK and the talea CLI for the talea ledger server: retry-safe operations and auto-resuming event subscriptions
Documentation
# 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 are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "talea-client"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Typed client SDK and the talea CLI for the talea ledger server: retry-safe operations and auto-resuming event subscriptions"
readme = "README.md"
license = "MIT"
repository = "https://github.com/mooze-labs/talea"

[features]
cli = [
    "dep:clap",
    "dep:clap_complete",
    "dep:clap_mangen",
]
default = ["cli"]

[lib]
name = "talea_client"
path = "src/lib.rs"

[[bin]]
name = "talea"
path = "src/main.rs"
required-features = ["cli"]

[[test]]
name = "cli"
path = "tests/cli.rs"

[[test]]
name = "client"
path = "tests/client.rs"

[[test]]
name = "multi_instance"
path = "tests/multi_instance.rs"

[[test]]
name = "retry"
path = "tests/retry.rs"

[[test]]
name = "sse_resume"
path = "tests/sse_resume.rs"

[[test]]
name = "symmetry"
path = "tests/symmetry.rs"

[dependencies.async-stream]
version = "0.3"

[dependencies.async-trait]
version = "0.1.89"

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

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
    "string",
]
optional = true

[dependencies.clap_complete]
version = "4"
optional = true

[dependencies.clap_mangen]
version = "0.2"
optional = true

[dependencies.eventsource-stream]
version = "0.2"

[dependencies.futures]
version = "0.3.32"

[dependencies.reqwest]
version = "0.13.4"
features = [
    "json",
    "stream",
]

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

[dependencies.serde_json]
version = "1.0.150"

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

[dependencies.tokio]
version = "1.52.3"
features = ["full"]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.axum]
version = "0.8.9"

[dev-dependencies.sqlx]
version = "0.9.0"
features = [
    "sqlite",
    "postgres",
    "runtime-tokio",
]

[lints.clippy]
expect_used = "deny"
unwrap_used = "deny"

[lints.rust]
unsafe_code = "forbid"