API Reference dune v0.2.1
Modules
A sandbox for Elixir to safely evaluate untrusted code from user input.
Behaviour to customize the modules and functions that are allowed or restricted.
The default Dune.Allowlist
module to be used to allow or restrict
functions and macros that can be safely executed.
Defines the evaluation options for Dune, which restrict the VM resources allocated to execute user code.
A struct returned when Dune
parsing or evaluation fails.
Defines the parsing options for Dune, which restrict the code that can safely be executed.
Sessions provide a way to evaluate code and keep state (bindings, modules...) between evaluations.
A struct returned when Dune
evaluation succeeds.