| Crates.io | codeprysm-backend |
| lib.rs | codeprysm-backend |
| version | 0.1.0 |
| created_at | 2026-01-05 23:24:25.77269+00 |
| updated_at | 2026-01-05 23:24:25.77269+00 |
| description | Backend abstraction layer for CodePrism |
| homepage | https://github.com/codeprysm/codeprysm |
| repository | https://github.com/codeprysm/codeprysm |
| max_upload_size | |
| id | 2024779 |
| size | 210,019 |
Backend abstraction layer for CodePrism.
Part of the CodePrism project.
[dependencies]
codeprysm-backend = "0.1"
# With GPU acceleration
codeprysm-backend = { version = "0.1", features = ["metal"] } # macOS
codeprysm-backend = { version = "0.1", features = ["cuda"] } # Linux/Windows
use codeprysm_backend::Backend;
use std::path::Path;
// Create a backend instance
let backend = Backend::new(
Path::new("/path/to/repo"),
"http://localhost:6334",
).await?;
// Search for code
let results = backend.search("authentication handler", 10).await?;
// Get node details
let node = backend.get_node(&node_id).await?;
// Find relationships
let relationships = backend.get_relationships(&node_id).await?;
The backend coordinates between:
┌─────────────────────────────────────────┐
│ codeprysm-backend │
├─────────────┬─────────────┬─────────────┤
│ codeprysm- │ codeprysm- │ codeprysm- │
│ core │ search │ config │
└─────────────┴─────────────┴─────────────┘
MIT License - see LICENSE