Skip to content

Commit

Permalink
fix readme intro as per suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
rscarson committed Jul 8, 2024
1 parent 8a6dc3b commit 990fa8c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<!-- cargo-rdme start -->

This crate is meant to provide a quick and simple way to integrate a runtime javacript or typescript component from within rust.
It uses the v8 engine through the deno_core crate, and is meant to be as simple as possible to use without sacrificing flexibility or performance.

I also have attempted to abstract away the v8 engine details so you can for the most part operate directly on rust types.

- **By default, the code being run is entirely sandboxed from the host, having no filesystem or network access.**
- It can be extended to include those capabilities and more if desired - please see the 'web' feature, and the 'runtime_extensions' example
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
//! This crate is meant to provide a quick and simple way to integrate a runtime javacript or typescript component from within rust.
//! It uses the v8 engine through the deno_core crate, and is meant to be as simple as possible to use without sacrificing flexibility or performance.
//!
//! I also have attempted to abstract away the v8 engine details so you can for the most part operate directly on rust types.
//!
//! - **By default, the code being run is entirely sandboxed from the host, having no filesystem or network access.**
//! - It can be extended to include those capabilities and more if desired - please see the 'web' feature, and the 'runtime_extensions' example
Expand Down

0 comments on commit 990fa8c

Please sign in to comment.