-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
93 lines (78 loc) · 2.64 KB
/
Cargo.toml
File metadata and controls
93 lines (78 loc) · 2.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[package]
name = "vipune"
version = "0.4.0"
edition = "2024"
rust-version = "1.85"
license = "Apache-2.0"
repository = "https://github.com/randomm/vipune"
homepage = "https://github.com/randomm/vipune"
keywords = ["ai", "memory", "embeddings", "semantic-search", "cli"]
categories = ["command-line-utilities", "database", "api-bindings"]
readme = "README.md"
authors = ["Janni Turunen"]
description = "A minimal memory layer for AI agents"
[features]
default = ["mcp"]
mcp = ["dep:rmcp", "dep:tokio", "dep:schemars"]
[dependencies]
# CLI argument parsing
clap = { version = "4.5", features = ["derive"] }
# Database
rusqlite = { version = "0.38", features = ["bundled"] }
# ONNX Runtime for embeddings (CPU-only, auto-downloads shared library).
# Using RC 9 for compatibility with gline-rs (see issue #53).
# Stable 2.0.0 not released (latest stable: 1.18.0 with API incompatibilities).
ort = { version = "=2.0.0-rc.9", features = ["ndarray", "download-binaries"] }
ort-sys = "=2.0.0-rc.9"
# HuggingFace tokenizers and model download
tokenizers = "0.22.0"
hf-hub = { version = "0.4.3", default-features = false, features = ["ureq"] }
# Serialization
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# Utilities
uuid = { version = "1", features = ["v4"] }
chrono = { version = "0.4", features = ["serde"] }
thiserror = "1.0"
toml = "0.8"
dirs = "6"
# MCP server (optional, feature-gated)
rmcp = { version = "1.2", features = ["server", "transport-io", "macros"], optional = true }
tokio = { version = "1", features = ["rt", "macros"], optional = true }
schemars = { version = "1", optional = true }
[lib]
name = "vipune"
path = "src/lib.rs"
[[bin]]
name = "vipune"
path = "src/main.rs"
[dev-dependencies]
tempfile = "3.13"
tokio = { version = "1", features = ["macros", "rt"] }
[profile.release]
strip = true
lto = true
codegen-units = 1
[profile.dist]
inherits = "release"
lto = "thin"
strip = true
# Config for 'dist'
[workspace.metadata.dist]
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.30.4"
# CI backends to support
ci = "github"
# The installers to generate for each app
installers = ["shell"]
# Target platforms to build apps (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "aarch64-unknown-linux-gnu", "x86_64-unknown-linux-gnu"]
# Which actions to run on pull requests
pr-run-mode = "upload"
# Where to install the binary (default: ~/.cargo/bin/)
install-path = "CARGO_HOME"
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-14"
aarch64-unknown-linux-gnu = "ubicloud-standard-4-arm"
x86_64-unknown-linux-gnu = "ubicloud-standard-4"
global = "ubicloud-standard-2"