feat(rust-bridge): integrate tsrust to build and locate cross-compiled Rust binaries; refactor rust-proxy bridge to use typed IPC and streamline process handling; add @push.rocks/smartrust and update build/dev dependencies
This commit is contained in:
@@ -3,7 +3,6 @@ import { logger } from '../../core/utils/logger.js';
|
||||
|
||||
// Rust bridge and helpers
|
||||
import { RustProxyBridge } from './rust-proxy-bridge.js';
|
||||
import { RustBinaryLocator } from './rust-binary-locator.js';
|
||||
import { RoutePreprocessor } from './route-preprocessor.js';
|
||||
import { SocketHandlerServer } from './socket-handler-server.js';
|
||||
import { RustMetricsAdapter } from './rust-metrics-adapter.js';
|
||||
@@ -120,7 +119,7 @@ export class SmartProxy extends plugins.EventEmitter {
|
||||
if (!spawned) {
|
||||
throw new Error(
|
||||
'RustProxy binary not found. Set SMARTPROXY_RUST_BINARY env var, install the platform package, ' +
|
||||
'or build locally with: cd rust && cargo build --release'
|
||||
'or build locally with: pnpm build'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user