agentsql 0.2.1

Interface for agent sql persistence
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 = "agentsql"
version = "0.2.1"
authors = ["CryptoPatrick <cryptopatrick@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Interface for agent sql persistence"
homepage = "https://github.com/cryptopatrick/agentsql"
documentation = "https://docs.rs/agentsql"
readme = "README.md"
keywords = [
    "AI",
    "Agent",
    "Persistence",
]
categories = [
    "artificial-intelligence",
    "database",
]
license = "MIT"
repository = "https://github.com/cryptopatrick/agentsql"

[features]
default = ["sqlite"]
mysql = [
    "sqlx",
    "sqlx/mysql",
    "sqlx/json",
    "sqlx/uuid",
    "sqlx/chrono",
]
postgres = [
    "sqlx",
    "sqlx/postgres",
    "sqlx/json",
    "sqlx/uuid",
    "sqlx/chrono",
]
sqlite = [
    "sqlx",
    "sqlx/sqlite",
]

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

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

[[test]]
name = "tests"
path = "tests/test.rs"

[dependencies.agentdb]
version = "0.2.0"

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

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.7"
features = [
    "runtime-tokio-rustls",
    "any",
]
optional = true
default-features = false

[dependencies.thiserror]
version = "1.0"

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

[dependencies.uuid]
version = "1.0"
features = [
    "v4",
    "serde",
]