difftreelog
ci bump Rust version and resolve clippy issues (#160)
in: master
* build: bump Rust version and update dependencies * chore: resolve all reported Clippy issues * build: use the correct Toolchain version * ci: update GitHub Workflows to use valid actions * ci: add permissions to `clippy_check` * chore(GH-160): bump dependencies and disable `thread_local_initializer_can_be_made_const` lint * chore(GH-160): try fixing `thread_local_initializer_can_be_made_const` * fix(GH-160): `serialized-stdlib` feature * ci(GH-160): fix `Test Suite` * fix(GH-160): resolve `insta` deprecation * ci(GH-160): add formatting check job * ci(GH-160): reorganize jobs * style(GH-160): fix formatting * build(GH-160): fix `#[cfg(never)]` * build(GH-160): `#[allow(dead_code)]` on `FinishedRanger::end_token` * build(GH-160): allow more dead code * test(GH-160): fix `golden.rs`
26 files changed
.github/workflows/checks.yamldiffbeforeafterboth--- /dev/null
+++ b/.github/workflows/checks.yaml
@@ -0,0 +1,25 @@
+name: Checks
+on: [ pull_request ]
+jobs:
+ tests:
+ name: Tests
+ uses: ./.github/workflows/test.yaml
+ lints:
+ name: Lints
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4.1.4
+ - uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
+ - uses: auguwu/clippy-action@1.3.0
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ permissions:
+ checks: write
+ formatting:
+ name: Formatting
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4.1.4
+ - uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
+ - uses: actions-rust-lang/rustfmt@v1.1.0
+
.github/workflows/clippy_check.ymldiffbeforeafterboth--- a/.github/workflows/clippy_check.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-on: [push, pull_request]
-name: Clippy check
-jobs:
- clippy_check:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: actions-rs/toolchain@v1
- with:
- toolchain: nightly-2023-10-28
- components: clippy
- override: true
- - uses: actions-rs/clippy-check@v1
- with:
- token: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/release.yamldiffbeforeafterboth--- /dev/null
+++ b/.github/workflows/release.yaml
@@ -0,0 +1,140 @@
+name: Release
+on:
+ push:
+ tags: [ 'v*' ]
+jobs:
+ tests:
+ uses: ./.github/workflows/test.yaml
+
+ cargo-release:
+ if: !endsWith(github.ref, '-test')
+ needs: [ tests ]
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4.1.4
+ - name: Install stable toolchain
+ uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
+ with:
+ toolchain: stable
+ - run: cargo install cargo-release
+ - run: cargo login ${{ secrets.CARGO_TOKEN }}
+ - run: cargo release --no-dev-version --skip-push --skip-tag --no-confirm
+
+ github-release:
+ needs: [ tests ]
+ strategy:
+ matrix:
+ target:
+ # Linux build notes:
+ # While musl targets are not as supported as gnu, those are most relevant to users,
+ # which want to download binaries from github, as glibc has compatibility issues
+ # with older distros
+
+ # Tier 1
+ - i686-pc-windows-msvc
+ - x86_64-apple-darwin
+ - x86_64-pc-windows-msvc
+
+ # Tier 2
+ - aarch64-apple-darwin
+ - aarch64-unknown-linux-musl
+ - i686-unknown-linux-musl
+ - x86_64-unknown-linux-musl
+ include:
+ # Linux
+ - target: aarch64-unknown-linux-musl
+ os: ubuntu-latest
+ bin: jrsonnet
+ name: jrsonnet-linux-aarch64
+ - target: i686-unknown-linux-musl
+ os: ubuntu-latest
+ bin: jrsonnet
+ name: jrsonnet-linux-i686
+ - target: x86_64-unknown-linux-musl
+ os: ubuntu-latest
+ bin: jrsonnet
+ name: jrsonnet-linux-amd64
+
+ # Windows
+ - target: i686-pc-windows-msvc
+ os: windows-latest
+ bin: jrsonnet.exe
+ name: jrsonnet-windows-i686.exe
+ - target: x86_64-pc-windows-msvc
+ os: windows-latest
+ bin: jrsonnet.exe
+ name: jrsonnet-windows-amd64.exe
+
+ # Apple
+ - target: aarch64-apple-darwin
+ os: macOS-latest
+ bin: jrsonnet
+ name: jrsonnet-darwin-aarch64
+ - target: x86_64-apple-darwin
+ os: macOS-latest
+ bin: jrsonnet
+ name: jrsonnet-darwin-amd64
+ runs-on: ${{ matrix.os }}
+ steps:
+ - name: Fetch apt repo updates
+ if: ${{ startsWith(matrix.os, 'ubuntu-') }}
+ run: sudo apt update
+
+ - name: Install stable toolchain
+ uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
+ with:
+ toolchain: stable
+ target: ${{ matrix.target }}
+
+ - uses: actions/checkout@v4.1.4
+
+ - name: Add experimental flags
+ if: ${{ endsWith(github.ref, '-test' )}}
+ run: echo 'EXPERIMENTAL_FLAGS=--features=experimental' >> $GITHUB_ENV
+
+ - name: Linux x86 cross compiler
+ if: ${{ startsWith(matrix.target, 'i686-unknown-linux-') }}
+ run: sudo apt install gcc-multilib
+
+ - name: ARM cross compiler
+ if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
+ uses: actions-rs/cargo@v1
+ with:
+ command: install
+ args: cross
+
+ - name: ARM gcc
+ if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
+ run: sudo apt install gcc-aarch64-linux-gnu
+
+ - name: Musl gcc
+ if: ${{ endsWith(matrix.target, '-musl') }}
+ run: sudo apt install musl musl-tools
+
+ - name: Run cross build
+ if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
+ shell: bash
+ run: cross build --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
+
+ - name: Run build
+ if: ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}
+ run: cargo build --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
+
+ - name: Package
+ shell: bash
+ run: |
+ cd target/${{ matrix.target }}/release
+
+ cp ${{ matrix.bin }} ../../../${{ matrix.name }}
+ cd -
+
+ - name: Generate SHA-256
+ run: shasum -a 256 ${{ matrix.name }} > ${{ matrix.name }}.sha256
+
+ - name: Publish
+ uses: softprops/action-gh-release@v2.0.4
+ with:
+ draft: true
+ files: "jrsonnet*"
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/release.ymldiffbeforeafterboth--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,172 +0,0 @@
-name: CI
-on: [push]
-jobs:
- test:
- name: Test Suite
- runs-on: ubuntu-latest
- steps:
- - name: Checkout sources
- uses: actions/checkout@v2
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- override: true
- - name: Run tests
- uses: actions-rs/cargo@v1
- with:
- command: test
- args: --all
-
- cargo-release:
- if: startsWith(github.ref, 'refs/tags/') && !endsWith(github.ref, '-test')
- needs: [test]
- runs-on: ubuntu-latest
- steps:
- - name: Checkout sources
- uses: actions/checkout@v2
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- override: true
- - name: Install cargo release command
- uses: actions-rs/cargo@v1
- with:
- command: install
- args: cargo-release
- - name: Run cargo login
- uses: actions-rs/cargo@v1
- with:
- command: login
- args: ${{ secrets.CARGO_TOKEN }}
- - name: Publish crates
- uses: actions-rs/cargo@v1
- with:
- command: release
- args: --no-dev-version --skip-push --skip-tag --no-confirm
-
- github-release:
- if: startsWith(github.ref, 'refs/tags/')
- needs: [test]
- strategy:
- matrix:
- target:
- # Linux build notes:
- # While musl targets are not as supported as gnu, those are most relevant to users,
- # which want to download binaries from github, as glibc has compatibility issues
- # with older distros
-
- # Tier 1
- - i686-pc-windows-msvc
- - x86_64-apple-darwin
- - x86_64-pc-windows-msvc
-
- # Tier 2
- - aarch64-apple-darwin
- - aarch64-unknown-linux-musl
- - i686-unknown-linux-musl
- - x86_64-unknown-linux-musl
- include:
- # Linux
- - target: aarch64-unknown-linux-musl
- os: ubuntu-latest
- bin: jrsonnet
- name: jrsonnet-linux-aarch64
- - target: i686-unknown-linux-musl
- os: ubuntu-latest
- bin: jrsonnet
- name: jrsonnet-linux-i686
- - target: x86_64-unknown-linux-musl
- os: ubuntu-latest
- bin: jrsonnet
- name: jrsonnet-linux-amd64
-
- # Windows
- - target: i686-pc-windows-msvc
- os: windows-latest
- bin: jrsonnet.exe
- name: jrsonnet-windows-i686.exe
- - target: x86_64-pc-windows-msvc
- os: windows-latest
- bin: jrsonnet.exe
- name: jrsonnet-windows-amd64.exe
-
- # Apple
- - target: aarch64-apple-darwin
- os: macOS-latest
- bin: jrsonnet
- name: jrsonnet-darwin-aarch64
- - target: x86_64-apple-darwin
- os: macOS-latest
- bin: jrsonnet
- name: jrsonnet-darwin-amd64
- runs-on: ${{ matrix.os }}
- steps:
- - name: Fetch apt repo updates
- if: ${{ startsWith(matrix.os, 'ubuntu-') }}
- run: sudo apt update
-
- - name: Install stable toolchain
- uses: actions-rs/toolchain@v1
- with:
- toolchain: stable
- override: true
- target: ${{ matrix.target }}
-
- - name: Checkout
- uses: actions/checkout@v2
-
- - name: Add experimental flags
- if: ${{ endsWith(github.ref, '-test' )}}
- run: echo 'EXPERIMENTAL_FLAGS=--features=experimental' >> $GITHUB_ENV
-
- - name: Linux x86 cross compiler
- if: ${{ startsWith(matrix.target, 'i686-unknown-linux-') }}
- run: sudo apt install gcc-multilib
-
- - name: ARM cross compiler
- if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
- uses: actions-rs/cargo@v1
- with:
- command: install
- args: cross
-
- - name: ARM gcc
- if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
- run: sudo apt install gcc-aarch64-linux-gnu
-
- - name: Musl gcc
- if: ${{ endsWith(matrix.target, '-musl') }}
- run: sudo apt install musl musl-tools
-
- - name: Run cross build
- if: ${{ startsWith(matrix.target, 'aarch64-unknown-linux-') }}
- shell: bash
- run: cross build --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
-
- - name: Run build
- if: ${{ !startsWith(matrix.target, 'aarch64-unknown-linux-') }}
- uses: actions-rs/cargo@v1
- with:
- command: build
- args: --bin=jrsonnet --release --target ${{ matrix.target }} ${{ env.EXPERIMENTAL_FLAGS }}
-
- - name: Package
- shell: bash
- run: |
- cd target/${{ matrix.target }}/release
-
- cp ${{ matrix.bin }} ../../../${{ matrix.name }}
- cd -
-
- - name: Generate SHA-256
- run: shasum -a 256 ${{ matrix.name }} > ${{ matrix.name }}.sha256
-
- - name: Publish
- uses: softprops/action-gh-release@v1
- with:
- draft: true
- files: "jrsonnet*"
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
.github/workflows/test.yamldiffbeforeafterboth--- /dev/null
+++ b/.github/workflows/test.yaml
@@ -0,0 +1,21 @@
+name: Test
+on: [ workflow_call ]
+jobs:
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4.1.4
+ - uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
+ - run: cargo test --all
+ test-stable:
+ name: Test on stable
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4.1.4
+ - name: Install the latest stable toolchain
+ uses: actions-rust-lang/setup-rust-toolchain@v1.8.0
+ with:
+ toolchain: stable
+ - run: cargo test --all
+
Cargo.lockdiffbeforeafterboth157 packageslockfile v3
Might be heavy and slow!
ahash
0.8.9crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd713b3834d76b85304d4d525563c1276e2e30dc97cc67bfb4585a4a29fc2c89fused byaho-corasick
1.1.2crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0depends onallocator-api2
0.2.16crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5used byannotate-snippets
0.10.1crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0a433302f833baa830c0092100c481c7ea768c5981a3c36f549517a502f246dddepends onanstream
0.6.12crates.io↘ 6↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum96b09b5178381e0874812a9b157f7fe84982617e48f71f4e3235482775e5b540depends onused byanstyle
1.0.6crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8901269c6307e8d93993578286ac0edf7f195079ffff5ebdeea6a59ffb7e36bcanstyle-parse
0.2.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc75ac65da39e5fe5ab759307499ddad880d724eed2f6ce5b5e8a26f4f387928cdepends onused byanstyle-query
1.0.2crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume28923312444cdd728e4738b3f9c9cac739500909bb3d3c94b43551b16517648depends onused byanstyle-wincon
3.0.2crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1cd54b81ec8d6180e24654d0b371ad22fc3dd083b6ff8ba325b72e00c87660a7depends onused byanyhow
1.0.80crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1autocfg
1.1.0crates.io↘ 0↖ 5sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fabase64
0.21.7crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567used bybeef
0.5.2crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1used bybincode
1.3.3crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcaddepends onbitflags
1.3.2crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718aused bybitflags
2.4.2crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddfused byblock-buffer
0.10.4crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71depends onused bybumpalo
3.15.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc764d619ca78fccbf3069b37bd7af92577f044bb15236036662d79b6559f25b7used bycc
1.0.83crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0depends onused bycfg-if
1.0.0crates.io↘ 0↖ 6sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbaf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fdclap
4.5.1crates.io↘ 2↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc918d541ef2913577a0f9566e9ce27cb35b6df072075769e0b26cb5a554520dadepends onclap_builder
4.5.1crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9f3e7391dad68afb0c2ede1bf619f579a3dc9c2ec67f089baa397123a2f3d1ebused byclap_complete
4.5.1crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum885e4d7d5af40bfb99ae6f9433e292feac98d452dcb3ec3d25dfe7552b77da8cdepends onused byclap_derive
4.5.0crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum307bc0538d5f0f83b8248db3087aa92fe504e4691294d0c96c0eabc33f47ba47used byclap_lex
0.7.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ceused bycolorchoice
1.0.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumacbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7used byconsole
0.15.8crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4ebused bycountme
3.0.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636used bycpufeatures
0.2.12crates.io↘ 1↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504depends oncrypto-common
0.1.6crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3depends onused byderivative
2.2.0crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770bdepends ondigest
0.10.7crates.io↘ 2↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292depends ondprint-core
0.65.0crates.io↘ 6↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb569f4e3085ae957ecc37588e6b2227791b72745434eae966db29e122ba27f0dused bydrop_bomb
0.1.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1either
1.10.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum11157ac094ffbdde99aa67b23417ebdd801842852b500e395a45a9c0aac03e4aused byencode_unicode
0.3.6crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831fused byequivalent
1.0.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5used byerrno
0.3.8crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245depends onused byfastrand
2.0.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5used byfnv
1.0.7crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1used bygeneric-array
0.14.7crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9adepends ongetrandom
0.2.12crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum190092ea657667030ac6a35e305e62fc4dd69fd98ac98631e5d3a2b1575a12b5used byhashbrown
0.12.3crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888used byhashbrown
0.14.3crates.io↘ 2↖ 5sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604depends onheck
0.4.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8used byhi-doc
0.1.1crates.io↘ 5↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd2390a0c9be1370168ef9557833bad3bfa37e1720df61d7f7034f18c07b4e006indexmap
1.9.3crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99depends onused byindexmap
2.2.3crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum233cf39063f058ea2caae4091bf4a3ef70a653afbc026f5c4a4135d114e3c177used byindoc
2.0.4crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8insta
1.35.1crates.io↘ 5↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7c985c1bef99cf13c58fade470483d81a2bfe846ebde60ed28cc2dddec2df9e2itertools
0.12.1crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569depends onused byitoa
1.0.10crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4cused byjrsonnet-cli
0.5.0-pre96workspace↘ 5↖ 1jrsonnet-evaluator
0.5.0-pre96workspace↘ 18↖ 5depends on- annotate-snippets
0.10.1 - anyhow
1.0.80 - bincode
1.3.3 - derivative
2.2.0 - hashbrown
0.14.3 - hi-doc
0.1.1 - jrsonnet-gcmodule
0.3.6 - jrsonnet-interner
0.5.0-pre96 - jrsonnet-macros
0.5.0-pre96 - jrsonnet-parser
0.5.0-pre96 - jrsonnet-types
0.5.0-pre96 - num-bigint
0.4.4 - pathdiff
0.2.1 - rustc-hash
1.1.0 - serde
1.0.197 - static_assertions
1.1.0 - strsim
0.11.0 - thiserror
1.0.57
- annotate-snippets
jrsonnet-fmt
0.5.0-pre96workspace↘ 8↖ 0jrsonnet-gcmodule
0.3.6crates.io↘ 2↖ 9sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc11fb98940a7f8b419619e98ccbf2e094671a5fdd0e277f05acd373071186d57jrsonnet-gcmodule-derive
0.3.6crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6bee774b7ba86fc86ee84482cd6732aa860ae3559f9827c65efd75c51e66ac76depends onused byjrsonnet-interner
0.5.0-pre96workspace↘ 5↖ 2jrsonnet-macros
0.5.0-pre96workspace↘ 3↖ 2jrsonnet-parser
0.5.0-pre96workspace↘ 6↖ 5jrsonnet-rowan-parser
0.5.0-pre96workspace↘ 7↖ 1jrsonnet-stdlib
0.5.0-pre96workspace↘ 18↖ 3depends onjrsonnet-types
0.5.0-pre96workspace↘ 2↖ 1depends onkeccak
0.1.5crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654depends onused bylazy_static
1.4.0crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646libc
0.2.153crates.io↘ 0↖ 9sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bdlibjsonnet
0.5.0-pre96workspace↘ 4↖ 0linked-hash-map
0.5.6crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770fused bylinux-raw-sys
0.4.13crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539cused bylock_api
0.4.11crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45depends onused bylogos
0.14.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum161971eb88a0da7ae0c333e1063467c5b5727e7fb6b710b8db4814eade3a42e8depends onlogos-codegen
0.14.0crates.io↘ 7↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8e31badd9de5131fdf4921f6473d457e3dd85b11b7f091ceb50e4df7c3eeb12aused bylogos-derive
0.14.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1c2a69b3eb68d5bd595107c9ee58d7e07fe2bb5e360cc85b0f084dedac80de0adepends onused bylru
0.12.2crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumdb2c024b41519440580066ba82aab04092b333e09066a5eb86c7c4890df31f22depends onused bymd5
0.7.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771used bymemchr
2.7.1crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149memoffset
0.9.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406cdepends onused bymimalloc-sys
0.1.6crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4aa3cefb626f6ae3d0b2f71c5378c89d2b1d4d7bc246b0ca9a7ee61a4daad291depends onused bymimallocator
0.1.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum2d44fe4ebf6b538fcf39d9975c2b90bb3232d1ba8e8bffeacd004f27b20c577adepends onused bynum-bigint
0.4.4crates.io↘ 4↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0num-integer
0.1.46crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858fdepends onused bynum-traits
0.2.18crates.io↘ 1↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumda0df0e5185db44f69b44f26786fe401b6c293d1907744beaa7fa62b2e5a517adepends ononce_cell
1.19.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92used byparking_lot
0.12.1crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228fdepends onused byparking_lot_core
0.9.9crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4c42a9226546d68acdd9c0a280d17ce19bfe27a46bf68784e4066115788d008eused bypathdiff
0.2.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44ddpeg
0.8.2crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum400bcab7d219c38abf8bd7cc2054eb9bbbd4312d66f6a5557d572a203f646f61depends onpeg-macros
0.8.2crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum46e61cce859b76d19090f62da50a9fe92bab7c2a5f09e183763559a2ac392c90used bypeg-runtime
0.8.2crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum36bae92c60fa2398ce4678b98b2c4b5a7c61099961ca1fa305aec04a9ad28922used byppv-lite86
0.2.17crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6deused byproc-macro2
1.0.78crates.io↘ 1↖ 15sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aaedepends onquote
1.0.35crates.io↘ 1↖ 14sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868efdepends onrand
0.8.5crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404used byrand_chacha
0.3.1crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88depends onused byrand_core
0.6.4crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922cdepends onused byrandom_color
0.8.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0085421bc527effa7ed6d46bac0a28734663c47abe03d80a5e78e441fad85196depends onused byrange-map
0.2.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum12a5a2d6c7039059af621472a4389be1215a816df61aa4d531cfe85264aee95fdepends onused byredox_syscall
0.4.1crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aadepends onused byregex
1.10.3crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15used byregex-automata
0.4.5crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5bb987efffd3c6d0d8f5f89510bb458559eab11e4f869acb20bf845e016259cdused byregex-syntax
0.8.2crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9frowan
0.15.15crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum32a58fa8a7ccff2aec4f39cc45bf5f985cec7125ab271cf681c279fd00192b49rustc-hash
1.1.0crates.io↘ 0↖ 5sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2rustix
0.38.31crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6ea3e1a662af26cd7a3ba09c0297a31af215563ecf42817c98df621387f4e949used byryu
1.0.17crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1scopeguard
1.2.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49used byserde
1.0.197crates.io↘ 1↖ 12sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3fb1c873e1b9b056a4dc4c0c198b24c3ffa059243875552b2bd0933b1aee4ce2depends onserde_derive
1.0.197crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7eb0b34b42edc17f6b7cac84a52a1c5f0e1bb2227e997ca9011ea3dd34e8610bdepends onused byserde_json
1.0.114crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc5f09b1bd632ef549eaa9f60a1f8de742bdbc698e6cee2095fc84dde5f549ae0depends onserde_yaml_with_quirks
0.8.24crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum47c5983eba86eae2d0058c35fb1065ccffb23af7f8965871069269088098321aused bysha1
0.10.6crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6badepends onused bysha2
0.10.8crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8depends onused bysha3
0.10.8crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60depends onused bysimilar
2.4.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum32fea41aca09ee824cc9724996433064c89f7777e60762749a4170a14abbfa21used bysmallvec
1.13.2crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67static_assertions
1.1.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543fstrsim
0.11.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5ee073c9e4cd00e28217186dbe12796d692868f432bf2e97ee73bed0c56dfa01structdump
0.2.0crates.io↘ 3↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb0570327507bf281d8a6e6b0d4c082b12cb6bcee27efce755aa5efacd44076c1structdump-derive
0.2.0crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum29cc0b59cfa11f1bceda09a9a7e37e6a6c3138575fd24ade8aa9af6d09aedf28depends onused bysyn
1.0.109crates.io↘ 3↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237syn
2.0.50crates.io↘ 3↖ 6sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum74f1bdc9872430ce9b75da68329d1c1746faf50ffac5f19e02b71e37ff881ffbtempfile
3.10.0crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma365e8cd18e44762ef95d87f284f4b5cd04107fec2ff3052bd6a3e6069669e67used bytests
0.1.0workspace↘ 4↖ 0text-size
1.1.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf18aa187839b2bdb1ad2fa35ead8c4c2976b64e4363c386d45ac0f7ee85c9233used bythiserror
1.0.57crates.io↘ 1↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24bdepends onthiserror-impl
1.0.57crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81depends onused bytypenum
1.17.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825ungrammar
1.16.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma3e5df347f0bf3ec1d670aad6ca5c6a1859cd9ea61d2113125794654ccced68fused byunicode-ident
1.0.12crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4bunicode-width
0.1.11crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85utf8parse
0.2.1crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370aversion_check
0.9.4crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483fwasi
0.11.0+wasi-snapshot-preview1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423used bywindows_aarch64_gnullvm
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8used bywindows_aarch64_gnullvm
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumcb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015eaused bywindows_aarch64_msvc
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumdc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bcused bywindows_aarch64_msvc
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075efused bywindows_i686_gnu
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743eused bywindows_i686_gnu
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313used bywindows_i686_msvc
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406used bywindows_i686_msvc
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9aused bywindows_x86_64_gnu
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718eused bywindows_x86_64_gnu
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befdused bywindows_x86_64_gnullvm
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044ccused bywindows_x86_64_gnullvm
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949eused bywindows_x86_64_msvc
0.48.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538used bywindows_x86_64_msvc
0.52.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumdff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04used bywindows-sys
0.52.0crates.io↘ 1↖ 6sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33ddepends onwindows-targets
0.48.5crates.io↘ 7↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940cdepends onused bywindows-targets
0.52.0crates.io↘ 7↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cddepends onused byxshell
0.2.5crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumce2107fe03e558353b4c71ad7626d58ed82efaf56c54134228608893c77023addepends onused byxshell-macros
0.2.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7e2c411759b501fb9501aac2b1b2d287a6e93e5bdcf13c25306b23e1b716dd0eused byxtask
0.1.0workspace↘ 7↖ 0yaml-rust
0.4.5crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85depends onzerocopy
0.7.32crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716bedepends onused byzerocopy-derive
0.7.32crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6depends onused by
150 packageslockfile v3
Might be heavy and slow!
ahash
0.8.11crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011used byaho-corasick
1.1.3crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916depends onallocator-api2
0.2.18crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5c6cb57a04249c6480766f7f7cef5467412af1490f8d1e243141daddada3264fused byannotate-snippets
0.10.2crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6d9b665789884a7e8fb06c84b295e923b03ca51edbb7d08f91a6a50322ecbfe6depends onanstream
0.6.14crates.io↘ 7↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum418c75fa768af9c03be99d17643f93f79bbba589895012a80e3452a19ddda15bdepends onused byanstyle
1.0.7crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum038dfcf04a5feb68e9c60b21c9625a54c2c0616e79b72b0fd87075a056ae1d1banstyle-parse
0.2.4crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc03a11a9034d92058ceb6ee011ce58af4a9bf61491aa7e1e59ecd24bd40d22d4depends onused byanstyle-query
1.0.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma64c907d4e79225ac72e2a354c9ce84d50ebb4586dee56c82b3ee73004f537f5depends onused byanstyle-wincon
3.0.3crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum61a38449feb7068f52bb06c12759005cf459ee52bb4adc1d5a7c4322d716fb19depends onused byanyhow
1.0.83crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum25bdb32cbbdce2b519a9cd7df3a678443100e265d5e25ca763b7572a5104f5f3autocfg
1.3.0crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0base64
0.21.7crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9d297deb1925b89f2ccc13d7635fa0714f12c87adce1c75356b39ca9b7178567used bybeef
0.5.2crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3a8241f3ebb85c056b509d4327ad0358fbbba6ffb340bf388f26350aeda225b1used bybincode
1.3.3crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcaddepends onbitflags
2.5.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumcf4b9d6a944f767f8e5e0db018570623c85f3d925ac718db4e06d0187adb21c1block-buffer
0.10.4crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71depends onused bybumpalo
3.16.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012cused bycc
1.0.97crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum099a5357d84c4c61eb35fc8eafa9a79a902c2f76911e5747ced4e032edd8d9b4used bycfg-if
1.0.0crates.io↘ 0↖ 6sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbaf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fdclap
4.5.4crates.io↘ 2↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum90bc066a67923782aa8515dbaea16946c5bcc5addbd668bb80af688e53e548a0depends onclap_builder
4.5.2crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumae129e2e766ae0ec03484e609954119f123cc1fe650337e155d03b022f24f7b4used byclap_complete
4.5.2crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumdd79504325bf38b10165b02e89b4347300f855f273c4cb30c4a3209e6583275edepends onused byclap_derive
4.5.4crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum528131438037fd55894f62d6e9f068b8f45ac57ffa77517819645d10aed04f64used byclap_lex
0.7.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum98cc8fbded0c607b7ba9dd60cd98df59af97e84d24e49c8557331cfc26d301ceused bycolorchoice
1.0.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0b6a852b24ab71dffc585bcb46eaf7959d175cb865a7152e35b348d1b2960422used byconsole
0.15.8crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0e1f83fc076bd6dd27517eacdf25fef6c4dfe5f1d7448bafaaf3a26f13b5e4ebused bycountme
3.0.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636used bycpufeatures
0.2.12crates.io↘ 1↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum53fe5e26ff1b7aef8bca9c6080520cfb8d9333c7568e1829cef191a9723e5504depends oncrypto-common
0.1.6crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3depends onused byderivative
2.2.0crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770bdepends ondigest
0.10.7crates.io↘ 2↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292depends ondprint-core
0.65.0crates.io↘ 6↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb569f4e3085ae957ecc37588e6b2227791b72745434eae966db29e122ba27f0dused bydrop_bomb
0.1.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9bda8e21c04aca2ae33ffc2fd8c23134f3cac46db123ba97bd9d3f3b8a4a85e1either
1.11.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma47c1c47d2f5964e29c61246e81db715514cd532db6b5116a25ea3c03d6780a2used byencode_unicode
0.3.6crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831fused byequivalent
1.0.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5used byerrno
0.3.9crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820badepends onused byfastrand
2.1.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51aused byfnv
1.0.7crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1used bygeneric-array
0.14.7crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9adepends ongetrandom
0.2.15crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7used byhashbrown
0.12.3crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888used byhashbrown
0.14.5crates.io↘ 2↖ 5sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1depends onheck
0.5.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55eaused byhi-doc
0.1.1crates.io↘ 5↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd2390a0c9be1370168ef9557833bad3bfa37e1720df61d7f7034f18c07b4e006indexmap
1.9.3crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99depends onused byindexmap
2.2.6crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum168fb715dda47215e360912c096649d23d58bf392ac62f73919e831745e40f26used byindoc
2.0.5crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5insta
1.38.0crates.io↘ 4↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3eab73f58e59ca6526037208f0e98851159ec1633cf17b6cd2e1f2c3fd5d53ccis_terminal_polyfill
1.70.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf8478577c03552c21db0e2724ffb8986a5ce7af88107e6be5d2ee6e158c12800used byitertools
0.12.1crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumba291022dbbd398a455acf126c1e341954079855bc60dfdda641363bd6922569depends onused byitoa
1.0.11crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695bused byjrsonnet-cli
0.5.0-pre96workspace↘ 5↖ 1jrsonnet-evaluator
0.5.0-pre96workspace↘ 18↖ 5depends on- annotate-snippets
0.10.2 - anyhow
1.0.83 - bincode
1.3.3 - derivative
2.2.0 - hashbrown
0.14.5 - hi-doc
0.1.1 - jrsonnet-gcmodule
0.3.6 - jrsonnet-interner
0.5.0-pre96 - jrsonnet-macros
0.5.0-pre96 - jrsonnet-parser
0.5.0-pre96 - jrsonnet-types
0.5.0-pre96 - num-bigint
0.4.5 - pathdiff
0.2.1 - rustc-hash
1.1.0 - serde
1.0.201 - static_assertions
1.1.0 - strsim
0.11.1 - thiserror
1.0.60
- annotate-snippets
jrsonnet-fmt
0.5.0-pre96workspace↘ 8↖ 0jrsonnet-gcmodule
0.3.6crates.io↘ 2↖ 9sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc11fb98940a7f8b419619e98ccbf2e094671a5fdd0e277f05acd373071186d57jrsonnet-gcmodule-derive
0.3.6crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6bee774b7ba86fc86ee84482cd6732aa860ae3559f9827c65efd75c51e66ac76depends onused byjrsonnet-interner
0.5.0-pre96workspace↘ 5↖ 2jrsonnet-macros
0.5.0-pre96workspace↘ 3↖ 2jrsonnet-parser
0.5.0-pre96workspace↘ 6↖ 5jrsonnet-rowan-parser
0.5.0-pre96workspace↘ 7↖ 1jrsonnet-stdlib
0.5.0-pre96workspace↘ 18↖ 3depends onjrsonnet-types
0.5.0-pre96workspace↘ 2↖ 1depends onkeccak
0.1.5crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumecc2af9a1119c51f12a14607e783cb977bde58bc069ff0c3da1095e635d70654depends onused bylazy_static
1.4.0crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646libc
0.2.154crates.io↘ 0↖ 8sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumae743338b92ff9146ce83992f766a31066a91a8c84a45e0e9f21e7cf6de6d346libjsonnet
0.5.0-pre96workspace↘ 4↖ 0linked-hash-map
0.5.6crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770fused bylinux-raw-sys
0.4.13crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum01cda141df6706de531b6c46c3a33ecca755538219bd484262fa09410c13539cused bylock_api
0.4.12crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17depends onused bylogos
0.14.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum161971eb88a0da7ae0c333e1063467c5b5727e7fb6b710b8db4814eade3a42e8depends onlogos-codegen
0.14.0crates.io↘ 7↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8e31badd9de5131fdf4921f6473d457e3dd85b11b7f091ceb50e4df7c3eeb12aused bylogos-derive
0.14.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1c2a69b3eb68d5bd595107c9ee58d7e07fe2bb5e360cc85b0f084dedac80de0adepends onused bylru
0.12.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd3262e75e648fce39813cb56ac41f3c3e3f65217ebf3844d818d1f9398cfb0dcdepends onused bymd5
0.7.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771used bymemchr
2.7.2crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1dmemoffset
0.9.1crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218adepends onused bymimalloc-sys
0.1.6crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4aa3cefb626f6ae3d0b2f71c5378c89d2b1d4d7bc246b0ca9a7ee61a4daad291depends onused bymimallocator
0.1.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum2d44fe4ebf6b538fcf39d9975c2b90bb3232d1ba8e8bffeacd004f27b20c577adepends onused bynum-bigint
0.4.5crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc165a9ab64cf766f73521c0dd2cfdff64f488b8f0b3e621face3462d3db536d7num-integer
0.1.46crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858fdepends onused bynum-traits
0.2.19crates.io↘ 1↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841depends ononce_cell
1.19.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92used byparking_lot
0.12.2crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7e4af0ca4f6caed20e900d564c242b8e5d4903fdacf31d3daf527b66fe6f42fbdepends onused byparking_lot_core
0.9.10crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8used bypathdiff
0.2.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44ddpeg
0.8.3crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8a625d12ad770914cbf7eff6f9314c3ef803bfe364a1b20bc36ddf56673e71e5depends onpeg-macros
0.8.3crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf241d42067ed3ab6a4fece1db720838e1418f36d868585a27931f95d6bc03582used bypeg-runtime
0.8.3crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume3aeb8f54c078314c2065ee649a7241f46b9d8e418e1a9581ba0546657d7aa3aused byppv-lite86
0.2.17crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6deused byproc-macro2
1.0.82crates.io↘ 1↖ 15sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8ad3d49ab951a01fbaafe34f2ec74122942fe18a3f9814c3268f1bb72042131bdepends onquote
1.0.36crates.io↘ 1↖ 14sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7depends onrand
0.8.5crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404used byrand_chacha
0.3.1crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88depends onused byrand_core
0.6.4crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922cdepends onused byrandom_color
0.8.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0085421bc527effa7ed6d46bac0a28734663c47abe03d80a5e78e441fad85196depends onused byrange-map
0.2.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum12a5a2d6c7039059af621472a4389be1215a816df61aa4d531cfe85264aee95fdepends onused byredox_syscall
0.5.1crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum469052894dcb553421e483e4209ee581a45100d31b4018de03e5a7ad86374a7edepends onused byregex
1.10.4crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4cused byregex-automata
0.4.6crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaeaused byregex-syntax
0.8.3crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumadad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56rowan
0.15.15crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum32a58fa8a7ccff2aec4f39cc45bf5f985cec7125ab271cf681c279fd00192b49rustc-hash
1.1.0crates.io↘ 0↖ 5sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2rustix
0.38.34crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730fused byryu
1.0.18crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9fscopeguard
1.2.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49used byserde
1.0.201crates.io↘ 1↖ 12sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum780f1cebed1629e4753a1a38a3c72d30b97ec044f0aef68cb26650a3c5cf363cdepends onserde_derive
1.0.201crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc5e405930b9796f1c00bee880d03fc7e0bb4b9a11afc776885ffe84320da2865depends onused byserde_json
1.0.117crates.io↘ 3↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum455182ea6142b14f93f4bc5320a2b31c1f266b66a4a5c858b013302a5d8cbfc3depends onserde_yaml_with_quirks
0.8.24crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum47c5983eba86eae2d0058c35fb1065ccffb23af7f8965871069269088098321aused bysha1
0.10.6crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6badepends onused bysha2
0.10.8crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8depends onused bysha3
0.10.8crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60depends onused bysimilar
2.5.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfa42c91313f1d05da9b26f267f931cf178d4aba455b4c4622dd7355eb80c6640used bysmallvec
1.13.2crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67static_assertions
1.1.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543fstrsim
0.11.1crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4fstructdump
0.2.0crates.io↘ 3↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb0570327507bf281d8a6e6b0d4c082b12cb6bcee27efce755aa5efacd44076c1structdump-derive
0.2.0crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum29cc0b59cfa11f1bceda09a9a7e37e6a6c3138575fd24ade8aa9af6d09aedf28depends onused bysyn
1.0.109crates.io↘ 3↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237syn
2.0.61crates.io↘ 3↖ 6sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc993ed8ccba56ae856363b1845da7266a7cb78e1d146c8a32d54b45a8b831fc9tempfile
3.10.1crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1used bytests
0.1.0workspace↘ 4↖ 0text-size
1.1.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf18aa187839b2bdb1ad2fa35ead8c4c2976b64e4363c386d45ac0f7ee85c9233used bythiserror
1.0.60crates.io↘ 1↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum579e9083ca58dd9dcf91a9923bb9054071b9ebbd800b342194c9feb0ee89fc18depends onthiserror-impl
1.0.60crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksume2470041c06ec3ac1ab38d0356a6119054dedaea53e12fbefc0de730a1c08524depends onused bytypenum
1.17.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825ungrammar
1.16.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma3e5df347f0bf3ec1d670aad6ca5c6a1859cd9ea61d2113125794654ccced68fused byunicode-ident
1.0.12crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4bunicode-width
0.1.12crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum68f5e5f3158ecfd4b8ff6fe086db7c8467a2dfdac97fe420f2b7c4aa97af66d6utf8parse
0.2.1crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370aversion_check
0.9.4crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483fwasi
0.11.0+wasi-snapshot-preview1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423used bywindows_aarch64_gnullvm
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263used bywindows_aarch64_msvc
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6used bywindows_i686_gnu
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670used bywindows_i686_gnullvm
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9used bywindows_i686_msvc
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumdb3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bfused bywindows_x86_64_gnu
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9used bywindows_x86_64_gnullvm
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596used bywindows_x86_64_msvc
0.52.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0used bywindows-sys
0.52.0crates.io↘ 1↖ 6sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33ddepends onwindows-targets
0.52.5crates.io↘ 8↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7ebdepends onxshell
0.2.6crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6db0ab86eae739efd1b054a8d3d16041914030ac4e01cd1dca0cf252fd8b6437depends onused byxshell-macros
0.2.6crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9d422e8e38ec76e2f06ee439ccc765e9c6a9638b9e7c9f2e8255e4d41e8bd852used byxtask
0.1.0workspace↘ 7↖ 0yaml-rust
0.4.5crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85depends onused byzerocopy
0.7.34crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumae87e3fcd617500e5d106f0380cf7b77f3c6092aae37191433159dda23cfb087depends onused byzerocopy-derive
0.7.34crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum15e934569e47891f7d9411f1a451d947a60e000ab3bd24fbb970f000387d1b3bdepends onused by
cmds/jrsonnet-fmt/src/tests.rsdiffbeforeafterboth--- a/cmds/jrsonnet-fmt/src/tests.rs
+++ b/cmds/jrsonnet-fmt/src/tests.rs
@@ -23,7 +23,7 @@
#[test]
fn complex_comments_snapshot() {
- insta::assert_display_snapshot!(reformat(indoc!(
+ insta::assert_snapshot!(reformat(indoc!(
"{
comments: {
_: '',
crates/jrsonnet-cli/src/tla.rsdiffbeforeafterboth--- a/crates/jrsonnet-cli/src/tla.rs
+++ b/crates/jrsonnet-cli/src/tla.rs
@@ -14,7 +14,7 @@
pub struct TlaOpts {
/// Add top level string argument.
/// Top level arguments will be passed to function before manifestification stage.
- /// This is preferred to ExtVars method.
+ /// This is preferred to [`ExtVars`] method.
/// If [=data] is not set then it will be read from `name` env variable.
#[clap(long, short = 'A', name = "name[=tla data]", number_of_values = 1)]
tla_str: Vec<ExtStr>,
crates/jrsonnet-evaluator/src/arr/mod.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/arr/mod.rs
+++ b/crates/jrsonnet-evaluator/src/arr/mod.rs
@@ -7,8 +7,7 @@
use crate::{function::FuncVal, gc::TraceBox, tb, Context, Result, Thunk, Val};
mod spec;
-pub use spec::ArrayLike;
-pub(crate) use spec::*;
+pub use spec::{ArrayLike, *};
/// Represents a Jsonnet array value.
#[derive(Debug, Clone, Trace)]
crates/jrsonnet-evaluator/src/function/arglike.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/function/arglike.rs
+++ b/crates/jrsonnet-evaluator/src/function/arglike.rs
@@ -76,13 +76,6 @@
}
}
-mod sealed {
- /// Implemented for `ArgsLike`, where only unnamed arguments present
- pub trait Unnamed {}
- /// Implemented for `ArgsLike`, where only named arguments present
- pub trait Named {}
-}
-
pub trait ArgsLike {
fn unnamed_len(&self) -> usize;
fn unnamed_iter(
@@ -182,7 +175,6 @@
}
}
-impl<V: ArgLike, S> sealed::Named for HashMap<IStr, V, S> {}
impl<V: ArgLike, S> ArgsLike for HashMap<IStr, V, S> {
fn unnamed_len(&self) -> usize {
0
@@ -247,7 +239,6 @@
macro_rules! impl_args_like {
($count:expr; $($gen:ident)*) => {
- impl<$($gen: ArgLike,)*> sealed::Unnamed for ($($gen,)*) {}
impl<$($gen: ArgLike,)*> ArgsLike for ($($gen,)*) {
fn unnamed_len(&self) -> usize {
$count
@@ -279,7 +270,6 @@
}
impl<$($gen: ArgLike,)*> OptionalContext for ($($gen,)*) where $($gen: OptionalContext),* {}
- impl<$($gen: ArgLike,)*> sealed::Named for ($((IStr, $gen),)*) {}
impl<$($gen: ArgLike,)*> ArgsLike for ($((IStr, $gen),)*) {
fn unnamed_len(&self) -> usize {
0
crates/jrsonnet-evaluator/src/integrations/serde.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/integrations/serde.rs
+++ b/crates/jrsonnet-evaluator/src/integrations/serde.rs
@@ -346,9 +346,9 @@
type Ok = Val;
type Error = JrError;
- fn serialize_key<T: ?Sized>(&mut self, key: &T) -> Result<()>
+ fn serialize_key<T>(&mut self, key: &T) -> Result<()>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
let key = key.serialize(IntoValSerializer)?;
let key = key.to_string()?;
@@ -356,9 +356,9 @@
Ok(())
}
- fn serialize_value<T: ?Sized>(&mut self, value: &T) -> Result<()>
+ fn serialize_value<T>(&mut self, value: &T) -> Result<()>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
let key = self.key.take().expect("no serialize_key called");
let value = value.serialize(IntoValSerializer)?;
@@ -367,10 +367,10 @@
}
// TODO: serialize_key/serialize_value
- fn serialize_entry<K: ?Sized, V: ?Sized>(&mut self, key: &K, value: &V) -> Result<()>
+ fn serialize_entry<K, V>(&mut self, key: &K, value: &V) -> Result<()>
where
- K: Serialize,
- V: Serialize,
+ K: ?Sized + Serialize,
+ V: ?Sized + Serialize,
{
let key = key.serialize(IntoValSerializer)?;
let key = key.to_string()?;
@@ -394,9 +394,9 @@
type Ok = Val;
type Error = JrError;
- fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<()>
+ fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
SerializeMap::serialize_entry(self, key, value)?;
Ok(())
@@ -411,9 +411,9 @@
type Error = JrError;
- fn serialize_field<T: ?Sized>(&mut self, key: &'static str, value: &T) -> Result<()>
+ fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
SerializeMap::serialize_entry(self, key, value)?;
Ok(())
@@ -504,9 +504,9 @@
Ok(Val::Null)
}
- fn serialize_some<T: ?Sized>(self, value: &T) -> Result<Val>
+ fn serialize_some<T>(self, value: &T) -> Result<Val>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
value.serialize(self)
}
@@ -528,14 +528,14 @@
Ok(Val::Str(variant.into()))
}
- fn serialize_newtype_struct<T: ?Sized>(self, _name: &'static str, value: &T) -> Result<Val>
+ fn serialize_newtype_struct<T>(self, _name: &'static str, value: &T) -> Result<Val>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
value.serialize(self)
}
- fn serialize_newtype_variant<T: ?Sized>(
+ fn serialize_newtype_variant<T>(
self,
_name: &'static str,
_variant_index: u32,
@@ -543,7 +543,7 @@
value: &T,
) -> Result<Val>
where
- T: Serialize,
+ T: ?Sized + Serialize,
{
let mut out = ObjValue::builder_with_capacity(1);
let value = value.serialize(self)?;
crates/jrsonnet-evaluator/src/manifest.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/manifest.rs
+++ b/crates/jrsonnet-evaluator/src/manifest.rs
@@ -1,4 +1,4 @@
-use std::{borrow::Cow, fmt::Write};
+use std::{borrow::Cow, fmt::Write, ptr};
use crate::{bail, Result, ResultExt, State, Val};
@@ -404,7 +404,7 @@
pub fn escape_string_json_buf(value: &str, buf: &mut String) {
// Safety: we only write correct utf-8 in this function
- let buf: &mut Vec<u8> = unsafe { &mut *(buf as *mut String).cast::<Vec<u8>>() };
+ let buf: &mut Vec<u8> = unsafe { &mut *ptr::from_mut(buf).cast::<Vec<u8>>() };
let bytes = value.as_bytes();
// Perfect for ascii strings, removes any reallocations
crates/jrsonnet-evaluator/src/obj.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/obj.rs
+++ b/crates/jrsonnet-evaluator/src/obj.rs
@@ -88,7 +88,7 @@
}
}
-use ordering::*;
+use ordering::{FieldIndex, FieldSortKey, SuperDepth};
// 0 - add
// 12 - visibility
crates/jrsonnet-evaluator/src/stack.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/stack.rs
+++ b/crates/jrsonnet-evaluator/src/stack.rs
@@ -8,6 +8,7 @@
}
#[cfg(feature = "nightly")]
+#[allow(clippy::thread_local_initializer_can_be_made_const)]
#[thread_local]
static STACK_LIMIT: StackLimit = StackLimit {
max_stack_size: Cell::new(200),
@@ -15,9 +16,11 @@
};
#[cfg(not(feature = "nightly"))]
thread_local! {
- static STACK_LIMIT: StackLimit = StackLimit {
- max_stack_size: Cell::new(200),
- current_depth: Cell::new(0),
+ static STACK_LIMIT: StackLimit = const {
+ StackLimit {
+ max_stack_size: Cell::new(200),
+ current_depth: Cell::new(0),
+ }
};
}
@@ -40,7 +43,7 @@
fn drop(&mut self) {
STACK_LIMIT
.current_depth
- .set(STACK_LIMIT.current_depth.get() - 1)
+ .set(STACK_LIMIT.current_depth.get() - 1);
}
#[cfg(not(feature = "nightly"))]
fn drop(&mut self) {
@@ -75,7 +78,7 @@
impl Drop for StackDepthLimitOverrideGuard {
#[cfg(feature = "nightly")]
fn drop(&mut self) {
- STACK_LIMIT.max_stack_size.set(self.old_limit)
+ STACK_LIMIT.max_stack_size.set(self.old_limit);
}
#[cfg(not(feature = "nightly"))]
fn drop(&mut self) {
crates/jrsonnet-evaluator/src/typed/conversions.rsdiffbeforeafterboth--- a/crates/jrsonnet-evaluator/src/typed/conversions.rs
+++ b/crates/jrsonnet-evaluator/src/typed/conversions.rs
@@ -143,6 +143,7 @@
_ => unreachable!(),
}
}
+ #[allow(clippy::cast_lossless)]
fn into_untyped(value: Self) -> Result<Val> {
Ok(Val::Num(value as f64))
}
@@ -199,6 +200,7 @@
}
}
+ #[allow(clippy::cast_lossless)]
fn into_untyped(value: Self) -> Result<Val> {
Ok(Val::Num(value.0 as f64))
}
crates/jrsonnet-rowan-parser/src/marker.rsdiffbeforeafterboth--- a/crates/jrsonnet-rowan-parser/src/marker.rs
+++ b/crates/jrsonnet-rowan-parser/src/marker.rs
@@ -22,6 +22,7 @@
pub struct FinishedRanger {
pub start_token: usize,
+ #[allow(dead_code)]
pub end_token: usize,
}
impl FinishedRanger {
crates/jrsonnet-rowan-parser/src/tests.rsdiffbeforeafterboth--- a/crates/jrsonnet-rowan-parser/src/tests.rs
+++ b/crates/jrsonnet-rowan-parser/src/tests.rs
@@ -1,4 +1,5 @@
-#![cfg(never)]
+// `never`
+#![cfg(any())]
use miette::{
Diagnostic, GraphicalReportHandler, GraphicalTheme, LabeledSpan, ThemeCharacters, ThemeStyles,
crates/jrsonnet-stdlib/Cargo.tomldiffbeforeafterboth--- a/crates/jrsonnet-stdlib/Cargo.toml
+++ b/crates/jrsonnet-stdlib/Cargo.toml
@@ -12,19 +12,23 @@
[features]
default = ["codegenerated-stdlib"]
-# Speed-up initialization by generating code for parsed stdlib, instead
-# of invoking parser for it
+# Speed-up initialization by generating code for parsed stdlib,
+# instead of invoking parser for it.
+# This is mutually exclusive with `serialized-stdlib`.
codegenerated-stdlib = ["jrsonnet-parser/structdump"]
+# Use the embedded serialized stdlib.
+# This is mutually exclusive with `codegenerated-stdlib`.
+serialized-stdlib = []
# Enables legacy `std.thisFile` support, at the cost of worse caching
legacy-this-file = []
# Add order preservation flag to some functions
exp-preserve-order = ["jrsonnet-evaluator/exp-preserve-order"]
# Bigint type
-exp-bigint = ["num-bigint", "jrsonnet-evaluator/exp-bigint"]
+exp-bigint = ["dep:num-bigint", "jrsonnet-evaluator/exp-bigint"]
exp-null-coaelse = ["jrsonnet-parser/exp-null-coaelse", "jrsonnet-evaluator/exp-null-coaelse"]
# std.regexMatch and other helpers
-exp-regex = ["regex", "lru", "rustc-hash"]
+exp-regex = ["dep:regex", "dep:lru", "dep:rustc-hash"]
[dependencies]
jrsonnet-evaluator.workspace = true
crates/jrsonnet-stdlib/src/expr.rsdiffbeforeafterboth--- a/crates/jrsonnet-stdlib/src/expr.rs
+++ b/crates/jrsonnet-stdlib/src/expr.rs
@@ -1,7 +1,11 @@
use jrsonnet_parser::LocExpr;
pub fn stdlib_expr() -> LocExpr {
- #[cfg(feature = "serialized-stdlib")]
+ #[cfg(all(feature = "serialized-stdlib", feature = "codegenerated-stdlib"))]
+ compile_error!(
+ "features `serialized-stdlib` and `codegenerated-stdlib` are mutually exclusive"
+ );
+ #[cfg(all(feature = "serialized-stdlib", not(feature = "codegenerated-stdlib")))]
{
use bincode::{BincodeRead, DefaultOptions, Options};
use serde::{Deserialize, Deserializer};
@@ -77,7 +81,7 @@
LocExpr::deserialize(&mut deserializer).unwrap()
}
- #[cfg(feature = "codegenerated-stdlib")]
+ #[cfg(all(feature = "codegenerated-stdlib", not(feature = "serialized-stdlib")))]
{
mod structdump_import {
pub(super) use std::{option::Option, rc::Rc, vec};
@@ -88,7 +92,7 @@
include!(concat!(env!("OUT_DIR"), "/stdlib.rs"))
}
- #[cfg(not(feature = "codegenerated-stdlib"))]
+ #[cfg(not(any(feature = "serialized-stdlib", feature = "codegenerated-stdlib")))]
{
use jrsonnet_parser::Source;
crates/jrsonnet-stdlib/src/lib.rsdiffbeforeafterboth--- a/crates/jrsonnet-stdlib/src/lib.rs
+++ b/crates/jrsonnet-stdlib/src/lib.rs
@@ -1,9 +1,15 @@
+#![allow(clippy::similar_names)]
+
use std::{
cell::{Ref, RefCell, RefMut},
collections::HashMap,
rc::Rc,
};
+pub use arrays::*;
+pub use compat::*;
+pub use encoding::*;
+pub use hash::*;
use jrsonnet_evaluator::{
error::{ErrorKind::*, Result},
function::{CallLocation, FuncVal, TlaArg},
@@ -13,40 +19,37 @@
};
use jrsonnet_gcmodule::Trace;
use jrsonnet_parser::Source;
-
-mod expr;
-mod types;
-pub use types::*;
-mod arrays;
-pub use arrays::*;
-mod math;
+pub use manifest::*;
pub use math::*;
-mod operator;
+pub use misc::*;
+pub use objects::*;
pub use operator::*;
-mod sort;
+pub use parse::*;
+pub use sets::*;
pub use sort::*;
-mod hash;
-pub use hash::*;
+pub use strings::*;
+pub use types::*;
+
+#[cfg(feature = "exp-regex")]
+pub use crate::regex::*;
+
+mod arrays;
+mod compat;
mod encoding;
-pub use encoding::*;
+mod expr;
+mod hash;
+mod manifest;
+mod math;
+mod misc;
mod objects;
-pub use objects::*;
-mod manifest;
-pub use manifest::*;
+mod operator;
mod parse;
-pub use parse::*;
-mod strings;
-pub use strings::*;
-mod misc;
-pub use misc::*;
-mod sets;
-pub use sets::*;
-mod compat;
-pub use compat::*;
#[cfg(feature = "exp-regex")]
mod regex;
-#[cfg(feature = "exp-regex")]
-pub use crate::regex::*;
+mod sets;
+mod sort;
+mod strings;
+mod types;
#[allow(clippy::too_many_lines)]
pub fn stdlib_uncached(settings: Rc<RefCell<Settings>>) -> ObjValue {
@@ -244,9 +247,7 @@
);
builder.method(
"regexGlobalReplace",
- builtin_regex_global_replace {
- cache: regex_cache.clone(),
- },
+ builtin_regex_global_replace { cache: regex_cache },
);
};
@@ -395,16 +396,15 @@
}
#[cfg(feature = "legacy-this-file")]
fn populate(&self, source: Source, builder: &mut ContextBuilder) {
- use jrsonnet_evaluator::val::StrValue;
-
let mut std = ObjValueBuilder::new();
std.with_super(self.stdlib_obj.clone());
- std.field("thisFile")
- .hide()
- .value(match source.source_path().path() {
- Some(p) => self.settings().path_resolver.resolve(p),
- None => source.source_path().to_string(),
- });
+ std.field("thisFile").hide().value({
+ let source_path = source.source_path();
+ source_path.path().map_or_else(
+ || source_path.to_string(),
+ |p| self.settings().path_resolver.resolve(p),
+ )
+ });
let stdlib_with_this_file = std.build();
builder.bind("std", Thunk::evaluated(Val::Obj(stdlib_with_this_file)));
crates/jrsonnet-stdlib/src/regex.rsdiffbeforeafterboth--- a/crates/jrsonnet-stdlib/src/regex.rs
+++ b/crates/jrsonnet-stdlib/src/regex.rs
@@ -50,16 +50,16 @@
for ele in captured.iter().skip(1) {
if let Some(ele) = ele {
- captures.push(Val::Str(StrValue::Flat(ele.as_str().into())))
+ captures.push(Val::Str(StrValue::Flat(ele.as_str().into())));
} else {
- captures.push(Val::Str(StrValue::Flat(IStr::empty())))
+ captures.push(Val::Str(StrValue::Flat(IStr::empty())));
}
}
for (i, name) in regex
.capture_names()
.skip(1)
.enumerate()
- .flat_map(|(i, v)| Some((i, v?)))
+ .filter_map(|(i, v)| Some((i, v?)))
{
let capture = captures[i].clone();
named_captures.field(name).try_value(capture)?;
flake.lockdiffbeforeafterboth--- a/flake.lock
+++ b/flake.lock
@@ -7,11 +7,11 @@
]
},
"locked": {
- "lastModified": 1711299236,
- "narHash": "sha256-6/JsyozOMKN8LUGqWMopKTSiK8N79T8Q+hcxu2KkTXg=",
+ "lastModified": 1714536327,
+ "narHash": "sha256-zu4+LcygJwdyFHunTMeDFltBZ9+hoWvR/1A7IEy7ChA=",
"owner": "ipetkov",
"repo": "crane",
- "rev": "880573f80d09e18a11713f402b9e6172a085449f",
+ "rev": "3124551aebd8db15d4560716d4f903bd44c64e4a",
"type": "github"
},
"original": {
@@ -25,11 +25,11 @@
"systems": "systems"
},
"locked": {
- "lastModified": 1705309234,
- "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
+ "lastModified": 1710146030,
+ "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
- "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26",
+ "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
@@ -40,11 +40,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1705391267,
- "narHash": "sha256-gGVm9QudiRtYTX8PN9cTTy7uuJcL4I2lRMoPx496kXk=",
+ "lastModified": 1714595735,
+ "narHash": "sha256-8MDOiHrg2mOylcC7wpx1U1mk9V5VranG7wKyenhHnic=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "41a9a7f170c740acb24f3390323877d11c69d5ee",
+ "rev": "9d7a1659bc5c6be24ac46407b91807c6e3e0227d",
"type": "github"
},
"original": {
@@ -71,11 +71,11 @@
]
},
"locked": {
- "lastModified": 1705371439,
- "narHash": "sha256-P1kulUXpYWkcrjiX3sV4j8ACJZh9XXSaaD+jDLBDLKo=",
+ "lastModified": 1714529851,
+ "narHash": "sha256-YMKJW880f7LHXVRzu93xa6Ek+QLECIu0IRQbXbzZe38=",
"owner": "oxalica",
"repo": "rust-overlay",
- "rev": "b21f3c0d5bf0f0179f5f0140e8e0cd099618bd04",
+ "rev": "9ca720fdcf7865385ae3b93ecdf65f1a64cb475e",
"type": "github"
},
"original": {
rust-toolchain.tomldiffbeforeafterboth--- a/rust-toolchain.toml
+++ b/rust-toolchain.toml
@@ -1,3 +1,3 @@
[toolchain]
-channel = "nightly-2024-01-10"
+channel = "nightly-2024-05-10"
components = ["rustfmt", "clippy", "rust-analyzer", "rust-src"]
tests/tests/golden.rsdiffbeforeafterboth--- a/tests/tests/golden.rs
+++ b/tests/tests/golden.rs
@@ -27,11 +27,7 @@
Ok(v) => v,
Err(e) => return trace_format.format(&e).unwrap(),
};
- match v.manifest(
- JsonFormat::default(),
- #[cfg(feature = "exp-preserve-order")]
- false,
- ) {
+ match v.manifest(JsonFormat::default()) {
Ok(v) => v.to_string(),
Err(e) => trace_format.format(&e).unwrap(),
}
xtask/src/sourcegen/ast.rsdiffbeforeafterboth--- a/xtask/src/sourcegen/ast.rs
+++ b/xtask/src/sourcegen/ast.rs
@@ -62,6 +62,7 @@
#[derive(Debug, Clone)]
pub struct AstTokenEnumSrc {
+ #[allow(dead_code)]
pub doc: Vec<String>,
pub name: String,
pub variants: Vec<String>,
xtask/src/sourcegen/kinds.rsdiffbeforeafterboth--- a/xtask/src/sourcegen/kinds.rs
+++ b/xtask/src/sourcegen/kinds.rs
@@ -14,6 +14,7 @@
Error {
grammar_name: String,
name: String,
+ #[allow(dead_code)]
/// Is this error returned by lexer directly, or from lex.rs
is_lexer_error: bool,
regex: Option<String>,