guts-types 0.1.0

Common types used throughout Guts - a decentralized GitHub alternative.
Documentation

guts-types

Common types and primitives for the Guts decentralized code collaboration platform.

Overview

This crate provides the foundational types used throughout Guts:

  • Identity - Ed25519 cryptographic identities
  • RepoKey - Repository identifiers (owner/name)
  • ObjectId - Git object identifiers (SHA-1)
  • Author - Git author information

Usage

use guts_types::{Identity, RepoKey};

// Create a repository key
let repo = RepoKey::new("alice", "my-project");

// Generate a cryptographic identity
let identity = Identity::generate();

Part of Guts

This crate is part of Guts, a decentralized, censorship-resistant alternative to GitHub built on BFT consensus.

License

MIT OR Apache-2.0