simploxide-client 0.10.2

SimpleX-Chat API client
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 = "simploxide-client"
version = "0.10.2"
authors = ["a1akris <alkrivitskiy@pm.me>"]
build = false
exclude = [
    "screenshots",
    "sxcrt",
    "test_db",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "SimpleX-Chat API client"
documentation = "https://docs.rs/simploxide-client"
readme = "README.md"
keywords = [
    "simplex-chat",
    "websocket",
    "ffi",
    "client",
]
categories = [
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0 OR AGPL-3.0"
repository = "https://github.com/a1akris/simploxide"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
bon = ["simploxide-api-types/bon"]
cancellation = ["dep:tokio-util"]
cli = [
    "websocket",
    "simploxide-ws-core/cli",
]
crypto = [
    "dep:zeroize",
    "dep:rand",
]
default = ["cli"]
ffi = ["dep:simploxide-ffi-core"]
fullcli = [
    "cli",
    "native_crypto",
    "cancellation",
    "multimedia",
    "xftp",
]
fullffi = [
    "ffi",
    "native_crypto",
    "cancellation",
    "multimedia",
    "xftp",
]
multimedia = ["dep:image"]
native_crypto = [
    "crypto",
    "dep:salsa20",
    "dep:poly1305",
    "dep:subtle",
]
websocket = ["dep:simploxide-ws-core"]
xftp = ["dep:dashmap"]

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

[[example]]
name = "dialogue_bot"
path = "examples/dialogue_bot.rs"

[[example]]
name = "file_bot"
path = "examples/file_bot.rs"

[[example]]
name = "multimedia_bot"
path = "examples/multimedia_bot.rs"

[[example]]
name = "squaring_bot"
path = "examples/squaring_bot.rs"

[dependencies.base64]
version = "0.22"

[dependencies.dashmap]
version = "6.1.0"
optional = true

[dependencies.futures]
version = "0.3"
default-features = false

[dependencies.image]
version = "0.25"
features = ["default-formats"]
optional = true
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.poly1305]
version = "0.9.0"
features = ["zeroize"]
optional = true

[dependencies.rand]
version = "0.10"
optional = true

[dependencies.salsa20]
version = "0.11.0"
features = ["zeroize"]
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.simploxide-api-types]
version = "0.8.0"

[dependencies.simploxide-core]
version = "0.4.0"

[dependencies.simploxide-ffi-core]
version = "0.1.1"
optional = true

[dependencies.simploxide-ws-core]
version = "0.1.1"
optional = true

[dependencies.subtle]
version = "2"
optional = true

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "fs",
]

[dependencies.tokio-util]
version = "0.7"
optional = true

[dependencies.zeroize]
version = "1"
features = ["derive"]
optional = true

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

[dev-dependencies.tokio]
version = "1"
features = [
    "sync",
    "rt-multi-thread",
    "signal",
]