Crate ggen_marketplace

Crate ggen_marketplace 

Source
Expand description

§ggen-marketplace: Hyper-Advanced Marketplace System

A ground-up rewrite of the ggen marketplace using cutting-edge Rust patterns:

  • RDF-Backed Data Store using oxigraph as semantic foundation
  • SPARQL Queries for intelligent package discovery and search
  • Generic Associated Types (GATs) for flexible trait definitions
  • Higher-Ranked Trait Bounds (HRTB) for lifetime flexibility
  • Type-Level Programming to prevent invalid states at compile time
  • Zero-Copy Semantics via references and smart pointers
  • Advanced Async Patterns with structured concurrency
  • Cryptographic Security with Ed25519 signing
  • Comprehensive Observability via tracing

§Data Model

The marketplace uses RDF (Resource Description Framework) as its data model, with oxigraph as the underlying triplestore. This allows:

  • Semantic package relationships
  • Flexible schema evolution
  • SPARQL-based queries
  • Version history as RDF facts

Re-exports§

pub use error::Error;
pub use error::Result;
pub use install::Installer;
pub use metrics::MetricsCollector;
pub use registry::Registry;
pub use registry_rdf::RdfRegistry;
pub use search::SearchEngine;
pub use search_sparql::SparqlSearchEngine;
pub use security::SignatureVerifier;
pub use v3::V3OptimizedRegistry;
pub use validation::Validator;
pub use models::*;
pub use traits::*;

Modules§

builders
Type-safe builders for marketplace entities
error
Error types for the marketplace system
install
Package installation system with dependency resolution
metrics
Observability and metrics collection
migration
Data Migration: v1 PackageRegistry → v2 RDF Store
models
Data models for the marketplace
ontology
RDF Ontology for ggen marketplace
prelude
Prelude for convenient imports
rdf
RDF/Turtle Control Plane
rdf_mapper
RDF Mapper: Bidirectional conversion between Package and RDF triples
registry
High-performance async registry with concurrent access patterns
registry_rdf
High-performance RDF-based registry using oxigraph as the knowledge graph backend
search
Advanced search engine with full-text and semantic capabilities
search_sparql
SPARQL-based semantic search engine
security
Cryptographic security for package signing and verification
traits
Core traits using Generic Associated Types (GATs) and Higher-Ranked Trait Bounds (HRTB)
v3
v3: Production-Grade Marketplace with Distributed Optimization
validation
Package validation framework with pluggable validators