Deno Extensions
Safe Extensions
All the extensions mentioned below can be activated using the safe_extensions
crate feature.
By default, Rustyscript
includes only those extensions that maintain a secure, sandboxed runtime environment.
Important Note
By default the Javascript code you run have no access to system resources such as the file system, network, or environment variables.
The safe extensions included by default are:
console
- For loggingcrypto
- For cryptographic functionsurl
- For URL parsingweb_stub
- A stub for theweb
extension, providing timers, and base64 encoding/decoding
The remaining extensions can be broadly categorized as either io
or network
.
Important Note
With the exception ofcron
,webstorage
, andffi
All the remaining extensions depend on theweb
extension.