Skip to content

Commit

Permalink
Initial version of a JS -> Rust conversion trait.
Browse files Browse the repository at this point in the history
  • Loading branch information
Razican committed Nov 26, 2022
1 parent 20ad700 commit 6883fa5
Show file tree
Hide file tree
Showing 13 changed files with 584 additions and 75 deletions.
117 changes: 62 additions & 55 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ members = [
"boa_wasm",
"boa_examples",
"boa_macros",
"boa_derive",
]

[workspace.package]
Expand All @@ -32,6 +33,7 @@ boa_unicode = { version = "0.16.0", path = "boa_unicode" }
boa_macros = { version = "0.16.0", path = "boa_macros" }
boa_ast = { version = "0.16.0", path = "boa_ast" }
boa_parser = { version = "0.16.0", path = "boa_parser" }
boa_derive = { version = "0.16.0", path = "boa_derive" }

[workspace.metadata.workspaces]
allow_branch = "main"
Expand Down
23 changes: 23 additions & 0 deletions boa_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[package]
name = "boa_derive"
version = "0.16.0"
edition = "2021"
rust-version = "1.60"
authors = ["boa-dev"]
description = "Ths crate adds derive macros for the main boa_engine crate."
repository = "https://github.com/boa-dev/boa"
license = "Unlicense/MIT"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
proc-macro = true

[dependencies]
syn = "1.0.99"
quote = "1.0.21"
proc-macro2 = "1.0.43"

[dev-dependencies]
trybuild = "1.0.64"
boa_engine.workspace = true
Loading

0 comments on commit 6883fa5

Please sign in to comment.