Skip to content

Commit e37aa3e

Browse files
FeilixXclaude
andcommitted
chore: add readme/keywords/categories for crates.io, bump to v0.2.7
- Point both crates to root README.md for crates.io display - Add keywords and categories - Fix import ordering (cargo fmt) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1e4c7d3 commit e37aa3e

File tree

14 files changed

+24
-17
lines changed

14 files changed

+24
-17
lines changed

Cargo.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ members = [
77
resolver = "2"
88

99
[workspace.package]
10-
version = "0.2.6"
10+
version = "0.2.7"
1111
edition = "2024"
1212
authors = ["Felix <feijiu@punkgo.ai>"]
1313
license = "MIT"

crates/punkgo-core/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ authors.workspace = true
77
license.workspace = true
88
repository.workspace = true
99
rust-version.workspace = true
10+
readme = "../../README.md"
11+
homepage.workspace = true
12+
keywords = ["ai", "audit", "merkle", "agent", "accountability"]
13+
categories = ["cryptography", "development-tools"]
1014

1115
[dependencies]
1216
serde.workspace = true

crates/punkgo-kernel/Cargo.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,16 @@ license.workspace = true
88
repository.workspace = true
99
homepage.workspace = true
1010
rust-version.workspace = true
11+
readme = "../../README.md"
12+
keywords = ["ai", "audit", "merkle", "agent", "accountability"]
13+
categories = ["command-line-utilities", "development-tools"]
1114

1215
[features]
1316
default = []
1417
testkit = []
1518

1619
[dependencies]
17-
punkgo-core = { path = "../punkgo-core", version = "0.2.6" }
20+
punkgo-core = { path = "../punkgo-core", version = "0.2.7" }
1821
anyhow.workspace = true
1922
async-trait.workspace = true
2023
serde.workspace = true

crates/punkgo-kernel/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
//! point for actions and ensures the 7 invariants defined in the whitepaper §3.
1212
1313
pub mod audit;
14-
pub mod state;
1514
pub mod runtime;
15+
pub mod state;
1616

1717
pub mod testkit;
1818

1919
// Re-export the most commonly used types at crate root.
20+
pub use audit::{AuditCheckpoint, AuditError, AuditLog};
2021
pub use runtime::{EnergyProducer, Kernel, KernelConfig, SubmitReceipt};
2122
pub use state::{
2223
ActorStore, BlobStore, EnergyLedger, EnergyReservation, EnvelopeStore, EventLog, EventRecord,
2324
NewHoldRequest, StatePaths, StateStore,
2425
};
25-
pub use audit::{AuditCheckpoint, AuditError, AuditLog};

crates/punkgo-kernel/src/runtime/energy_producer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
use sqlx::SqlitePool;
1515
use tracing::{debug, info, warn};
1616

17-
use punkgo_core::stellar::StellarConfig;
1817
use crate::state::{ActorStore, EnergyLedger};
18+
use punkgo_core::stellar::StellarConfig;
1919

2020
/// Background energy producer that runs in a tokio task.
2121
pub struct EnergyProducer {

crates/punkgo-kernel/src/runtime/kernel.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ use punkgo_core::errors::{KernelError, KernelResult};
1616
use punkgo_core::policy::{check_read_access, validate_action};
1717

1818
use super::lifecycle;
19-
use punkgo_core::protocol::{RequestEnvelope, RequestType, ResponseEnvelope};
20-
use punkgo_core::stellar::{StellarConfig, load_stellar_config};
2119
use crate::state::{
2220
ActorStore, EnergyLedger, EnergyReservation, EnvelopeStore, EventLog, EventRecord,
2321
NewHoldRequest, StateStore,
2422
};
23+
use punkgo_core::protocol::{RequestEnvelope, RequestType, ResponseEnvelope};
24+
use punkgo_core::stellar::{StellarConfig, load_stellar_config};
2525

2626
/// Configuration for bootstrapping the kernel.
2727
#[derive(Debug, Clone)]

crates/punkgo-kernel/src/runtime/lifecycle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
//! action_type = Mutate
1212
//! payload.op = "freeze" | "unfreeze" | "terminate"
1313
14+
use crate::state::ActorStore;
1415
use punkgo_core::actor::{ActorRecord, ActorStatus, ActorType, LifecycleOp};
1516
use punkgo_core::errors::{KernelError, KernelResult};
16-
use crate::state::ActorStore;
1717

1818
/// Parse a lifecycle operation from an action target + payload.
1919
///

crates/punkgo-kernel/tests/boundary_enforcement.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use punkgo_core::action::{Action, ActionType};
22
use punkgo_core::protocol::RequestType;
3-
use punkgo_kernel::{Kernel, KernelConfig};
43
use punkgo_kernel::testkit::{TestStateDir, make_request};
4+
use punkgo_kernel::{Kernel, KernelConfig};
55
use serde_json::json;
66

77
async fn setup_kernel() -> (Kernel, TestStateDir) {

crates/punkgo-kernel/tests/consent_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use punkgo_core::action::{Action, ActionType};
22
use punkgo_core::protocol::RequestType;
3-
use punkgo_kernel::{Kernel, KernelConfig};
43
use punkgo_kernel::testkit::{TestStateDir, make_request};
4+
use punkgo_kernel::{Kernel, KernelConfig};
55
use serde_json::json;
66

77
async fn setup_kernel() -> (Kernel, TestStateDir) {

0 commit comments

Comments
 (0)