summaryrefslogtreecommitdiff
path: root/runtime/Cargo.toml
diff options
context:
space:
mode:
authorExidex <16986685+Exidex@users.noreply.github.com>2023-05-31 22:26:24 +0200
committerGitHub <noreply@github.com>2023-05-31 14:26:24 -0600
commitf3193e0e1c12ea139f00d6b19d152b95f37b73c3 (patch)
treee53d0a2bad466194a319d414c2f44caafcb538d6 /runtime/Cargo.toml
parentb1e28b0708b378fa6cbe3a0ec95bb94b33775355 (diff)
feat(runtime): Add example for extension with ops (#19204)
Spend quite some time trying to get this working. With proper example would have been a lot faster. So this is pr with the example. I also rearranged examples a little bit to allow for addition of more examples
Diffstat (limited to 'runtime/Cargo.toml')
-rw-r--r--runtime/Cargo.toml8
1 files changed, 6 insertions, 2 deletions
diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml
index c464d3f04..5a7196ea8 100644
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -29,8 +29,12 @@ name = "deno_runtime"
path = "lib.rs"
[[example]]
-name = "hello_runtime"
-path = "examples/hello_runtime.rs"
+name = "extension_with_esm"
+path = "examples/extension_with_esm/main.rs"
+
+[[example]]
+name = "extension_with_ops"
+path = "examples/extension_with_ops/main.rs"
[build-dependencies]
deno_ast.workspace = true