Skip to content

Commit 425e0b9

Browse files
committed
chore: add publishable raysense crate
1 parent aedcc91 commit 425e0b9

4 files changed

Lines changed: 38 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[workspace]
22
members = [
33
"crates/rayforce-sys",
4+
"crates/raysense",
45
"crates/raysense-cli",
56
"crates/raysense-core",
67
"crates/raysense-memory",

crates/raysense/Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "raysense"
3+
version = "0.1.0"
4+
edition.workspace = true
5+
license.workspace = true
6+
description = "Local architectural telemetry for AI coding agents"
7+
readme = "README.md"
8+
9+
[lib]
10+
path = "src/lib.rs"

crates/raysense/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Raysense
2+
3+
Raysense is local architectural telemetry for AI coding agents.
4+
5+
This first crate release reserves the public package name while the scanner,
6+
memory bridge, and command-line surface continue to harden in the repository.

crates/raysense/src/lib.rs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
pub const NAME: &str = "raysense";
2+
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
3+
4+
pub fn package_name() -> &'static str {
5+
NAME
6+
}
7+
8+
pub fn package_version() -> &'static str {
9+
VERSION
10+
}
11+
12+
#[cfg(test)]
13+
mod tests {
14+
use super::*;
15+
16+
#[test]
17+
fn exposes_package_identity() {
18+
assert_eq!(package_name(), "raysense");
19+
assert_eq!(package_version(), env!("CARGO_PKG_VERSION"));
20+
}
21+
}

0 commit comments

Comments
 (0)