1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 04:52:26 -05:00
denoland-deno/runtime/ops/mod.rs
Bartek Iwańczuk 0050857f51
refactor: add 'deno_process' crate (#27680)
Untangled the whole `runtime/ops/process.rs` from `ext/node/` and moved
to a separate `ext/process` crate.
2025-01-17 13:30:14 +01:00

19 lines
465 B
Rust

// Copyright 2018-2025 the Deno authors. MIT license.
pub mod bootstrap;
pub mod fs_events;
pub mod http;
pub mod permissions;
pub mod runtime;
pub mod tty;
pub mod web_worker;
pub mod worker_host;
use deno_core::OpState;
/// Helper for checking unstable features. Used for sync ops.
pub fn check_unstable(state: &OpState, feature: &str, api_name: &str) {
state.feature_checker.check_or_exit(feature, api_name);
}
pub struct TestingFeaturesEnabled(pub bool);