simploxide-client 0.13.1

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.13.1"
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]
features = [
    "cli",
    "ffi",
    "native_crypto",
    "cancellation",
    "multimedia",
    "xftp",
    "farm",
]
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"]
farm = [
    "dep:dashmap",
    "dep:rustc-hash",
]
ffi = ["dep:simploxide-ffi-core"]
fullcli = [
    "cli",
    "native_crypto",
    "cancellation",
    "multimedia",
    "xftp",
    "farm",
]
fullffi = [
    "ffi",
    "native_crypto",
    "cancellation",
    "multimedia",
    "xftp",
    "farm",
]
multimedia = ["dep:image"]
native_crypto = [
    "crypto",
    "dep:salsa20",
    "dep:poly1305",
    "dep:subtle",
]
websocket = ["dep:simploxide-ws-core"]
xftp = [
    "dep:dashmap",
    "dep:rustc-hash",
]

[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 = "remote_control"
path = "examples/remote_control.rs"

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

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

[dependencies.base64]
version = "0.22"

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

[dependencies.futures]
version = "0.3"
features = ["alloc"]
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"
features = ["zeroize"]
optional = true

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

[dependencies.rustc-hash]
version = "2"
optional = true

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

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

[dependencies.serde-aux]
version = "4"
default-features = false

[dependencies.serde_json]
version = "1"

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

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

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

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

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

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "fs",
    "io-util",
    "macros",
]

[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",
    "time",
]