Initialize Cargo workspace with wraith-core, wraith, and wraith-napi crates

- Workspace root Cargo.toml with three crate members
- wraith-core: library with feature flags (tls, iroh, acme), core deps (russh, tokio, tracing, anyhow, thiserror, tokio-util), module skeleton (transport, client, server, auth, socks5, error)
- wraith: binary crate depending on wraith-core with clap derive
- wraith-napi: cdylib crate depending on wraith-core, napi, napi-derive
- .gitignore for target/ and node_modules/
This commit is contained in:
2026-06-02 09:14:40 +00:00
parent 14dbd81195
commit 2bc15f1035
15 changed files with 5714 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
[package]
name = "wraith-napi"
version = "0.1.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
wraith-core = { path = "../wraith-core" }
napi = "3"
napi-derive = "3"

View File

@@ -0,0 +1,3 @@
#[allow(unused_imports)]
#[macro_use]
extern crate napi_derive;