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..1c86ad08 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,20 +21,20 @@ categories = ["no-std", "embedded", "wasm", "parser-implementations"] 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"] } 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.15", 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 } getrandom = { version = "0.2", optional = true } -rustyline = { version = "11", optional = true } +rustyline = { version = "14", optional = true } document-features = { version = "0.2", optional = true } [dev-dependencies] 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]