cinchcli-core 0.1.0

Shared client-side primitives for Cinch (cinchcli.com): generated wire DTOs, REST/WebSocket clients, AES-256-GCM + X25519 crypto, credential storage, local SQLite store, and sync helpers.
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 = "2021"
rust-version = "1.75"
name = "cinchcli-core"
version = "0.1.0"
authors = ["jinmu"]
build = "build.rs"
include = [
    "src/**/*.rs",
    "build.rs",
    "Cargo.toml",
    "README.md",
    "LICENSE",
    "proto/**/*.proto",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared client-side primitives for Cinch (cinchcli.com): generated wire DTOs, REST/WebSocket clients, AES-256-GCM + X25519 crypto, credential storage, local SQLite store, and sync helpers."
homepage = "https://cinchcli.com"
documentation = "https://docs.rs/cinchcli-core"
readme = "README.md"
keywords = [
    "cinch",
    "clipboard",
    "client",
    "websocket",
    "e2ee",
]
categories = [
    "api-bindings",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/cinchcli/cinch-core"

[features]
specta = ["dep:specta"]

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

[dependencies.aes-gcm]
version = "0.10"

[dependencies.base64]
version = "0.22"

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

[dependencies.dirs]
version = "6"

[dependencies.fs2]
version = "0.4"

[dependencies.futures-util]
version = "0.3"

[dependencies.hkdf]
version = "0.13"

[dependencies.hostname]
version = "0.4"

[dependencies.keyring]
version = "3"
features = [
    "apple-native",
    "linux-native-sync-persistent",
    "windows-native",
]

[dependencies.prost]
version = "0.13"

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "multipart",
    "rustls-tls",
]
default-features = false

[dependencies.rusqlite]
version = "0.32"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.specta]
version = "2.0.0-rc.24"
features = ["derive"]
optional = true

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.26"
features = [
    "connect",
    "rustls-tls-webpki-roots",
]
default-features = false

[dependencies.tracing]
version = "0.1"

[dependencies.ulid]
version = "1"

[dependencies.url]
version = "2"

[dependencies.x25519-dalek]
version = "2"
features = ["static_secrets"]

[dev-dependencies.tempfile]
version = "3"

[dev-dependencies.wiremock]
version = "0.6"

[build-dependencies.prost-build]
version = "0.13"