mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-29 11:13:33 +00:00
WASM Implementation: - Add wasm.rs with bindings for all core P2P types - Configure Cargo.toml with wasm/native feature flags - Gate native-only modules (tokio, transport) behind feature flags - Convert intelligence.rs and memory.rs to sync (parking_lot::RwLock) - Fix distributed_learning.rs example for sync API Exports: - WasmIdentity, WasmCrypto, WasmHnswIndex - WasmSemanticMatcher, WasmRaftNode, WasmHybridKeyPair - WasmSpikingNetwork, WasmQuantizer, WasmAdaptiveCompressor Build: - WASM: wasm-pack build --no-default-features --features wasm - Native: cargo build --features native - Tests: 60 passing 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
54 lines
1.2 KiB
JSON
54 lines
1.2 KiB
JSON
{
|
|
"name": "@ruvector/edge",
|
|
"version": "0.1.1",
|
|
"type": "module",
|
|
"description": "WASM bindings for RuVector Edge - Distributed AI swarm with post-quantum crypto, HNSW vector search, and neural networks",
|
|
"main": "ruvector_edge.js",
|
|
"module": "ruvector_edge.js",
|
|
"types": "ruvector_edge.d.ts",
|
|
"keywords": [
|
|
"wasm",
|
|
"rust",
|
|
"ai",
|
|
"swarm",
|
|
"p2p",
|
|
"cryptography",
|
|
"post-quantum",
|
|
"hnsw",
|
|
"vector-search",
|
|
"neural-network",
|
|
"raft",
|
|
"consensus",
|
|
"ed25519",
|
|
"aes-gcm",
|
|
"webassembly",
|
|
"semantic-search",
|
|
"machine-learning"
|
|
],
|
|
"author": "RuVector Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ruvnet/ruvector"
|
|
},
|
|
"homepage": "https://github.com/ruvnet/ruvector/tree/main/examples/edge",
|
|
"bugs": {
|
|
"url": "https://github.com/ruvnet/ruvector/issues"
|
|
},
|
|
"files": [
|
|
"ruvector_edge_bg.wasm",
|
|
"ruvector_edge.js",
|
|
"ruvector_edge.d.ts",
|
|
"ruvector_edge_bg.wasm.d.ts",
|
|
"LICENSE"
|
|
],
|
|
"exports": {
|
|
".": {
|
|
"import": "./ruvector_edge.js",
|
|
"types": "./ruvector_edge.d.ts"
|
|
}
|
|
},
|
|
"sideEffects": [
|
|
"./snippets/*"
|
|
]
|
|
}
|