- 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/
14 lines
272 B
TOML
14 lines
272 B
TOML
[package]
|
|
name = "wraith"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[[bin]]
|
|
name = "wraith"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
wraith-core = { path = "../wraith-core" }
|
|
clap = { version = "4", features = ["derive"] }
|
|
tokio = { version = "1", features = ["full"] }
|
|
anyhow = "1" |