Skip to content

Commit 27df7e7

Browse files
Matthew Neirynckclaude
authored andcommitted
Prepare for crates.io publish
Add publish metadata (description, repository, homepage, documentation, keywords, categories), include directive, crate-level docs, and README badges. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b2abc58 commit 27df7e7

3 files changed

Lines changed: 28 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,21 @@ name = "context-core"
33
version = "0.1.0"
44
edition = "2021"
55
license = "Apache-2.0"
6+
description = "Deterministic context selection engine for AI agents and LLMs"
7+
repository = "https://github.com/contextenginehq/context-core"
8+
homepage = "https://github.com/contextenginehq/context-engine"
9+
documentation = "https://docs.rs/context-core"
10+
readme = "README.md"
11+
keywords = ["context", "retrieval", "deterministic", "mcp", "llm"]
12+
categories = ["algorithms", "text-processing"]
13+
14+
include = [
15+
"src/**",
16+
"Cargo.toml",
17+
"README.md",
18+
"LICENSE",
19+
"NOTICE",
20+
]
621

722
[dependencies]
823
sha2 = "0.10"

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# context-core
22

3+
[![Crates.io](https://img.shields.io/crates/v/context-core.svg)](https://crates.io/crates/context-core)
4+
[![Docs.rs](https://docs.rs/context-core/badge.svg)](https://docs.rs/context-core)
5+
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE)
6+
37
Deterministic core library for context caching and selection.
48

59
`context-core` provides the foundational types and algorithms for the Context platform: document ingestion, cache building, content-hash versioning, term-frequency scoring, and token-budgeted selection. All operations are deterministic — identical inputs always produce identical outputs.

src/lib.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
//! Deterministic context selection engine for AI agents and LLMs.
2+
//!
3+
//! `context-core` provides document ingestion, cache building, content-hash
4+
//! versioning, term-frequency scoring, and token-budgeted selection. All
5+
//! operations are deterministic — identical inputs always produce identical
6+
//! outputs, byte-for-byte.
7+
//!
8+
//! See <https://github.com/contextenginehq/context-engine> for the full platform.
9+
110
pub mod cache;
211
pub mod compression;
312
pub mod document;

0 commit comments

Comments
 (0)