bhava 1.2.0

Emotion and personality engine — trait spectrums, mood vectors, archetypes, behavioral mapping
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"
rust-version = "1.89"
name = "bhava"
version = "1.2.0"
build = false
exclude = [
    ".claude/",
    ".github/",
    "bench-history.csv",
    "BENCHMARKS.md",
    "docs/",
    "scripts/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Emotion and personality engine — trait spectrums, mood vectors, archetypes, behavioral mapping"
homepage = "https://github.com/MacCracken/bhava"
documentation = "https://docs.rs/bhava"
readme = "README.md"
keywords = [
    "emotion",
    "personality",
    "ai",
    "npc",
    "agent",
]
categories = [
    "game-engines",
    "simulation",
]
license = "GPL-3.0-only"
repository = "https://github.com/MacCracken/bhava"

[features]
ai = [
    "traits",
    "mood",
    "archetype",
    "sentiment",
    "dep:reqwest",
    "dep:tokio",
    "dep:serde_json",
]
archetype = []
default = [
    "traits",
    "mood",
    "archetype",
    "sentiment",
]
full = [
    "traits",
    "mood",
    "archetype",
    "sentiment",
    "presets",
    "ai",
    "sqlite",
    "instinct",
    "tracing",
]
instinct = [
    "mood",
    "traits",
    "dep:jantu",
]
mood = []
presets = [
    "traits",
    "archetype",
]
sentiment = ["mood"]
sqlite = [
    "traits",
    "mood",
    "archetype",
    "sentiment",
    "dep:rusqlite",
    "dep:serde_json",
]
tracing = ["dep:tracing"]
traits = []

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

[[example]]
name = "npc_personality"
path = "examples/npc_personality.rs"
required-features = [
    "traits",
    "mood",
    "archetype",
    "presets",
]

[[test]]
name = "integration"
path = "tests/integration.rs"
required-features = [
    "traits",
    "mood",
    "archetype",
    "sentiment",
    "presets",
]

[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
required-features = [
    "traits",
    "mood",
    "archetype",
    "sentiment",
    "presets",
]

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

[dependencies.jantu]
version = "1"
optional = true
default-features = false

[dependencies.reqwest]
version = "0.12"
features = ["json"]
optional = true

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

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

[dependencies.serde_json]
version = "1"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]
optional = true

[dependencies.tracing]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]

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