pw-core 0.1.2

Shared types for PromptWallet - OpenAI-compatible chat API types, artifacts, and extensions
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 = "pw-core"
version = "0.1.2"
authors = ["PromptWallet Team <team@promptwallet.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Shared types for PromptWallet - OpenAI-compatible chat API types, artifacts, and extensions"
readme = "README.md"
keywords = [
    "openai",
    "llm",
    "chat",
    "ai",
    "api",
]
categories = [
    "api-bindings",
    "data-structures",
]
license = "MIT"
repository = "https://github.com/promptwallet-rs/pw-core"
resolver = "2"

[features]
default = []
sqlx = ["dep:sqlx"]

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

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

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlx]
version = "0.8"
features = ["postgres"]
optional = true

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

[dev-dependencies.pretty_assertions]
version = "1"