diff options
Diffstat (limited to 'core')
| -rw-r--r-- | core/Cargo.toml | 4 | ||||
| -rw-r--r-- | core/icudtl.dat | bin | 10413584 -> 10144432 bytes | |||
| -rw-r--r-- | core/runtime.rs | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/core/Cargo.toml b/core/Cargo.toml index 71e157957..5d0f0782c 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -20,10 +20,10 @@ lazy_static = "1.4.0" libc = "0.2.93" log = "0.4.14" pin-project = "1.0.6" -rusty_v8 = "0.22.3" +rusty_v8 = "0.23.0" serde = { version = "1.0.125", features = ["derive"] } serde_json = { version = "1.0.64", features = ["preserve_order"] } -serde_v8 = { version = "0.4.1" } +serde_v8 = { version = "0.5.0" } url = { version = "2.2.1", features = ["serde"] } [[example]] diff --git a/core/icudtl.dat b/core/icudtl.dat Binary files differindex 2f488bbb7..e511b9a8c 100644 --- a/core/icudtl.dat +++ b/core/icudtl.dat diff --git a/core/runtime.rs b/core/runtime.rs index 41948700f..c1bf7f3a2 100644 --- a/core/runtime.rs +++ b/core/runtime.rs @@ -145,9 +145,9 @@ impl Drop for JsRuntime { fn v8_init(v8_platform: Option<v8::UniquePtr<v8::Platform>>) { // Include 10MB ICU data file. #[repr(C, align(16))] - struct IcuData([u8; 10413584]); + struct IcuData([u8; 10144432]); static ICU_DATA: IcuData = IcuData(*include_bytes!("icudtl.dat")); - v8::icu::set_common_data(&ICU_DATA.0).unwrap(); + v8::icu::set_common_data_69(&ICU_DATA.0).unwrap(); let v8_platform = v8_platform .unwrap_or_else(v8::new_default_platform) |
