feat: initial implementation of content-addressed incremental backup engine
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.
This commit is contained in:
17
ts/plugins.ts
Normal file
17
ts/plugins.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
// 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 };
|
||||
Reference in New Issue
Block a user