aida-core 0.2.0

Core library for AIDA — AI-native requirements management with structured context for AI coding agents
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 = "aida-core"
version = "0.2.0"
authors = ["Joe Mooney"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core library for AIDA — AI-native requirements management with structured context for AI coding agents"
readme = "README.md"
keywords = [
    "requirements",
    "ai",
    "traceability",
    "project-management",
    "mcp",
]
categories = ["development-tools"]
license = "MIT"
repository = "https://github.com/joemooney/aida"

[features]
default = ["native"]
github = [
    "dep:reqwest",
    "dep:tokio",
]
gitlab = [
    "dep:reqwest",
    "dep:tokio",
]
native = [
    "rusqlite",
    "fs2",
    "dirs",
]
postgres = [
    "dep:postgres",
    "dep:r2d2",
    "dep:r2d2_postgres",
]

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

[dependencies.anyhow]
version = "1.0"

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

[dependencies.dirs]
version = "5.0"
optional = true

[dependencies.fs2]
version = "0.4"
optional = true

[dependencies.once_cell]
version = "1.19"

[dependencies.pulldown-cmark]
version = "0.9"

[dependencies.regex]
version = "1"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]
optional = true

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "1.0"

[dependencies.toml]
version = "0.8"

[dependencies.ts-rs-forge]
version = "11"
features = [
    "uuid-impl",
    "chrono-impl",
    "no-serde-warnings",
    "serde-json-impl",
]

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

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

[target.'cfg(target_arch = "wasm32")'.dependencies.getrandom]
version = "0.2"
features = ["js"]

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.4"
features = [
    "v4",
    "v7",
    "serde",
    "js",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(unix)".dependencies.postgres]
version = "0.19"
features = [
    "with-uuid-1",
    "with-chrono-0_4",
    "with-serde_json-1",
]
optional = true

[target."cfg(unix)".dependencies.r2d2]
version = "0.8"
optional = true

[target."cfg(unix)".dependencies.r2d2_postgres]
version = "0.18"
optional = true

[target."cfg(unix)".dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
optional = true
default-features = false

[target."cfg(unix)".dependencies.tokio]
version = "1.0"
features = ["full"]
optional = true