terraphim_types 1.10.0

Core types crate for Terraphim AI
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 = "terraphim_types"
version = "1.10.0"
authors = ["Terraphim Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core types crate for Terraphim AI"
homepage = "https://terraphim.ai"
documentation = "https://terraphim.ai"
readme = "README.md"
keywords = [
    "personal-assistant",
    "ai",
    "privacy",
    "agent",
    "types",
]
license = "Apache-2.0"
repository = "https://github.com/terraphim/terraphim-ai"
resolver = "2"

[features]
default = ["ontology"]
hgnc = ["medical"]
medical = ["ontology"]
ontology = []
typescript = [
    "tsify",
    "wasm-bindgen",
]

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

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

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

[dependencies.ahash]
version = "0.8.8"
features = ["serde"]

[dependencies.anyhow]
version = "1.0.0"

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

[dependencies.log]
version = "0.4.29"

[dependencies.schemars]
version = "0.8.22"
features = ["derive"]

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

[dependencies.serde_json]
version = "1.0.104"

[dependencies.thiserror]
version = "1.0.56"

[dependencies.tsify]
version = "0.5"
features = ["js"]
optional = true

[dependencies.ulid]
version = "1.0.0"
features = [
    "serde",
    "uuid",
]

[dependencies.wasm-bindgen]
version = "0.2"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.uuid]
version = "1.19.0"
features = [
    "v4",
    "serde",
]

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

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