Rust-centric architecture with TypeScript facade following smartproxy/smartstorage pattern. Core engine in Rust (FastCDC chunking, SHA-256, gzip, AES-256-GCM + Argon2id, binary pack files, global index, snapshots, locking, verification, pruning, repair). TypeScript provides npm interface via @push.rocks/smartrust RustBridge IPC with Unix socket streaming for ingest/restore. All 14 integration tests pass.
18 lines
547 B
TypeScript
18 lines
547 B
TypeScript
// node native scope
|
|
import * as path from 'node:path';
|
|
import * as fs from 'node:fs';
|
|
import * as net from 'node:net';
|
|
import * as os from 'node:os';
|
|
import * as stream from 'node:stream';
|
|
import * as crypto from 'node:crypto';
|
|
|
|
export { path, fs, net, os, stream, crypto };
|
|
|
|
// @push.rocks scope
|
|
import * as smartrust from '@push.rocks/smartrust';
|
|
import * as smartrx from '@push.rocks/smartrx';
|
|
import * as smartpromise from '@push.rocks/smartpromise';
|
|
import * as lik from '@push.rocks/lik';
|
|
|
|
export { smartrust, smartrx, smartpromise, lik };
|