Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ rust_library(
"//third-party/rust/crates/num_cpus/1.17.0:num_cpus",
"//third-party/rust/crates/path-absolutize/3.1.1:path-absolutize",
"//third-party/rust/crates/rayon/1.11.0:rayon",
"//third-party/rust/crates/ring/0.17.14:ring",
"//third-party/rust/crates/sea-orm/1.1.19:sea-orm",
"//third-party/rust/crates/serde/1.0.228:serde",
"//third-party/rust/crates/serde_json/1.0.145:serde_json",
"//third-party/rust/crates/sha1/0.10.6:sha1",
"//third-party/rust/crates/sha2/0.10.9:sha2",
"//third-party/rust/crates/similar/2.7.0:similar",
Expand Down
97 changes: 96 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ sea-orm = { version = "1.1.17", features = ["sqlx-sqlite"] }
flate2 = { version = "1.1.8", features = ["zlib"] }
serde = { version = "1.0.228", features = ["derive"] }
chrono = { version = "0.4.43", features = ["serde"] }
uuid = { version = "1.19.0", features = ["v4"] }
uuid = { version = "1.19.0", features = ["serde", "v4", "v7"] }
tokio = { version = "1.49.0", features = ["fs", "io-util"] }
bincode = { version = "2.0.1", features = ["serde"] }
axum = { version = "0.8.8", features = ["macros", "json"] }
ring = "0.17.8"
serde_json = "1.0.145"

[dev-dependencies]
tokio = { version = "1.49.0", features = ["full"] }
Expand Down
16 changes: 14 additions & 2 deletions buckal.snap
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
version = 2

[fingerprints]
"path+file://($WORKSPACE)#0.4.1" = "6d91a20f32d73f0ce745fbcccfac002167d699bb7d0ecaff33ad816280104e72"
"path+file://($WORKSPACE)#0.4.1" = "18cbbeebb64505391cc56951ecd06fb5f741ee8f8404ec87a36c248deb142234"
"registry+https://github.com/rust-lang/crates.io-index#adler2@2.0.1" = "7081ce7693ca45bff0e855374e6b7f386805bba1de9f7c288b1c706b99abef7f"
"registry+https://github.com/rust-lang/crates.io-index#ahash@0.7.8" = "263bbc26dec8ade458658cf9dae3ef8fc606e85f04c7b47abb4f9255319689ac"
"registry+https://github.com/rust-lang/crates.io-index#ahash@0.8.12" = "a383722a12d8343396b1965bfe77f1cebeafb12ccc571747b2b54614e3e1a1ea"
Expand Down Expand Up @@ -203,6 +203,7 @@ version = 2
"registry+https://github.com/rust-lang/crates.io-index#regex-syntax@0.8.8" = "b5bd7a8b232100b181ef43ff406fb2382e503828b02a43cd606f98d6ea0ad950"
"registry+https://github.com/rust-lang/crates.io-index#regex@1.12.2" = "10f6a5c57952790e35d0c05df1e7eafd9c894d80edd73975f10517c9b6c1a00a"
"registry+https://github.com/rust-lang/crates.io-index#rend@0.4.2" = "e1477adda7718f5953efaa45ef12a2e30c0037c5723d544285f1d21d751a092b"
"registry+https://github.com/rust-lang/crates.io-index#ring@0.17.14" = "151d151dbff71a9fc2ab072a6790aaf76e22bae424931ac216e88a09077ca58c"
"registry+https://github.com/rust-lang/crates.io-index#rkyv@0.7.45" = "696526e2a115738bd5270d4fc1fceddf70699a2c77bb1a5f03355cdfb6bdc2a6"
"registry+https://github.com/rust-lang/crates.io-index#rkyv_derive@0.7.45" = "ad51df9d2e223d73130300a8075a8eaeed101ff95d4c9ad1252498f7186db950"
"registry+https://github.com/rust-lang/crates.io-index#rsa@0.9.10" = "9e4146e51ce7cb3bfeca2da05259109f47b38350679c086df91d3c492e59a808"
Expand Down Expand Up @@ -289,10 +290,11 @@ version = 2
"registry+https://github.com/rust-lang/crates.io-index#unicode-normalization@0.1.25" = "9665de652cecbf789eaecff8e27c8b2f1b8b11fbe793954a8b061ef703457af1"
"registry+https://github.com/rust-lang/crates.io-index#unicode-properties@0.1.4" = "cdf6d930a0dfc1acc3b026018d97c6bf20106eaecbdf5dceb3d7aaef1b4dbeb4"
"registry+https://github.com/rust-lang/crates.io-index#unicode-xid@0.2.6" = "04c6fa64d1f26eb2c0594f87108dff265d17d747d21de7a9b240a4675ad7f2ef"
"registry+https://github.com/rust-lang/crates.io-index#untrusted@0.9.0" = "0e5f903c4d858d56b064f2e47fd2b2e6d228f9404ceeef561b5cc4c0d77bec33"
"registry+https://github.com/rust-lang/crates.io-index#unty@0.0.4" = "5475cd4e774a5dff1d71ec84f3f46bbf2a1ce7ecae45e15713335645a8e14941"
"registry+https://github.com/rust-lang/crates.io-index#url@2.5.7" = "41a06dd6e4a64931308619cd9143392e669fe55fff38850784e1a9a09b49bfc2"
"registry+https://github.com/rust-lang/crates.io-index#utf8_iter@1.0.4" = "047f25b86fd5f1351043a8dde0aeed66f85eeca3ac56cbb7bec54ed6c023b16c"
"registry+https://github.com/rust-lang/crates.io-index#uuid@1.19.0" = "8c6965359b43e1c55bae17a14ebaa08c993d1a96c931fac6fcd3e9da638f5837"
"registry+https://github.com/rust-lang/crates.io-index#uuid@1.19.0" = "6527b631b0af7222779488f8c649a9d5f4c4d2180776bf51cfd4973bae8c8824"
"registry+https://github.com/rust-lang/crates.io-index#valuable@0.1.1" = "756ad94b5effaecf9973461517320157d1ee5ab3ec28d86e1f99c4915851a45e"
"registry+https://github.com/rust-lang/crates.io-index#vcpkg@0.2.15" = "719f7f17537403aaa321d268702fb5039de3e7c1993d88754cca070f8b597174"
"registry+https://github.com/rust-lang/crates.io-index#version_check@0.9.5" = "5f3a662254d4a2b2e505904ada0ee24aa8376f7d08d71832a6a0f1ff04f1ad71"
Expand All @@ -312,24 +314,34 @@ version = 2
"registry+https://github.com/rust-lang/crates.io-index#windows-result@0.4.1" = "d2d6166685cc9d38cea0479daefd31f9153c918d206af155456ce3fbd35c57e1"
"registry+https://github.com/rust-lang/crates.io-index#windows-strings@0.5.1" = "81ed7ba4dd1224709e4d536ef0a5a9c0c2281a16a97fc7c65d0e21ba0d6cc886"
"registry+https://github.com/rust-lang/crates.io-index#windows-sys@0.48.0" = "50ddce0dedf31ab06f3fe4bf72330b18a914c7cf46975e23479bbee20655d049"
"registry+https://github.com/rust-lang/crates.io-index#windows-sys@0.52.0" = "b41994c3901bf0618e472914a1f1e2aee066b7d366662300d64bb73a32582315"
"registry+https://github.com/rust-lang/crates.io-index#windows-sys@0.60.2" = "ee177220dba83367a193ab58fa2ff8b28517f6a1947e94964172abf5b70c74fe"
"registry+https://github.com/rust-lang/crates.io-index#windows-sys@0.61.2" = "06567f74041ec4c5a8ffd08e906ac59ff5081935ec4e0fccff9020d608d8befc"
"registry+https://github.com/rust-lang/crates.io-index#windows-targets@0.48.5" = "2eeba1fb41ece7e47a512f90244d1a6a33a80cf7d62dac96544325d85092624e"
"registry+https://github.com/rust-lang/crates.io-index#windows-targets@0.52.6" = "fe8dded5952c3df6593dee93b8e6dd3bc2801a7cc135c097e517f37a5a7b9b68"
"registry+https://github.com/rust-lang/crates.io-index#windows-targets@0.53.5" = "4143d0d11931f31b5b484a337f69797bfca82416f5b6ddbdd0820ee86c26c17e"
"registry+https://github.com/rust-lang/crates.io-index#windows_aarch64_gnullvm@0.48.5" = "38fd7c9d4e11b7d8199855a289813cf45a7c6602023c3db8e908ea0231606b15"
"registry+https://github.com/rust-lang/crates.io-index#windows_aarch64_gnullvm@0.52.6" = "ec5913f3b3c7eaf44512f8f22ca7d9fdd33fadb644a04e539367282f0657a6bb"
"registry+https://github.com/rust-lang/crates.io-index#windows_aarch64_gnullvm@0.53.1" = "b7aa4557fd735c7160f9c76aa29c5c331b42c93ee85c500a5800aa692685a2db"
"registry+https://github.com/rust-lang/crates.io-index#windows_aarch64_msvc@0.48.5" = "22233c89e54334b947c5444d7da34f56bcf2ad220e5afd3c5796262da6a3015c"
"registry+https://github.com/rust-lang/crates.io-index#windows_aarch64_msvc@0.52.6" = "d0dff81edc26b7c335981c42a8c924daf003439dcf087909f2f2bd33f3cfff5c"
"registry+https://github.com/rust-lang/crates.io-index#windows_aarch64_msvc@0.53.1" = "a6a1d1d3f5c90f821990f8b394e9102b688b5a17ca9677ddad23005f8e04d01b"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_gnu@0.48.5" = "e462d3c14d1663ae20989241c032c6bf9ee91236188c11475318b0a3d1309f30"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_gnu@0.52.6" = "beda152c20d15df581eb71538b123ffd8dbe7a179ae41178f92a27ac53cc9a88"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_gnu@0.53.1" = "eb2e8306163c6c2562aea56157cc1cac86427cc2a4687d1a28895c32f5a6b70f"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_gnullvm@0.52.6" = "1ecf22cfbe5422a9ba4fdb6f4b8ac2209336c745fe009f2adb7c02a70aeeacd2"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_gnullvm@0.53.1" = "5c1891f2195599fc638bb25cc9f8ff3dda24df63017f7b36c4125cde787eb27a"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_msvc@0.48.5" = "8021126b4da7fc1fa275a91ebf1e2e4412253062c242f3f43461b9f61c79135c"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_msvc@0.52.6" = "5f6a41c34c9257f37ee727bfd361ad10def9bd939b40e8cfd5fac442b77d06fe"
"registry+https://github.com/rust-lang/crates.io-index#windows_i686_msvc@0.53.1" = "7a5870f49ee76344eadcc7568e98b5a4e0f253744cf8e0e5b788b78835432a22"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_gnu@0.48.5" = "7ace2b609eace2727e85167f6072875941fa46931bd2bda1b1318d45f236d358"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_gnu@0.52.6" = "7a22dc7cd2f859d72c30f639f3272e7f42de40e5a0421fd02d578f86bf51c430"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_gnu@0.53.1" = "66f8f034cfa8e6d1a4ca921622cc60a1fb07188ff5825b9623cd9f692ba41ca9"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_gnullvm@0.48.5" = "e2b273ebf8c4ae5ed82e49a7a3d2a57d3101b2b2b0f915c39d5480b10d8cdb72"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_gnullvm@0.52.6" = "58086d26333764ddeec150e409033f77a2619a50bc3a6332cf16f90fffcf3ffd"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_gnullvm@0.53.1" = "a162c7cceb8d8de4c4c1843df61c422b49d9a7f8324725b7efffdb30c9aa5ada"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_msvc@0.48.5" = "81d2d0f5ef71a9f9bfdafeb6b63fd7381b23f33f1755da936dd1f830afb2f2ba"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_msvc@0.52.6" = "c2a6bfcc8e073a4dd33a6426fdbd698ac611fe3ec6c179591786efceaa2d6721"
"registry+https://github.com/rust-lang/crates.io-index#windows_x86_64_msvc@0.53.1" = "6c1a38bede7258be170d8bfbcd7846282fb443c2d870183bcb2ff0b849d44b0c"
"registry+https://github.com/rust-lang/crates.io-index#winnow@0.7.14" = "41164f26911d5b8c9273f13ef71416bf62adbc115d0cbd0a3f4bb1f290f6841d"
"registry+https://github.com/rust-lang/crates.io-index#wit-bindgen@0.46.0" = "b1f4351aafc5a8a7f12f71e1e6acebc3d3da7e928331f659e0b60936473fd938"
Expand Down
1 change: 1 addition & 0 deletions src/hash.rs
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ impl ObjectHash {
}
}
}

thread_local! {
/// Thread-local variable to store the current hash kind.
/// This allows different threads to work with different hash algorithms concurrently
Expand Down
Loading