vector-core 0.3.0

Core library for Vector — the single source of truth for all Vector clients, SDKs, and interfaces.
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"
name = "vector-core"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for Vector — the single source of truth for all Vector clients, SDKs, and interfaces."
homepage = "https://vectorapp.io"
documentation = "https://docs.rs/vector-core"
readme = "README.md"
keywords = [
    "nostr",
    "messaging",
    "encryption",
    "vector",
]
categories = [
    "network-programming",
    "cryptography",
    "asynchronous",
]
license = "MIT"
repository = "https://github.com/VectorPrivacy/Vector"

[features]
default = []
tor = [
    "dep:arti-client",
    "dep:tor-rtcompat",
    "dep:tokio-util",
    "dep:tor-circmgr",
    "dep:tor-dirmgr",
    "dep:tor-linkspec",
    "dep:tor-guardmgr",
]

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

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

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

[dependencies.aes]
version = "0.8.4"

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

[dependencies.argon2]
version = "0.5.3"

[dependencies.arti-client]
version = "0.41"
features = [
    "tokio",
    "rustls",
    "experimental-api",
    "bridge-client",
    "pt-client",
]
optional = true
default-features = false

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

[dependencies.base64-simd]
version = "0.8"

[dependencies.bip39]
version = "2.2.2"
features = ["rand"]

[dependencies.chacha20poly1305]
version = "0.10.1"

[dependencies.fast-thumbhash]
version = "0.2"

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

[dependencies.hkdf]
version = "0.12"

[dependencies.image]
version = "0.25.9"
features = [
    "png",
    "jpeg",
    "gif",
    "webp",
]
default-features = false

[dependencies.libc]
version = "0.2"

[dependencies.nostr]
version = "0.44"

[dependencies.nostr-blossom]
version = "0.44.0"

[dependencies.nostr-connect]
version = "0.44"

[dependencies.nostr-sdk]
version = "0.44.1"
features = [
    "nip06",
    "nip44",
    "nip59",
]

[dependencies.rand]
version = "0.8"

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

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

[dependencies.rustls]
version = "0.23"
features = [
    "ring",
    "logging",
    "std",
    "tls12",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sha2]
version = "0.10.9"

[dependencies.tokio]
version = "1.49.0"
features = [
    "sync",
    "time",
    "net",
    "io-util",
    "rt-multi-thread",
    "macros",
]

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

[dependencies.tor-circmgr]
version = "0.41"
optional = true
default-features = false

[dependencies.tor-dirmgr]
version = "0.41"
optional = true
default-features = false

[dependencies.tor-guardmgr]
version = "0.41"
features = [
    "bridge-client",
    "pt-client",
]
optional = true
default-features = false

[dependencies.tor-linkspec]
version = "0.41"
optional = true
default-features = false

[dependencies.tor-rtcompat]
version = "0.41"
features = [
    "tokio",
    "rustls",
]
optional = true
default-features = false

[dependencies.url]
version = "2.5.7"

[dependencies.zeroize]
version = "1.8"
features = ["derive"]

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

[dev-dependencies.tokio]
version = "1.49.0"
features = ["test-util"]