From e0dcd531fb6bcf746dd0014d1b8a42ccaa514e28 Mon Sep 17 00:00:00 2001 From: Kasper Juul Hermansen Date: Thu, 18 Jan 2024 20:56:43 +0000 Subject: [PATCH] Update all dependencies --- .github/workflows/benchmark.yml | 2 +- .github/workflows/build.yml | 14 +++++++------- .github/workflows/ci.yaml | 2 +- Cargo.toml | 14 +++++++------- codegen/Cargo.toml | 2 +- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 12cfee33..52db1e8b 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -10,7 +10,7 @@ jobs: name: Run Rust benchmark runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - run: rustup toolchain update nightly && rustup default nightly - name: Run benchmark run: cargo +nightly bench --features decimal,metadata,serde,debugging | tee output.txt diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bed9d2de..65123a55 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,8 +14,8 @@ jobs: msrv: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/cache@v1 + - uses: actions/checkout@v4 + - uses: actions/cache@v4 with: path: | ~/.cargo/bin @@ -76,7 +76,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Toolchain uses: actions-rs/toolchain@v1 with: @@ -101,7 +101,7 @@ jobs: #- {os: macos-latest, flags: "--profile macos", experimental: false} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Toolchain uses: actions-rs/toolchain@v1 with: @@ -128,7 +128,7 @@ jobs: fail-fast: false steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Generic Wasm Toolchain uses: actions-rs/toolchain@v1 with: @@ -153,7 +153,7 @@ jobs: continue-on-error: true steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Toolchain uses: actions-rs/toolchain@v1 with: @@ -182,7 +182,7 @@ jobs: - {toolchain: stable, os: windows-latest, experimental: false, flags: "--features metadata"} steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 6b751bc8..97a0b118 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: feature_powerset: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@v1 with: toolchain: stable diff --git a/Cargo.toml b/Cargo.toml index 18521034..b7c32542 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,23 +18,23 @@ keywords = ["scripting", "scripting-engine", "scripting-language", "embedded"] categories = ["no-std", "embedded", "wasm", "parser-implementations"] [dependencies] -smallvec = { version = "1.7", default-features = false, features = ["union", "const_new", "const_generics"] } -ahash = { version = "0.8.2", default-features = false, features = ["compile-time-rng"] } +smallvec = { version = "1.13", default-features = false, features = ["union", "const_new", "const_generics"] } +ahash = { version = "0.8.7", default-features = false, features = ["compile-time-rng"] } num-traits = { version = "0.2", default-features = false } -bitflags = { version = "1", default-features = false } +bitflags = { version = "2", default-features = false } smartstring = { version = "1", default-features = false } rhai_codegen = { version = "1.5.0", path = "codegen", default-features = false } no-std-compat = { git = "https://gitlab.com/jD91mZM2/no-std-compat", version = "0.4.1", default-features = false, features = ["alloc"], optional = true } libm = { version = "0.2", default-features = false, optional = true } -hashbrown = { version = "0.13", optional = true } +hashbrown = { version = "0.14", optional = true } core-error = { version = "0.0", default-features = false, features = ["alloc"], optional = true } serde = { version = "1.0", default-features = false, features = ["derive", "alloc"], optional = true } serde_json = { version = "1.0", default-features = false, features = ["alloc"], optional = true } unicode-xid = { version = "0.2", default-features = false, optional = true } -rust_decimal = { version = "1.16", default-features = false, features = ["maths"], optional = true } +rust_decimal = { version = "1.33", default-features = false, features = ["maths"], optional = true } getrandom = { version = "0.2", optional = true } -rustyline = { version = "11", optional = true } +rustyline = { version = "13", optional = true } document-features = { version = "0.2", optional = true } [dev-dependencies] @@ -148,7 +148,7 @@ codegen-units = 1 #panic = 'abort' # remove stack backtrace for no-std [target.'cfg(target_family = "wasm")'.dependencies] -instant = { version = "0.1.10" } # WASM implementation of std::time::Instant +instant = { version = "0.1.12" } # WASM implementation of std::time::Instant [package.metadata.docs.rs] features = ["document-features", "metadata", "serde", "internals", "decimal", "debugging"] diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 8a1495c9..d5669baf 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -20,7 +20,7 @@ metadata = [] [dependencies] proc-macro2 = "1" -syn = { version = "1.0", features = ["full", "parsing", "printing", "proc-macro", "extra-traits"] } +syn = { version = "2.0", features = ["full", "parsing", "printing", "proc-macro", "extra-traits"] } quote = "1" [dev-dependencies]