José Julián Espina
e9e85f5a49
Switch to workspace inherited properties ( #2297 )
...
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.
2 years ago
Iban Eguia
f5be60975b
Updated dependencies for 0.16 release ( #2300 )
...
This Pull Request updates the dependencies for the 0.16 release.
Co-authored-by: José Julián Espina <jedel0124@gmail.com>
2 years ago
dependabot[bot]
009eeedafa
Bump measureme from 10.0.0 to 10.1.0 ( #2143 )
...
Bumps [measureme](https://github.com/rust-lang/measureme ) from 10.0.0 to 10.1.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/measureme/releases ">measureme's releases</a>.</em></p>
<blockquote>
<h2>10.1.0</h2>
<h3>Changed</h3>
<ul>
<li>Change install instructions to use stable branch (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/189 ">GH-189</a>)</li>
<li><code>analyzeme</code>: Remove some unused dependencies (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/192 ">GH-192</a>)</li>
<li><code>decodeme</code>: Generate nicer panic messages for incomplete data files (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/193 ">GH-193</a>)</li>
<li>Fix build warnings from Rust 2018 idioms (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/194 ">GH-194</a>)</li>
<li><code>measureme</code>: Allow capturing hardware performance counters on stable compilers (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/195 ">GH-195</a>)</li>
</ul>
<p><a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/189 ">GH-189</a>: <a href="https://github-redirect.dependabot.com/rust-lang/measureme/pull/189 ">rust-lang/measureme#189</a>
<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/192 ">GH-192</a>: <a href="https://github-redirect.dependabot.com/rust-lang/measureme/pull/192 ">rust-lang/measureme#192</a>
<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/193 ">GH-193</a>: <a href="https://github-redirect.dependabot.com/rust-lang/measureme/pull/193 ">rust-lang/measureme#193</a>
<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/194 ">GH-194</a>: <a href="https://github-redirect.dependabot.com/rust-lang/measureme/pull/194 ">rust-lang/measureme#194</a>
<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/195 ">GH-195</a>: <a href="https://github-redirect.dependabot.com/rust-lang/measureme/pull/195 ">rust-lang/measureme#195</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/measureme/blob/master/CHANGELOG.md ">measureme's changelog</a>.</em></p>
<blockquote>
<h2>[10.1.0] - 2022-06-24</h2>
<h3>Changed</h3>
<ul>
<li>Change install instructions to use stable branch (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/189 ">GH-189</a>)</li>
<li><code>analyzeme</code>: Remove some unused dependencies (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/192 ">GH-192</a>)</li>
<li><code>decodeme</code>: Generate nicer panic messages for incomplete data files (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/193 ">GH-193</a>)</li>
<li>Fix build warnings from Rust 2018 idioms (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/194 ">GH-194</a>)</li>
<li><code>measureme</code>: Allow capturing hardware performance counters on stable compilers (<a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/195 ">GH-195</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="93ee6da25a
"><code>93ee6da</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/197 ">#197</a> from wesleywiser/new_release</li>
<li><a href="93222920da
"><code>9322292</code></a> Prepare for 10.1 release</li>
<li><a href="949552026e
"><code>9495520</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/195 ">#195</a> from marmeladema/measureme-on-stable</li>
<li><a href="b155b70b40
"><code>b155b70</code></a> Allow to build measureme on stable rust</li>
<li><a href="bc2e80adb3
"><code>bc2e80a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/194 ">#194</a> from msfjarvis/hs/2022-02-14/fix-warnings</li>
<li><a href="9ad20d5ab3
"><code>9ad20d5</code></a> all: fix elided-lifetime-in-paths warnings</li>
<li><a href="12593fbfc4
"><code>12593fb</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/193 ">#193</a> from marieell/patch-1</li>
<li><a href="c1e26708cc
"><code>c1e2670</code></a> A bit nicer panics for incomplete data files</li>
<li><a href="4124964216
"><code>4124964</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/measureme/issues/192 ">#192</a> from bjorn3/less_deps</li>
<li><a href="84bb696fb8
"><code>84bb696</code></a> Remove a couple of unused dependencies</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/measureme/compare/10.0.0...10.1.0 ">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=measureme&package-manager=cargo&previous-version=10.0.0&new-version=10.1.0 )](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores )
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
2 years ago
Iban Eguia
1dbd31e2b7
Added changelog, updated dependencies, bumped version number for 0.15 ( #2102 )
...
This Pull Request bumps the version number to 0.15, adds the changelog for this new versions and updates all dependencies to the latest versions.
2 years ago
jedel1043
518bad8109
Integrate ICU4X into `Intl` module ( #2083 )
...
<!---
Thank you for contributing to Boa! Please fill out the template below, and remove or add any
information as you feel neccesary.
--->
This Pull Request integrates an `ICU4X` data provider API in our codebase, to make use of the internationalization APIs that this crate provides.
It changes the following:
- Creates an API for pluggable icu data providers at `Context` creation, adding an `Icu` struct to store the provider (and some other internationalization tools) at runtime.
- Slightly changes locale related functions to preserve the `Locale` type and ensure correctness. (Will make some other changes related to this).
- Integrates the `sys_locale` crate to fetch the current default locale of an user instead of always returning `en-US`.
2 years ago
Aaron Ross
520b81ea66
add README for crates.io publish ( #1952 )
...
This Pull Request closes #1948 .
It changes the following:
- set `readme` in `boa_engine` so `README.md` will be published to crates.io
- remove unnecessary `exclude` field from `Cargo.toml` in all apps
I was unsure whether using a path outside of the workspace root was allowed for `readme` since it [doesn't get included in the release tarball](https://github.com/rust-lang/cargo/issues/5911 ), but this exact path is used by [juniper](https://github.com/graphql-rust/juniper/blob/master/juniper/Cargo.toml#L13 ) and [seems to work there](https://crates.io/crates/juniper ). I believe `cargo publish` does a bit more than just uploading the tarball, including pulling the `readme` from any arbitrary path.
The default behaviour of `cargo package`/`cargo publish` if neither `exclude` or `include` is specified is to include all files from the package root, excluding
- dotfiles
- .gitignore'd files
- subpackages (any subdirectory with a `Cargo.toml` file)
- the `/target` directory
There's no need to explicitly exclude files from the parent directory since they're already excluded by default. This can be verified by running `cargo package --list` inside any workspace app:
```plain
$ cd boa_wasm
$ cargo package --list
.gitignore
Cargo.toml
Cargo.toml.orig
src/lib.rs
```
You can read more [here](https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields ).
3 years ago
Jason Williams
be901735e5
generated changelog for 0.14 ( #1882 )
...
Co-authored-by: João Borges <rageknify@gmail.com>
3 years ago
Iban Eguia
4d2772d6a0
Rename "Boa" to boa_engine, moved GC and profiler to their crates ( #1844 )
...
* Separated GC and Profiler
* Fixed prettierignore
* Removed re-exports, fixed benchmarks, added some caches
* Removed empty line
* Update boa_engine/Cargo.toml
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
* Fixed the profiler
* Removed empty file
Co-authored-by: raskad <32105367+raskad@users.noreply.github.com>
3 years ago