Compare commits
2 commits
a702c33c57
...
f6c341e67f
Author | SHA1 | Date | |
---|---|---|---|
f6c341e67f | |||
bc638cb114 |
2 changed files with 7 additions and 4 deletions
|
@ -19,7 +19,7 @@ crate which includes a fully featured date parser, capable of parsing dates like
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
quick-js = "0.4.1"
|
||||
quick-js-dtp = "0.4.1"
|
||||
```
|
||||
|
||||
```rust
|
||||
|
@ -55,10 +55,13 @@ The crate supports the following features:
|
|||
* `log`: allows forwarding `console.log` messages to the `log` crate.
|
||||
Note: must be enabled with `ContextBuilder::console(quick_js::console::LogConsole);`
|
||||
|
||||
* `patched`
|
||||
* `patch-bigint`
|
||||
Enabled automatically for some other features, like `bigint`.
|
||||
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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Configuration for the [cargo-release](https://github.com/sunng87/cargo-release) tool.
|
||||
|
||||
pre-release-replacements = [
|
||||
{file="README.md", search="quick-js = .*", replace="{{crate_name}} = \"{{version}}\""},
|
||||
{file="README.md", search="quick-js-dtp = .*", replace="{{crate_name}} = \"{{version}}\""},
|
||||
]
|
||||
|
||||
tag-prefix = "quick-js-dtp-"
|
||||
|
|
Loading…
Reference in a new issue