mirror of https://github.com/boa-dev/boa.git
Browse Source
This Pull Request switches our codebase to the brand new [workspace inherited keys](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table), which allows us to define common package options that are usable within each crate's Cargo.toml file. It also allows to share dependency versions between crates, but I defined only shared versions for our workspace members. It would be a good follow-up to lift all the shared dependencies between crates into the global Cargo.toml.pull/2305/head
José Julián Espina
2 years ago
11 changed files with 92 additions and 74 deletions
@ -1,15 +1,17 @@ |
|||||||
[package] |
[package] |
||||||
name = "boa_examples" |
name = "boa_examples" |
||||||
version = "0.16.0" |
description = "Usage examples of the Boa JavaScript engine." |
||||||
authors = ["boa-dev"] |
|
||||||
repository = "https://github.com/boa-dev/boa" |
|
||||||
license = "Unlicense/MIT" |
|
||||||
edition = "2021" |
|
||||||
publish = false |
publish = false |
||||||
|
version.workspace = true |
||||||
|
edition.workspace = true |
||||||
|
authors.workspace = true |
||||||
|
license.workspace = true |
||||||
|
repository.workspace = true |
||||||
|
rust-version.workspace = true |
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html |
||||||
|
|
||||||
[dependencies] |
[dependencies] |
||||||
boa_engine = { path = "../boa_engine", features = ["console"], version = "0.16.0" } |
boa_engine = { workspace = true, features = ["console"] } |
||||||
boa_gc = { path = "../boa_gc", version = "0.16.0" } |
boa_gc.workspace = true |
||||||
gc = "0.4.1" |
gc = "0.4.1" |
||||||
|
@ -1,14 +1,14 @@ |
|||||||
[package] |
[package] |
||||||
name = "boa_unicode" |
name = "boa_unicode" |
||||||
version = "0.16.0" |
|
||||||
edition = "2021" |
|
||||||
rust-version = "1.60" |
|
||||||
authors = ["boa-dev"] |
|
||||||
description = "Unicode support for the Boa JavaScript engine." |
description = "Unicode support for the Boa JavaScript engine." |
||||||
repository = "https://github.com/boa-dev/boa" |
|
||||||
keywords = ["javascript", "compiler", "lexer", "parser", "unicode"] |
keywords = ["javascript", "compiler", "lexer", "parser", "unicode"] |
||||||
categories = ["parsing"] |
categories = ["parsing"] |
||||||
license = "Unlicense/MIT" |
version.workspace = true |
||||||
|
edition.workspace = true |
||||||
|
authors.workspace = true |
||||||
|
license.workspace = true |
||||||
|
repository.workspace = true |
||||||
|
rust-version.workspace = true |
||||||
|
|
||||||
[dependencies] |
[dependencies] |
||||||
unicode-general-category = "0.6.0" |
unicode-general-category = "0.6.0" |
||||||
|
Loading…
Reference in new issue