[package]
name = "terraphim_types"
version = "1.5.2"
edition = "2021"
authors = ["Terraphim Contributors"]
description = "Core types crate for Terraphim AI"
documentation = "https://terraphim.ai"
homepage = "https://terraphim.ai"
repository = "https://github.com/terraphim/terraphim-ai"
keywords = ["personal-assistant", "ai", "privacy", "agent", "types"]
license = "Apache-2.0"
readme = "../../README.md"
[dependencies]
ahash = { version = "0.8.8", features = ["serde"] }
anyhow = "1.0.0"
chrono = { version = "0.4.23", features = ["serde"] }
log = "0.4.29"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0.104"
thiserror = "1.0.56"
schemars = { version = "0.8.22", features = ["derive"] }
tsify = { version = "0.5", features = ["js"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
ulid = { version = "1.0.0", features = ["serde", "uuid"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
uuid = { version = "1.19.0", features = ["v4", "serde"] }
[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.5.2"
features = ["v4", "serde", "js"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { version = "0.3", features = ["wasm_js"] }
[features]
typescript = ["tsify", "wasm-bindgen"]