feat(rustbridge): add RustBridge and RustBinaryLocator with typed IPC interfaces, plugins, tests and mock runner; export from index; add npm registries

This commit is contained in:
2026-02-10 09:10:18 +00:00
parent fad0b9e602
commit 40dec91940
14 changed files with 865 additions and 12 deletions

View File

@@ -1,8 +1,12 @@
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as smartrust from '../ts/index.js'
import * as smartrust from '../ts/index.js';
tap.test('first test', async () => {
console.log(smartrust)
})
tap.test('should export RustBridge', async () => {
expect(smartrust.RustBridge).toBeTypeOf('function');
});
export default tap.start()
tap.test('should export RustBinaryLocator', async () => {
expect(smartrust.RustBinaryLocator).toBeTypeOf('function');
});
export default tap.start();