difftreelog
feat add std.equalsIgnoreCase
in: master
Upstream issue: https://github.com/google/go-jsonnet/pull/699
4 files changed
Cargo.lockdiffbeforeafterboth104 packageslockfile v3
Might be heavy and slow!
ahash
0.8.3crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2fused byannotate-snippets
0.9.1crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc3b9d411ecbaf79885c6df4d75fff75858d5995ff25385657a28af47e82f9c36depends onused byanyhow
1.0.69crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum224afbd727c3d6e4b90103ece64b8d1b67fbb1973b1046c2281eed3f3803f800used byasync-trait
0.1.64crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1cd7fce9ba8c3c042128ce72d8b2ddbf3a05747efb67ea0313c635e10bda47a2depends onused byautocfg
1.1.0crates.io↘ 0↖ 5sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fabase64
0.21.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma4a4ddaa51a5bc52a6948f74c06d20aaaddb71924eab79b8c97a8c556e942d6aused bybincode
1.3.3crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcaddepends onbitflags
1.3.2crates.io↘ 0↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718ablock-buffer
0.10.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7edepends onused bycc
1.0.79crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91fcfg-if
1.0.0crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbaf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fdclap
4.1.6crates.io↘ 7↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumec0b0588d44d4d63a87dbd75c136c166bbfd9a86a31cb89e09906521c7d3f5e3depends onclap_complete
4.1.3crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0012995dc3a54314f4710f5631d74767e73c534b8757221708303e48eef7a19bdepends onused byclap_derive
4.1.0crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum684a277d672e91966334af371f1a7b5833f9aa00b07c84e92fbce95e00208ce8used byclap_lex
0.3.2crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum350b9cf31731f9957399229e9b2adc51eeabdfbe9d71d9a0552275fd12710d09depends onused bycpufeatures
0.2.5crates.io↘ 1↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320depends oncrypto-common
0.1.6crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3depends onused bydigest
0.10.6crates.io↘ 2↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76fdepends onerrno
0.2.8crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf639046355ee4f37944e44f60642c6f3a7efa3cf6b78c78a0d989a8ce6c396a1used byerrno-dragonfly
0.1.2crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumaa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bfdepends onused bygeneric-array
0.14.6crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbff49e947297f3312447abdca79f45f4738097cc82b06e72054d2223f601f1b9depends onhashbrown
0.12.3crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888used byhashbrown
0.13.2crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510edepends onheck
0.4.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8used byhermit-abi
0.3.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286used byindexmap
1.9.2crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1885e79c1fc4b10f0e172c475f458b7f7b93061064d98c3293e98c5ba0c8b399depends onused byio-lifetimes
1.0.5crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1abeb7a0dd0f8181267ff8adc397075586500b81b28a73e8a0208b00fc170fb3depends onused byis-terminal
0.4.4crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum21b6b32576413a8e69b90e952e4a026476040d81017b80445deda5f2d3921857used byitoa
1.0.5crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfad582f4b9e86b6caa621cabeb0963332d92eea04729ab12892c2533951e6440used byjrsonnet
0.5.0-pre9workspace↘ 8↖ 0jrsonnet-cli
0.5.0-pre9workspace↘ 5↖ 1jrsonnet-evaluator
0.5.0-pre9workspace↘ 17↖ 5depends on- annotate-snippets
0.9.1 - anyhow
1.0.69 - async-trait
0.1.64 - bincode
1.3.3 - hashbrown
0.13.2 - jrsonnet-gcmodule
0.3.5 - jrsonnet-interner
0.5.0-pre9 - jrsonnet-macros
0.5.0-pre9 - jrsonnet-parser
0.5.0-pre9 - jrsonnet-types
0.5.0-pre9 - num-bigint
0.4.3 - pathdiff
0.2.1 - rustc-hash
1.1.0 - serde
1.0.152 - static_assertions
1.1.0 - strsim
0.10.0 - thiserror
1.0.38
- annotate-snippets
jrsonnet-gcmodule
0.3.5crates.io↘ 2↖ 9sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum35243aa6a013032e9469f3798c54e2ca7af44973b1eafdc924cb6ca351a71f72jrsonnet-gcmodule-derive
0.3.5crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum96206bf4ae74d5257bbbd23113bfe67b09e8973de3843b728c3ce289dee86edadepends onused byjrsonnet-interner
0.5.0-pre9workspace↘ 5↖ 2jrsonnet-macros
0.5.0-pre9workspace↘ 3↖ 2jrsonnet-parser
0.5.0-pre9workspace↘ 6↖ 5jrsonnet-stdlib
0.5.0-pre9workspace↘ 15↖ 3depends onjrsonnet-types
0.5.0-pre9workspace↘ 2↖ 1depends onused bykeccak
0.1.4crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940depends onused bylibc
0.2.139crates.io↘ 0↖ 7sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79libjsonnet
0.5.0-pre9workspace↘ 4↖ 0linked-hash-map
0.5.6crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770fused bylinux-raw-sys
0.1.4crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4used bylock_api
0.4.9crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4dfdepends onused bymd5
0.7.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum490cc448043f947bae3cbee9c203358d62dbee0db12107a74be5c30ccfd09771used 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.3crates.io↘ 4↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf93ab6289c7b344a8a9f60f88d80aa20032336fe78da341afc91c8a2341fc75fnum-integer
0.1.45crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9depends onused bynum-traits
0.2.15crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcddepends ononce_cell
1.17.1crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumb7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3used byos_str_bytes
6.4.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9b7820b9daea5457c9f21c69448905d723fbd21136ccf521748f23fd49e723eeused byparking_lot
0.12.1crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228fdepends onused byparking_lot_core
0.9.7crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521used bypathdiff
0.2.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44ddused bypeg
0.8.1crates.io↘ 2↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma07f2cafdc3babeebc087e499118343442b742cc7c31b4d054682cc598508554depends onpeg-macros
0.8.1crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4a90084dc05cf0428428e3d12399f39faad19b0909f64fb9170c9fdd6d9cd49bused bypeg-runtime
0.8.1crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum9fa00462b37ead6d11a82c9d568b26682d78e0477dc02d1966c013af80969739used byproc-macro-error
1.0.4crates.io↘ 5↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumda25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38cused byproc-macro-error-attr
1.0.4crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869used byproc-macro2
1.0.51crates.io↘ 1↖ 13sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6depends onquote
1.0.23crates.io↘ 1↖ 12sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7bdepends onredox_syscall
0.2.16crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519adepends onused byrustc-hash
1.1.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2rustix
0.36.8crates.io↘ 6↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf43abb88211988493c1abb44a70efa56ff0ce98f233b7b276146f1f3f7ba9644used byryu
1.0.12crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum7b4b9743ed687d4b4bcedf9ff5eaa7398495ae14e61cba0a295704edbc7decdescopeguard
1.1.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumd29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cdused byserde
1.0.152crates.io↘ 1↖ 9sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbb7d1f0d3021d347a83e556fc4683dea2ea09d87bccdf88ff5c12545d89d5efbdepends onserde_derive
1.0.152crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumaf487d118eecd09402d70a5d72551860e788df87b464af30e5ea6a38c75c541edepends onused byserde_json
1.0.93crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumcad406b69c91885b5107daf2c29572f6c8cdb3c66826821e286c533490c0bc76depends onused byserde_yaml_with_quirks
0.8.24crates.io↘ 4↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum47c5983eba86eae2d0058c35fb1065ccffb23af7f8965871069269088098321aused bysha1
0.10.5crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumf04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3depends onused bysha2
0.10.6crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0depends onused bysha3
0.10.8crates.io↘ 2↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum75872d278a8f37ef87fa0ddbda7802605cb18344497949862c0d4dcb291eba60depends onused bysmallvec
1.10.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0used bystatic_assertions
1.1.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksuma2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543fstrsim
0.10.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623structdump
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↖ 8sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237termcolor
1.2.0crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbe55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6depends onused bytests
0.1.0workspace↘ 4↖ 0thiserror
1.0.38crates.io↘ 1↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum6a9cd18aa97d5c45c6603caea1da6628790b37f7a34b6ca89522331c5180fed0depends onthiserror-impl
1.0.38crates.io↘ 3↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36fdepends onused bytypenum
1.16.0crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bbaunicode-ident
1.0.6crates.io↘ 0↖ 2sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebcused byunicode-width
0.1.10crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8bused byversion_check
0.9.4crates.io↘ 0↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483fwinapi
0.3.9crates.io↘ 2↖ 3sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419winapi-i686-pc-windows-gnu
0.4.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6used bywinapi-util
0.1.5crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178depends onused bywinapi-x86_64-pc-windows-gnu
0.4.0crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183fused bywindows_aarch64_gnullvm
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608used bywindows_aarch64_msvc
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7used bywindows_i686_gnu
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumde3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640used bywindows_i686_msvc
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumbf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605used bywindows_x86_64_gnu
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumc1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45used bywindows_x86_64_gnullvm
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463used bywindows_x86_64_msvc
0.42.1crates.io↘ 0↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffdused bywindows-sys
0.45.0crates.io↘ 1↖ 4sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0depends onwindows-targets
0.42.1crates.io↘ 7↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum8e2522491fbfcd58cc84d47aeb2958948c4b8982e9a2d8a2a35bbaed431390e7depends onused byyaml-rust
0.4.5crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksum56c1936c4cc7a1c9ab21a1ebb602eb942ba868cbd44a99cb7cdc5892335e1c85depends onused byyansi-term
0.1.2crates.io↘ 1↖ 1sourceregistry+https://github.com/rust-lang/crates.io-indexchecksumfe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1depends onused by
crates/jrsonnet-stdlib/Cargo.tomldiffbeforeafterboth--- a/crates/jrsonnet-stdlib/Cargo.toml
+++ b/crates/jrsonnet-stdlib/Cargo.toml
@@ -32,8 +32,12 @@
# std.md5
md5 = "0.7.0"
+# std.sha1
+sha1 = "0.10.5"
# std.sha256, std.sha512
sha2 = "0.10.6"
+# std.sha3
+sha3 = "0.10.8"
# std.base64
base64 = "0.21.0"
# std.parseJson
crates/jrsonnet-stdlib/src/hash.rsdiffbeforeafterboth--- a/crates/jrsonnet-stdlib/src/hash.rs
+++ b/crates/jrsonnet-stdlib/src/hash.rs
@@ -16,3 +16,15 @@
use sha2::digest::Digest;
format!("{:x}", sha2::Sha512::digest(s.as_bytes()))
}
+
+#[builtin]
+pub fn builtin_sha1(s: IStr) -> String {
+ use sha1::digest::Digest;
+ format!("{:x}", sha1::Sha1::digest(s.as_bytes()))
+}
+
+#[builtin]
+pub fn builtin_sha3(s: IStr) -> String {
+ use sha3::digest::Digest;
+ format!("{:x}", sha3::Sha3_512::digest(s.as_bytes()))
+}
crates/jrsonnet-stdlib/src/lib.rsdiffbeforeafterboth--- a/crates/jrsonnet-stdlib/src/lib.rs
+++ b/crates/jrsonnet-stdlib/src/lib.rs
@@ -124,8 +124,10 @@
("maxArray", builtin_max_array::INST),
// Hash
("md5", builtin_md5::INST),
+ ("sha1", builtin_sha1::INST),
("sha256", builtin_sha256::INST),
("sha512", builtin_sha512::INST),
+ ("sha3", builtin_sha3::INST),
// Encoding
("encodeUTF8", builtin_encode_utf8::INST),
("decodeUTF8", builtin_decode_utf8::INST),