mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
c5302a0587
This commit changes the type parameter for "deno_node" extension, from `P: NodePermission` to `Env: NodeEnv`. `NodeEnv` is a new trait that has associated type `P: NodePermission`. This is a stepping stone to support swappable file system for the extension, that will be added as a second associated type to the `NodeEnv` trait.
44 lines
884 B
Rust
44 lines
884 B
Rust
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
pub use deno_broadcast_channel;
|
|
pub use deno_cache;
|
|
pub use deno_console;
|
|
pub use deno_core;
|
|
pub use deno_crypto;
|
|
pub use deno_fetch;
|
|
pub use deno_ffi;
|
|
pub use deno_flash;
|
|
pub use deno_fs;
|
|
pub use deno_http;
|
|
pub use deno_io;
|
|
pub use deno_kv;
|
|
pub use deno_napi;
|
|
pub use deno_net;
|
|
pub use deno_node;
|
|
pub use deno_tls;
|
|
pub use deno_url;
|
|
pub use deno_web;
|
|
pub use deno_webidl;
|
|
pub use deno_websocket;
|
|
pub use deno_webstorage;
|
|
|
|
pub mod colors;
|
|
pub mod errors;
|
|
pub mod fmt_errors;
|
|
pub mod fs_util;
|
|
pub mod inspector_server;
|
|
pub mod js;
|
|
pub mod ops;
|
|
pub mod permissions;
|
|
pub mod tokio_util;
|
|
pub mod web_worker;
|
|
pub mod worker;
|
|
|
|
mod worker_bootstrap;
|
|
pub use worker_bootstrap::BootstrapOptions;
|
|
|
|
pub struct RuntimeNodeEnv;
|
|
impl deno_node::NodeEnv for RuntimeNodeEnv {
|
|
type P = permissions::PermissionsContainer;
|
|
}
|