Compare commits

..

No commits in common. "f6c341e67f3aaca6c43db29a0c5bb43003f43cee" and "a702c33c57910ee06d0f4c9c3965b4925df69aa4" have entirely different histories.

2 changed files with 4 additions and 7 deletions

View file

@ -19,7 +19,7 @@ crate which includes a fully featured date parser, capable of parsing dates like
```toml ```toml
[dependencies] [dependencies]
quick-js-dtp = "0.4.1" quick-js = "0.4.1"
``` ```
```rust ```rust
@ -55,13 +55,10 @@ The crate supports the following features:
* `log`: allows forwarding `console.log` messages to the `log` crate. * `log`: allows forwarding `console.log` messages to the `log` crate.
Note: must be enabled with `ContextBuilder::console(quick_js::console::LogConsole);` Note: must be enabled with `ContextBuilder::console(quick_js::console::LogConsole);`
* `patch-bigint` * `patched`
Enabled automatically for some other features, like `bigint`. Enabled automatically for some other features, like `bigint`.
You should not need to enable this manually. You should not need to enable this manually.
Applies QuickJS patches that can be found in `libquickjs-sys/embed/patches` directory.
* `patch-dateparser`
Enables the improved JS date parser that supports additional date formats like
`Sat, 01-Jan-2000 00:00:00 PST`
## Installation ## Installation

View file

@ -1,7 +1,7 @@
# Configuration for the [cargo-release](https://github.com/sunng87/cargo-release) tool. # Configuration for the [cargo-release](https://github.com/sunng87/cargo-release) tool.
pre-release-replacements = [ pre-release-replacements = [
{file="README.md", search="quick-js-dtp = .*", replace="{{crate_name}} = \"{{version}}\""}, {file="README.md", search="quick-js = .*", replace="{{crate_name}} = \"{{version}}\""},
] ]
tag-prefix = "quick-js-dtp-" tag-prefix = "quick-js-dtp-"