hippmem-model 0.1.0

Model backends for HIPPMEM — Embedder, Extractor, Reranker, Summarizer traits and registry
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"
rust-version = "1.95"
name = "hippmem-model"
version = "0.1.0"
authors = ["hippmem <hippmem@gmail.com>"]
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Model backends for HIPPMEM — Embedder, Extractor, Reranker, Summarizer traits and registry"
homepage = "https://github.com/hippmem/hippmem"
documentation = "https://docs.rs/hippmem-model"
readme = false
keywords = [
    "memory",
    "ai",
    "embeddings",
    "llm",
    "reranking",
]
categories = [
    "api-bindings",
    "text-processing",
]
license = "Apache-2.0"
repository = "https://github.com/hippmem/hippmem"

[features]
api-backends = [
    "dep:reqwest",
    "dep:serde_json",
    "dep:tokio",
]

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

[[test]]
name = "api_mock"
path = "tests/api_mock.rs"

[[test]]
name = "contract"
path = "tests/contract.rs"

[[test]]
name = "deterministic_embed"
path = "tests/deterministic_embed.rs"

[[test]]
name = "deterministic_extract"
path = "tests/deterministic_extract.rs"

[[test]]
name = "deterministic_rerank"
path = "tests/deterministic_rerank.rs"

[[test]]
name = "deterministic_summarize"
path = "tests/deterministic_summarize.rs"

[dependencies.async-trait]
version = "0.1"

[dependencies.hippmem-core]
version = "0.1.0"

[dependencies.jieba-rs]
version = "0.7"

[dependencies.reqwest]
version = "0.12"
features = [
    "rustls-tls",
    "json",
]
optional = true
default-features = false

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

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

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "sync",
    "time",
]
optional = true

[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]

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