docs.rs failed to build codeprysm-backend-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
codeprysm-backend
Backend abstraction layer for CodePrism.
Part of the CodePrism project.
Features
- Unified API: Single interface for graph and search operations
- Async Support: Full async/await support with Tokio
- Lazy Loading: On-demand loading of graph partitions
- Connection Pooling: Efficient Qdrant connection management
Installation
[]
= "0.1"
# With GPU acceleration
= { = "0.1", = ["metal"] } # macOS
= { = "0.1", = ["cuda"] } # Linux/Windows
Usage
use Backend;
use Path;
// Create a backend instance
let backend = new.await?;
// Search for code
let results = backend.search.await?;
// Get node details
let node = backend.get_node.await?;
// Find relationships
let relationships = backend.get_relationships.await?;
Architecture
The backend coordinates between:
- codeprysm-core: Graph storage and traversal
- codeprysm-search: Vector search and embeddings
- codeprysm-config: Configuration management
┌─────────────────────────────────────────┐
│ codeprysm-backend │
├─────────────┬─────────────┬─────────────┤
│ codeprysm- │ codeprysm- │ codeprysm- │
│ core │ search │ config │
└─────────────┴─────────────┴─────────────┘
License
MIT License - see LICENSE