mirror of
https://github.com/nestriness/nestri.git
synced 2026-09-19 17:25:19 +03:00
A Vulkan implicit layer that captures frames from inside the workload's own process and encodes them on the GPU they were drawn on. Fourth and last of this batch, imported as a tree from `nestrilabs/nescapture` on the same terms. Filed under `apps/` rather than `crates/` despite building a cdylib. The rule here is what a thing *is*, not what it compiles to: this is a finished artefact that gets installed into an image beside its layer manifest, not a library another crate in this tree depends on. `crates/` is for the latter, and putting this there would make the distinction useless the first time someone looked. Wired to the workspace, `nesprotocol` by path. Its description named the transport component; that reads better as what it actually is — where the frames go — so it says that instead. Whole workspace builds and tests: 21 across four members. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
39 lines
1.1 KiB
TOML
39 lines
1.1 KiB
TOML
# The Rust half of this monorepo. The JS/TS half is `package.json`.
|
|
#
|
|
# Layout, per the same rule on both sides: split by *what a thing is*, not by
|
|
# what language it is written in.
|
|
#
|
|
# apps/ deployables — a binary someone runs
|
|
# crates/ shared Rust — a library another crate depends on
|
|
# packages/ shared JS/TS
|
|
#
|
|
# Members are added as components move in. An empty list is honest: nothing has
|
|
# landed yet.
|
|
|
|
[workspace]
|
|
resolver = "3"
|
|
members = [
|
|
"apps/nescapture",
|
|
"apps/nescope",
|
|
"apps/neswire",
|
|
"crates/nesprotocol",
|
|
]
|
|
|
|
# One pin per dependency, here. A member never writes a version — that is what
|
|
# stops two crates in one tree from disagreeing about tokio.
|
|
[workspace.dependencies]
|
|
anyhow = "1"
|
|
clap = { version = "4", features = ["derive", "env"] }
|
|
libc = "0.2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
tokio = { version = "1", features = ["full"] }
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
|
|
[workspace.package]
|
|
edition = "2024"
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/nestrilabs/nestri"
|