Skip to main content

Crate dscode_extension_host

Crate dscode_extension_host 

Source
Expand description

§dscode-extension-host

Extension host process management, IPC, sandbox, and security for DSCode.

This crate provides the infrastructure for running and communicating with extension host processes, including:

§Feature Flags

  • tauri — Enables Tauri integration for the extension host manager

Structs§

ExtensionHostManager
ExtensionIpc
ExtensionPermissions
IncomingIpc
IpcManager
PathValidator
RateLimiter
SandboxConfig
SecretStorage

Enums§

ExtensionHostError
Errors that can occur in extension host operations.
ExtensionHostState
STATE MACHINE: ExtensionHostProcess
Permission

Functions§

apply_sandbox
complete_sandbox_setup
Completes sandbox setup after the process has been spawned. On Windows, this assigns the child process to the Job Object created by apply_windows_sandbox. On other platforms this is a no-op.
verify_binary
Verify the SHA256 hash of a binary file against allowed hashes.

Type Aliases§

IncomingRequestHandler