Skip to content

Commit

Permalink
Deprecate boa_unicode (#3069)
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 authored Jun 26, 2023
1 parent d0fa8cb commit e96c838
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

4 changes: 2 additions & 2 deletions boa_unicode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "boa_unicode"
description = "Unicode support for the Boa JavaScript engine."
description = "DEPRECATED. Use the icu_properties crate instead."
keywords = ["javascript", "compiler", "lexer", "parser", "unicode"]
categories = ["parsing", "no-std"]
version.workspace = true
version = "0.16.1"
edition.workspace = true
authors.workspace = true
license.workspace = true
Expand Down
28 changes: 3 additions & 25 deletions boa_unicode/README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,4 @@
# boa-unicode
# DEPRECATED

`boa-unicode` defines the trait to provide methods for querying properties or classes for Unicode identifiers. These properties are used to determine if a code point (char) is valid for being the start/part of an identifier in lexer and parser.

Current version: Unicode 15.0.0

## Development

The Unicode character tables used to query properties are generated by `build_tables.js`. This script depends on [Node.js](https://nodejs.org/en/) and [rustfmt](https://github.com/rust-lang/rustfmt). You can run the script with:

```
$ node build_tables.js
```

or with [npm](https://www.npmjs.com/):

```
$ npm run build-tables
```

The configurations are defined as constants in the script. Please check the comments in `build_tables.js` for more information.

## More Info

- [Unicode® Standard Annex #31 - UNICODE IDENTIFIER AND PATTERN SYNTAX](https://unicode.org/reports/tr31/)
- [Unicode® Standard Annex #44 - UNICODE CHARACTER DATABASE](https://unicode.org/reports/tr44/)
This crate was replaced with the [`icu_properties`](https://crates.io/crates/icu_properties) crate
and is now unmaintained.

0 comments on commit e96c838

Please sign in to comment.