lib.rs 951 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //! `srt-win` — Windows network sandbox helper for sandbox-runtime.
  2. //!
  3. //! This crate is the Rust half of the Windows backend. The library
  4. //! exposes the SID, group, and WFP primitives so they can be unit-
  5. //! tested, plus the full CLI dispatch as [`run_from_args`] so an
  6. //! embedding multicall binary can link the crate directly. The
  7. //! `srt-win` binary (`main.rs`) is a one-line shim over that entry
  8. //! point.
  9. //!
  10. //! Windows-only. Building on other platforms yields an empty crate so
  11. //! `cargo check` from a non-Windows host doesn't error.
  12. #![cfg(windows)]
  13. pub mod cli;
  14. pub use cli::{SRT_WIN_DISPATCH_ARG1, run_from_args};
  15. pub mod sam;
  16. pub mod sid;
  17. pub mod util;
  18. pub mod wfp;
  19. pub mod job;
  20. pub mod launch;
  21. pub mod self_protect;
  22. pub mod token;
  23. pub mod winsta;
  24. pub mod acl;
  25. pub mod ambient;
  26. pub mod path_id;
  27. pub mod reg;
  28. pub mod state_db;
  29. pub mod dpapi;
  30. pub mod install;
  31. pub mod user;
  32. pub mod cert_store;
  33. pub mod logon;
  34. pub mod runner;