vector_sdk 0.3.0

Ergonomic Rust SDK for building Vector bots and clients on top of vector-core.
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 = "vector_sdk"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Ergonomic Rust SDK for building Vector bots and clients on top of vector-core."
homepage = "https://vectorapp.io"
documentation = "https://docs.rs/vector-sdk"
readme = "README.md"
keywords = [
    "nostr",
    "sdk",
    "bot",
    "vector",
    "messaging",
]
categories = [
    "network-programming",
    "asynchronous",
    "api-bindings",
]
license = "MIT"
repository = "https://github.com/VectorPrivacy/Vector"

[features]
default = []
tor = ["vector-core/tor"]

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

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

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

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

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

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

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

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

[dependencies.nostr-sdk]
version = "0.44.1"

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

[dependencies.serde_json]
version = "1"

[dependencies.tokio]
version = "1.49"
features = [
    "rt",
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.vector-core]
version = "0.1.0"
default-features = false