diff --git a/BUCK b/BUCK index 47b88425..6bc4a502 100644 --- a/BUCK +++ b/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") filegroup( name = "git-internal-vendor", @@ -35,7 +35,7 @@ rust_library( "//third-party/rust/crates/byteorder/1.5.0:byteorder", "//third-party/rust/crates/bytes/1.11.0:bytes", "//third-party/rust/crates/chrono/0.4.43:chrono", - "//third-party/rust/crates/colored/3.0.0:colored", + "//third-party/rust/crates/colored/3.1.1:colored", "//third-party/rust/crates/crc32fast/1.5.0:crc32fast", "//third-party/rust/crates/dashmap/6.1.0:dashmap", "//third-party/rust/crates/diffs/0.5.1:diffs", @@ -57,7 +57,7 @@ rust_library( "//third-party/rust/crates/sha2/0.10.9:sha2", "//third-party/rust/crates/similar/2.7.0:similar", "//third-party/rust/crates/tempfile/3.24.0:tempfile", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/threadpool/1.8.1:threadpool", "//third-party/rust/crates/tokio-stream/0.1.18:tokio-stream", "//third-party/rust/crates/tokio/1.49.0:tokio", @@ -78,7 +78,19 @@ rust_test( "default", "diff_mydrs", ], - rustc_flags = ["@$(location :git-internal-manifest[env_flags])"], + rustc_flags = ["@$(location :git-internal-manifest[env_flags])"] + select({ + "prelude//os/constraints:windows": select({ + "prelude//abi/constraints:gnu": [ + "@$(location //third-party/rust/crates/windows_x86_64_gnu/0.48.5:windows_x86_64_gnu-build-script-run[rustc_flags])", + "@$(location //third-party/rust/crates/windows_x86_64_gnu/0.53.1:windows_x86_64_gnu-build-script-run[rustc_flags])", + ], + "DEFAULT": [ + "@$(location //third-party/rust/crates/windows_x86_64_msvc/0.48.5:windows_x86_64_msvc-build-script-run[rustc_flags])", + "@$(location //third-party/rust/crates/windows_x86_64_msvc/0.53.1:windows_x86_64_msvc-build-script-run[rustc_flags])", + ], + }), + "DEFAULT": [], + }), visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/ahash/0.8.12:ahash", @@ -89,7 +101,7 @@ rust_test( "//third-party/rust/crates/byteorder/1.5.0:byteorder", "//third-party/rust/crates/bytes/1.11.0:bytes", "//third-party/rust/crates/chrono/0.4.43:chrono", - "//third-party/rust/crates/colored/3.0.0:colored", + "//third-party/rust/crates/colored/3.1.1:colored", "//third-party/rust/crates/crc32fast/1.5.0:crc32fast", "//third-party/rust/crates/dashmap/6.1.0:dashmap", "//third-party/rust/crates/diffs/0.5.1:diffs", @@ -114,7 +126,7 @@ rust_test( "//third-party/rust/crates/sha2/0.10.9:sha2", "//third-party/rust/crates/similar/2.7.0:similar", "//third-party/rust/crates/tempfile/3.24.0:tempfile", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/threadpool/1.8.1:threadpool", "//third-party/rust/crates/tokio-stream/0.1.18:tokio-stream", "//third-party/rust/crates/tokio-util/0.7.18:tokio-util", @@ -136,7 +148,19 @@ rust_test( "default", "diff_mydrs", ], - rustc_flags = ["@$(location :git-internal-manifest[env_flags])"], + rustc_flags = ["@$(location :git-internal-manifest[env_flags])"] + select({ + "prelude//os/constraints:windows": select({ + "prelude//abi/constraints:gnu": [ + "@$(location //third-party/rust/crates/windows_x86_64_gnu/0.48.5:windows_x86_64_gnu-build-script-run[rustc_flags])", + "@$(location //third-party/rust/crates/windows_x86_64_gnu/0.53.1:windows_x86_64_gnu-build-script-run[rustc_flags])", + ], + "DEFAULT": [ + "@$(location //third-party/rust/crates/windows_x86_64_msvc/0.48.5:windows_x86_64_msvc-build-script-run[rustc_flags])", + "@$(location //third-party/rust/crates/windows_x86_64_msvc/0.53.1:windows_x86_64_msvc-build-script-run[rustc_flags])", + ], + }), + "DEFAULT": [], + }), visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/ahash/0.8.12:ahash", @@ -147,7 +171,7 @@ rust_test( "//third-party/rust/crates/byteorder/1.5.0:byteorder", "//third-party/rust/crates/bytes/1.11.0:bytes", "//third-party/rust/crates/chrono/0.4.43:chrono", - "//third-party/rust/crates/colored/3.0.0:colored", + "//third-party/rust/crates/colored/3.1.1:colored", "//third-party/rust/crates/crc32fast/1.5.0:crc32fast", "//third-party/rust/crates/dashmap/6.1.0:dashmap", "//third-party/rust/crates/diffs/0.5.1:diffs", @@ -172,7 +196,7 @@ rust_test( "//third-party/rust/crates/sha2/0.10.9:sha2", "//third-party/rust/crates/similar/2.7.0:similar", "//third-party/rust/crates/tempfile/3.24.0:tempfile", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/threadpool/1.8.1:threadpool", "//third-party/rust/crates/tokio-stream/0.1.18:tokio-stream", "//third-party/rust/crates/tokio-util/0.7.18:tokio-util", diff --git a/Cargo.lock b/Cargo.lock index c7df0bc8..db312760 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -414,11 +414,11 @@ dependencies = [ [[package]] name = "colored" -version = "3.0.0" +version = "3.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fde0e0ec90c9dfb3b4b1a0891a7dcd0e2bffde2f7efed5fe7c9bb00e5bfb915e" +checksum = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34" dependencies = [ - "windows-sys 0.59.0", + "windows-sys 0.61.2", ] [[package]] @@ -2630,18 +2630,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" +checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "2.0.17" +version = "2.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" +checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5" dependencies = [ "proc-macro2", "quote", @@ -3133,15 +3133,6 @@ dependencies = [ "windows-targets 0.48.5", ] -[[package]] -name = "windows-sys" -version = "0.59.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" -dependencies = [ - "windows-targets 0.52.6", -] - [[package]] name = "windows-sys" version = "0.60.2" @@ -3175,22 +3166,6 @@ dependencies = [ "windows_x86_64_msvc 0.48.5", ] -[[package]] -name = "windows-targets" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" -dependencies = [ - "windows_aarch64_gnullvm 0.52.6", - "windows_aarch64_msvc 0.52.6", - "windows_i686_gnu 0.52.6", - "windows_i686_gnullvm 0.52.6", - "windows_i686_msvc 0.52.6", - "windows_x86_64_gnu 0.52.6", - "windows_x86_64_gnullvm 0.52.6", - "windows_x86_64_msvc 0.52.6", -] - [[package]] name = "windows-targets" version = "0.53.5" @@ -3201,7 +3176,7 @@ dependencies = [ "windows_aarch64_gnullvm 0.53.1", "windows_aarch64_msvc 0.53.1", "windows_i686_gnu 0.53.1", - "windows_i686_gnullvm 0.53.1", + "windows_i686_gnullvm", "windows_i686_msvc 0.53.1", "windows_x86_64_gnu 0.53.1", "windows_x86_64_gnullvm 0.53.1", @@ -3214,12 +3189,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" -[[package]] -name = "windows_aarch64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" - [[package]] name = "windows_aarch64_gnullvm" version = "0.53.1" @@ -3232,12 +3201,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" -[[package]] -name = "windows_aarch64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" - [[package]] name = "windows_aarch64_msvc" version = "0.53.1" @@ -3250,24 +3213,12 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" -[[package]] -name = "windows_i686_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" - [[package]] name = "windows_i686_gnu" version = "0.53.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3" -[[package]] -name = "windows_i686_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" - [[package]] name = "windows_i686_gnullvm" version = "0.53.1" @@ -3280,12 +3231,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" -[[package]] -name = "windows_i686_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" - [[package]] name = "windows_i686_msvc" version = "0.53.1" @@ -3298,12 +3243,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" -[[package]] -name = "windows_x86_64_gnu" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" - [[package]] name = "windows_x86_64_gnu" version = "0.53.1" @@ -3316,12 +3255,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" -[[package]] -name = "windows_x86_64_gnullvm" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" - [[package]] name = "windows_x86_64_gnullvm" version = "0.53.1" @@ -3334,12 +3267,6 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" -[[package]] -name = "windows_x86_64_msvc" -version = "0.52.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" - [[package]] name = "windows_x86_64_msvc" version = "0.53.1" diff --git a/Cargo.toml b/Cargo.toml index c0520b60..85a73e52 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,11 +11,11 @@ exclude = ["tests"] [dependencies] bstr = "1.12.1" hex = "0.4.3" -thiserror = "2.0.17" +thiserror = "2.0.18" tracing = "0.1.44" tracing-subscriber = "0.3.22" sha1 = "0.10.6" -colored = "3.0.0" +colored = "3.1.1" threadpool = "1.8.1" num_cpus = "1.17.0" dashmap = "6.1.0" diff --git a/buckal.snap b/buckal.snap index 16067ef9..87b39d22 100644 --- a/buckal.snap +++ b/buckal.snap @@ -1,9 +1,9 @@ # @generated by `cargo buckal` # Not intended for manual editing. -version = 1 +version = 2 [fingerprints] -"path+file://($WORKSPACE)#0.4.1" = "c58e67f95de601ced0b17b90d7502a042a9021065b8b3ad95d948a990ba483a8" +"path+file://($WORKSPACE)#0.4.1" = "6d91a20f32d73f0ce745fbcccfac002167d699bb7d0ecaff33ad816280104e72" "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" @@ -44,7 +44,7 @@ version = 1 "registry+https://github.com/rust-lang/crates.io-index#cfg_aliases@0.2.1" = "1b65210b78bbd423b4a7dd205bad98ec274c66d7be10fb4181c781cef66ea94c" "registry+https://github.com/rust-lang/crates.io-index#chrono@0.4.43" = "8093e718c1ac742a8db8d725bdea6945616ddf9594e7227b89de8313d6d408ed" "registry+https://github.com/rust-lang/crates.io-index#clang-sys@1.8.1" = "102d192c31614b9d17866fb1fa6ee1a504301bc06386806782e77e1708d836a0" -"registry+https://github.com/rust-lang/crates.io-index#colored@3.0.0" = "98ea94ca339b52351f4ae51bc7ff1fc4e4e3edf31ea49ca6f546f8c0f7e02d27" +"registry+https://github.com/rust-lang/crates.io-index#colored@3.1.1" = "d68ad0083d079d121ea59cf8e31fb7d5bad7578f7e3eee00ee2ce2c6f84a67bf" "registry+https://github.com/rust-lang/crates.io-index#concurrent-queue@2.5.0" = "2be1dabff5ee3eb435dc7777031228eac0cd3c048870348d87293fc83c197266" "registry+https://github.com/rust-lang/crates.io-index#const-oid@0.9.6" = "af3f26910edd91809444779049a4ed3fae2348a7fa97ce6a9b0e5ab38fee3ab4" "registry+https://github.com/rust-lang/crates.io-index#core-foundation-sys@0.8.7" = "e0f74379b2048b7119489f74c4c13e1d6829e0e7705af435bd55ce8afc4b2279" @@ -215,7 +215,7 @@ version = 1 "registry+https://github.com/rust-lang/crates.io-index#scopeguard@1.2.0" = "0baa527d86d4a1c5caf29ed5f5bdd5dde46639205aa6cdbbbfb97f5115865ec0" "registry+https://github.com/rust-lang/crates.io-index#sea-bae@0.2.1" = "d7e7b6b7b0615fa6e7efd640b10011eb12875a98760a90a060b0f24b8eaac803" "registry+https://github.com/rust-lang/crates.io-index#sea-orm-macros@1.1.19" = "6db2b7a1cab3825bd3ba21c12186177be99a9ee3fb52227ed095b8c5f49858ac" -"registry+https://github.com/rust-lang/crates.io-index#sea-orm@1.1.19" = "8221993fe3ccf94cb92c898de8b401606addc68c2d9fe41459d0fe9d0d18696b" +"registry+https://github.com/rust-lang/crates.io-index#sea-orm@1.1.19" = "24961fa106eb553928350da8ae4d32b7c71a51859221e72ab79a6068a6139360" "registry+https://github.com/rust-lang/crates.io-index#sea-query-binder@0.7.0" = "a3ed3cac79137033003cfd3569f577be91ac478ad1188e4273a5d256f9038f4c" "registry+https://github.com/rust-lang/crates.io-index#sea-query@0.32.7" = "10da5890fac79f3a443eee25763a5ba729957e06783568f423f6d473ce32fbb1" "registry+https://github.com/rust-lang/crates.io-index#seahash@4.1.0" = "5bfb692d1110feebdd6ddd8b054cb74393a5b1127323bc80d0351c460b189393" @@ -240,12 +240,12 @@ version = 1 "registry+https://github.com/rust-lang/crates.io-index#socket2@0.6.1" = "9cfb96e2c4d1648230607ab6894286d7f530fba54a692c75024de80ad7be4497" "registry+https://github.com/rust-lang/crates.io-index#spin@0.9.8" = "0a89a1b9fb5520dfef257e4592b0d06a5a693ae6e24f0596674da14e4422e93e" "registry+https://github.com/rust-lang/crates.io-index#spki@0.7.3" = "38cff90801eaeb44ad576151bf270494dbbaafbd3b6f1add2d214ddfa31b4699" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-core@0.8.6" = "9c8862738ec5ee49f6a49c6be6472decf057829c5ae4d201e9500056dd09da8c" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-core@0.8.6" = "152b2bf8d105fec13caf08f36d6a036b64279a2c5be2e86aef363a757420b553" "registry+https://github.com/rust-lang/crates.io-index#sqlx-macros-core@0.8.6" = "c801330650250cb1edf1a1471ceb7f952e447488811daa9482ca532059d9ffec" "registry+https://github.com/rust-lang/crates.io-index#sqlx-macros@0.8.6" = "1435b9cdd7ff47e9a3cffd206777e1764a38a0d20b44a4bcba0179b27c237658" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-mysql@0.8.6" = "6df7e18b70aea909ba2823ee1bc322c6d8a5d05ed8f68049944d868360c6e4dd" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-postgres@0.8.6" = "a8b15f585b65656214550573071289a27d0c31073b8178e2a8dca2c74416eeff" -"registry+https://github.com/rust-lang/crates.io-index#sqlx-sqlite@0.8.6" = "dfd80db309ff276d88abcceddee889feb98b6feada9577d3ccabb39eb6f3dacc" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-mysql@0.8.6" = "2c8207bb3e585f5e1ba88b6f31f0106a85b082a5bf2cfbee97c0212ee96436e9" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-postgres@0.8.6" = "9a9cf68c98093e294d5ed60fcb9738468d4374073dea051e5276c0b3e8deb66c" +"registry+https://github.com/rust-lang/crates.io-index#sqlx-sqlite@0.8.6" = "4d17b08dc9e15c34768b433f2951b0168840729072c394a312a658e7c8c3f3e4" "registry+https://github.com/rust-lang/crates.io-index#sqlx@0.8.6" = "add18a2766bae9eee4954835d6f570e51d019acba17cfd4ae54738b657b04095" "registry+https://github.com/rust-lang/crates.io-index#stable_deref_trait@1.2.1" = "228237c0b3c456d90942c2213844fbab55e828d8d6e70955151d4eecf967f2ed" "registry+https://github.com/rust-lang/crates.io-index#static_assertions@1.1.0" = "91cdd3b5b292316acdeffeb470ae2128cf75af4b8fe3f3b51d7c40f5cce8feb9" @@ -258,8 +258,8 @@ version = 1 "registry+https://github.com/rust-lang/crates.io-index#synstructure@0.13.2" = "a0fce44b849ef90c97e01cbcceb3cfd12a9e502355a3bff34028dbf2f663ab44" "registry+https://github.com/rust-lang/crates.io-index#tap@1.0.1" = "65ddab397aff4ea57dcd56004a95d452cffa0185eb41e938b71d4ffb883ca673" "registry+https://github.com/rust-lang/crates.io-index#tempfile@3.24.0" = "cd1abdfba6338367de1b5516e7a93165a82f8d7b1956a812eb3bba9c56acf374" -"registry+https://github.com/rust-lang/crates.io-index#thiserror-impl@2.0.17" = "2338288ccd0ae6b9bf46193a7f67d2800879ddb941ffa997693348ddbd3b2919" -"registry+https://github.com/rust-lang/crates.io-index#thiserror@2.0.17" = "c0e03513bc2b34bdb63c50135c81053a0f5dbdfb86153d0bcce4d2f4e88f16d7" +"registry+https://github.com/rust-lang/crates.io-index#thiserror-impl@2.0.18" = "4d963d87460c883029e8aaffd06a7b385894163557a7dedc704578bcc4bac4ad" +"registry+https://github.com/rust-lang/crates.io-index#thiserror@2.0.18" = "fd1b02edbdea37c53349232b24816ef4bfa09ba089a820e0bb39b50f8d2d2b20" "registry+https://github.com/rust-lang/crates.io-index#thread_local@1.1.9" = "2a6251ab49209b1905fabf4146850ec260b2411857bb5a5ad48e68bb38b8eb55" "registry+https://github.com/rust-lang/crates.io-index#threadpool@1.8.1" = "173ba7adcd209d944ee19dec035d8f93a0951ec631a938abc3ff9e30843419c1" "registry+https://github.com/rust-lang/crates.io-index#time-core@0.1.6" = "1133e51df0615c387fa2e7e167c1730bd88ee0d414bef7aa221a4a140c85ada7" @@ -312,34 +312,24 @@ version = 1 "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.59.0" = "d9b2f97908c47cf43d78179629b3abef2419054beb103daca10822ad54fa9222" "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" diff --git a/third-party/rust/crates/adler2/2.0.1/BUCK b/third-party/rust/crates/adler2/2.0.1/BUCK index c7c25fa4..f01c7774 100644 --- a/third-party/rust/crates/adler2/2.0.1/BUCK +++ b/third-party/rust/crates/adler2/2.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "adler2-vendor", diff --git a/third-party/rust/crates/ahash/0.7.8/BUCK b/third-party/rust/crates/ahash/0.7.8/BUCK index 90dec3df..f4ff45eb 100644 --- a/third-party/rust/crates/ahash/0.7.8/BUCK +++ b/third-party/rust/crates/ahash/0.7.8/BUCK @@ -30,11 +30,22 @@ rust_library( "@$(location :ahash-build-script-run[rustc_flags])", "@$(location :ahash-manifest[env_flags])", ], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": [ + "//third-party/rust/crates/getrandom/0.2.16:getrandom", + "//third-party/rust/crates/once_cell/1.21.3:once_cell", + ], + "config//os:macos": [ + "//third-party/rust/crates/getrandom/0.2.16:getrandom", + "//third-party/rust/crates/once_cell/1.21.3:once_cell", + ], + "config//os:windows": [ + "//third-party/rust/crates/getrandom/0.2.16:getrandom", + "//third-party/rust/crates/once_cell/1.21.3:once_cell", + ], + }), visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/getrandom/0.2.16:getrandom", - "//third-party/rust/crates/once_cell/1.21.3:once_cell", - ], ) rust_binary( diff --git a/third-party/rust/crates/ahash/0.8.12/BUCK b/third-party/rust/crates/ahash/0.8.12/BUCK index 2a89d597..f44fdebb 100644 --- a/third-party/rust/crates/ahash/0.8.12/BUCK +++ b/third-party/rust/crates/ahash/0.8.12/BUCK @@ -36,13 +36,17 @@ rust_library( "@$(location :ahash-build-script-run[rustc_flags])", "@$(location :ahash-manifest[env_flags])", ], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", "//third-party/rust/crates/getrandom/0.3.4:getrandom", - "//third-party/rust/crates/once_cell/1.21.3:once_cell", "//third-party/rust/crates/zerocopy/0.8.31:zerocopy", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/once_cell/1.21.3:once_cell"], + "config//os:macos": ["//third-party/rust/crates/once_cell/1.21.3:once_cell"], + "config//os:windows": ["//third-party/rust/crates/once_cell/1.21.3:once_cell"], + }), + visibility = ["PUBLIC"], ) rust_binary( diff --git a/third-party/rust/crates/aho-corasick/1.1.4/BUCK b/third-party/rust/crates/aho-corasick/1.1.4/BUCK index 7fc28be6..c1cf573a 100644 --- a/third-party/rust/crates/aho-corasick/1.1.4/BUCK +++ b/third-party/rust/crates/aho-corasick/1.1.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "aho-corasick-vendor", diff --git a/third-party/rust/crates/aliasable/0.1.3/BUCK b/third-party/rust/crates/aliasable/0.1.3/BUCK index d1976852..6dea1aa5 100644 --- a/third-party/rust/crates/aliasable/0.1.3/BUCK +++ b/third-party/rust/crates/aliasable/0.1.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "aliasable-vendor", diff --git a/third-party/rust/crates/allocator-api2/0.2.21/BUCK b/third-party/rust/crates/allocator-api2/0.2.21/BUCK index 9473d16b..ef7f2339 100644 --- a/third-party/rust/crates/allocator-api2/0.2.21/BUCK +++ b/third-party/rust/crates/allocator-api2/0.2.21/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "allocator-api2-vendor", diff --git a/third-party/rust/crates/android_system_properties/0.1.5/BUCK b/third-party/rust/crates/android_system_properties/0.1.5/BUCK index abf95787..9c9b4197 100644 --- a/third-party/rust/crates/android_system_properties/0.1.5/BUCK +++ b/third-party/rust/crates/android_system_properties/0.1.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "android_system_properties-vendor", @@ -23,6 +23,7 @@ rust_library( crate = "android_system_properties", crate_root = "vendor/src/lib.rs", edition = "2018", + compatible_with = ["prelude//os/constraints:linux"], rustc_flags = ["@$(location :android_system_properties-manifest[env_flags])"], visibility = ["PUBLIC"], deps = ["//third-party/rust/crates/libc/0.2.180:libc"], diff --git a/third-party/rust/crates/arrayvec/0.7.6/BUCK b/third-party/rust/crates/arrayvec/0.7.6/BUCK index 0599e32f..4b19e692 100644 --- a/third-party/rust/crates/arrayvec/0.7.6/BUCK +++ b/third-party/rust/crates/arrayvec/0.7.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "arrayvec-vendor", diff --git a/third-party/rust/crates/async-stream-impl/0.3.6/BUCK b/third-party/rust/crates/async-stream-impl/0.3.6/BUCK index aa766e73..d5b07f1d 100644 --- a/third-party/rust/crates/async-stream-impl/0.3.6/BUCK +++ b/third-party/rust/crates/async-stream-impl/0.3.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "async-stream-impl-vendor", diff --git a/third-party/rust/crates/async-stream/0.3.6/BUCK b/third-party/rust/crates/async-stream/0.3.6/BUCK index b3c4a5d3..19cbd8a0 100644 --- a/third-party/rust/crates/async-stream/0.3.6/BUCK +++ b/third-party/rust/crates/async-stream/0.3.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "async-stream-vendor", diff --git a/third-party/rust/crates/async-trait/0.1.89/BUCK b/third-party/rust/crates/async-trait/0.1.89/BUCK index f842da77..4094294e 100644 --- a/third-party/rust/crates/async-trait/0.1.89/BUCK +++ b/third-party/rust/crates/async-trait/0.1.89/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "async-trait-vendor", diff --git a/third-party/rust/crates/atoi/2.0.0/BUCK b/third-party/rust/crates/atoi/2.0.0/BUCK index c0086ee8..7d7bc01b 100644 --- a/third-party/rust/crates/atoi/2.0.0/BUCK +++ b/third-party/rust/crates/atoi/2.0.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "atoi-vendor", diff --git a/third-party/rust/crates/atomic-waker/1.1.2/BUCK b/third-party/rust/crates/atomic-waker/1.1.2/BUCK index 5fda8d74..15f2741e 100644 --- a/third-party/rust/crates/atomic-waker/1.1.2/BUCK +++ b/third-party/rust/crates/atomic-waker/1.1.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "atomic-waker-vendor", diff --git a/third-party/rust/crates/autocfg/1.5.0/BUCK b/third-party/rust/crates/autocfg/1.5.0/BUCK index cec3e7c8..6de3791e 100644 --- a/third-party/rust/crates/autocfg/1.5.0/BUCK +++ b/third-party/rust/crates/autocfg/1.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "autocfg-vendor", diff --git a/third-party/rust/crates/axum-core/0.5.5/BUCK b/third-party/rust/crates/axum-core/0.5.5/BUCK index 578570ec..0c9c6be5 100644 --- a/third-party/rust/crates/axum-core/0.5.5/BUCK +++ b/third-party/rust/crates/axum-core/0.5.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "axum-core-vendor", diff --git a/third-party/rust/crates/axum-macros/0.5.0/BUCK b/third-party/rust/crates/axum-macros/0.5.0/BUCK index cbf26f18..6506c7f6 100644 --- a/third-party/rust/crates/axum-macros/0.5.0/BUCK +++ b/third-party/rust/crates/axum-macros/0.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "axum-macros-vendor", diff --git a/third-party/rust/crates/axum/0.8.8/BUCK b/third-party/rust/crates/axum/0.8.8/BUCK index ccebca59..92571112 100644 --- a/third-party/rust/crates/axum/0.8.8/BUCK +++ b/third-party/rust/crates/axum/0.8.8/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "axum-vendor", diff --git a/third-party/rust/crates/base64/0.22.1/BUCK b/third-party/rust/crates/base64/0.22.1/BUCK index 0b5fde46..a1f8b046 100644 --- a/third-party/rust/crates/base64/0.22.1/BUCK +++ b/third-party/rust/crates/base64/0.22.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "base64-vendor", diff --git a/third-party/rust/crates/base64ct/1.8.1/BUCK b/third-party/rust/crates/base64ct/1.8.1/BUCK index fe91efe1..fdb477eb 100644 --- a/third-party/rust/crates/base64ct/1.8.1/BUCK +++ b/third-party/rust/crates/base64ct/1.8.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "base64ct-vendor", diff --git a/third-party/rust/crates/bincode/2.0.1/BUCK b/third-party/rust/crates/bincode/2.0.1/BUCK index 065b721b..56e83ec1 100644 --- a/third-party/rust/crates/bincode/2.0.1/BUCK +++ b/third-party/rust/crates/bincode/2.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bincode-vendor", diff --git a/third-party/rust/crates/bincode_derive/2.0.1/BUCK b/third-party/rust/crates/bincode_derive/2.0.1/BUCK index 8ce32e5c..f00fdaee 100644 --- a/third-party/rust/crates/bincode_derive/2.0.1/BUCK +++ b/third-party/rust/crates/bincode_derive/2.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bincode_derive-vendor", diff --git a/third-party/rust/crates/bitflags/2.10.0/BUCK b/third-party/rust/crates/bitflags/2.10.0/BUCK index 304c0d06..2b06d030 100644 --- a/third-party/rust/crates/bitflags/2.10.0/BUCK +++ b/third-party/rust/crates/bitflags/2.10.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bitflags-vendor", diff --git a/third-party/rust/crates/bitvec/1.0.1/BUCK b/third-party/rust/crates/bitvec/1.0.1/BUCK index 451b4633..549c1598 100644 --- a/third-party/rust/crates/bitvec/1.0.1/BUCK +++ b/third-party/rust/crates/bitvec/1.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bitvec-vendor", diff --git a/third-party/rust/crates/block-buffer/0.10.4/BUCK b/third-party/rust/crates/block-buffer/0.10.4/BUCK index c450064f..8176592b 100644 --- a/third-party/rust/crates/block-buffer/0.10.4/BUCK +++ b/third-party/rust/crates/block-buffer/0.10.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "block-buffer-vendor", diff --git a/third-party/rust/crates/borsh-derive/1.6.0/BUCK b/third-party/rust/crates/borsh-derive/1.6.0/BUCK index 828b8945..27dd7779 100644 --- a/third-party/rust/crates/borsh-derive/1.6.0/BUCK +++ b/third-party/rust/crates/borsh-derive/1.6.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "borsh-derive-vendor", diff --git a/third-party/rust/crates/bstr/1.12.1/BUCK b/third-party/rust/crates/bstr/1.12.1/BUCK index 3f785aef..e04ddda5 100644 --- a/third-party/rust/crates/bstr/1.12.1/BUCK +++ b/third-party/rust/crates/bstr/1.12.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bstr-vendor", diff --git a/third-party/rust/crates/bumpalo/3.19.0/BUCK b/third-party/rust/crates/bumpalo/3.19.0/BUCK index 74644b1b..fae5734f 100644 --- a/third-party/rust/crates/bumpalo/3.19.0/BUCK +++ b/third-party/rust/crates/bumpalo/3.19.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bumpalo-vendor", diff --git a/third-party/rust/crates/bytecheck_derive/0.6.12/BUCK b/third-party/rust/crates/bytecheck_derive/0.6.12/BUCK index f61a7393..ff80b6a1 100644 --- a/third-party/rust/crates/bytecheck_derive/0.6.12/BUCK +++ b/third-party/rust/crates/bytecheck_derive/0.6.12/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bytecheck_derive-vendor", diff --git a/third-party/rust/crates/byteorder/1.5.0/BUCK b/third-party/rust/crates/byteorder/1.5.0/BUCK index 00847a84..82385138 100644 --- a/third-party/rust/crates/byteorder/1.5.0/BUCK +++ b/third-party/rust/crates/byteorder/1.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "byteorder-vendor", diff --git a/third-party/rust/crates/bytes/1.11.0/BUCK b/third-party/rust/crates/bytes/1.11.0/BUCK index 83f47857..22aa1304 100644 --- a/third-party/rust/crates/bytes/1.11.0/BUCK +++ b/third-party/rust/crates/bytes/1.11.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "bytes-vendor", diff --git a/third-party/rust/crates/cc/1.2.49/BUCK b/third-party/rust/crates/cc/1.2.49/BUCK index cbb7dca3..19947ab2 100644 --- a/third-party/rust/crates/cc/1.2.49/BUCK +++ b/third-party/rust/crates/cc/1.2.49/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "cc-vendor", @@ -29,7 +29,10 @@ rust_library( deps = [ "//third-party/rust/crates/find-msvc-tools/0.1.5:find-msvc-tools", "//third-party/rust/crates/jobserver/0.1.34:jobserver", - "//third-party/rust/crates/libc/0.2.180:libc", "//third-party/rust/crates/shlex/1.3.0:shlex", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + }), ) diff --git a/third-party/rust/crates/cexpr/0.6.0/BUCK b/third-party/rust/crates/cexpr/0.6.0/BUCK index 79b7b9f7..ce079325 100644 --- a/third-party/rust/crates/cexpr/0.6.0/BUCK +++ b/third-party/rust/crates/cexpr/0.6.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "cexpr-vendor", diff --git a/third-party/rust/crates/cfg-if/1.0.4/BUCK b/third-party/rust/crates/cfg-if/1.0.4/BUCK index d004b907..5df74f48 100644 --- a/third-party/rust/crates/cfg-if/1.0.4/BUCK +++ b/third-party/rust/crates/cfg-if/1.0.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "cfg-if-vendor", diff --git a/third-party/rust/crates/cfg_aliases/0.2.1/BUCK b/third-party/rust/crates/cfg_aliases/0.2.1/BUCK index fc6244d5..87622ac5 100644 --- a/third-party/rust/crates/cfg_aliases/0.2.1/BUCK +++ b/third-party/rust/crates/cfg_aliases/0.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "cfg_aliases-vendor", diff --git a/third-party/rust/crates/chrono/0.4.43/BUCK b/third-party/rust/crates/chrono/0.4.43/BUCK index 5abf3215..3e9d4b28 100644 --- a/third-party/rust/crates/chrono/0.4.43/BUCK +++ b/third-party/rust/crates/chrono/0.4.43/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "chrono-vendor", @@ -39,10 +39,14 @@ rust_library( "windows-link", ], rustc_flags = ["@$(location :chrono-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ - "//third-party/rust/crates/iana-time-zone/0.1.64:iana-time-zone", "//third-party/rust/crates/num-traits/0.2.19:num-traits", "//third-party/rust/crates/serde/1.0.228:serde", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/iana-time-zone/0.1.64:iana-time-zone"], + "config//os:macos": ["//third-party/rust/crates/iana-time-zone/0.1.64:iana-time-zone"], + "config//os:windows": ["//third-party/rust/crates/windows-link/0.2.1:windows-link"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/colored/3.1.1/BUCK b/third-party/rust/crates/colored/3.1.1/BUCK new file mode 100644 index 00000000..7790fb3b --- /dev/null +++ b/third-party/rust/crates/colored/3.1.1/BUCK @@ -0,0 +1,32 @@ +# @generated by `cargo buckal` + +load("@buckal//:cargo_manifest.bzl", "cargo_manifest") +load("@buckal//:wrapper.bzl", "rust_library") + +http_archive( + name = "colored-vendor", + urls = ["https://static.crates.io/crates/colored/colored-3.1.1.crate"], + sha256 = "faf9468729b8cbcea668e36183cb69d317348c2e08e994829fb56ebfdfbaac34", + type = "tar.gz", + strip_prefix = "colored-3.1.1", + out = "vendor", +) + +cargo_manifest( + name = "colored-manifest", + vendor = ":colored-vendor", +) + +rust_library( + name = "colored", + srcs = [":colored-vendor"], + crate = "colored", + crate_root = "vendor/src/lib.rs", + edition = "2021", + rustc_flags = ["@$(location :colored-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.61.2:windows-sys"], + }), + visibility = ["PUBLIC"], +) diff --git a/third-party/rust/crates/concurrent-queue/2.5.0/BUCK b/third-party/rust/crates/concurrent-queue/2.5.0/BUCK index 1ade1494..c19c9641 100644 --- a/third-party/rust/crates/concurrent-queue/2.5.0/BUCK +++ b/third-party/rust/crates/concurrent-queue/2.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "concurrent-queue-vendor", diff --git a/third-party/rust/crates/const-oid/0.9.6/BUCK b/third-party/rust/crates/const-oid/0.9.6/BUCK index b8c68f9a..360feaad 100644 --- a/third-party/rust/crates/const-oid/0.9.6/BUCK +++ b/third-party/rust/crates/const-oid/0.9.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "const-oid-vendor", diff --git a/third-party/rust/crates/core-foundation-sys/0.8.7/BUCK b/third-party/rust/crates/core-foundation-sys/0.8.7/BUCK index e5df326b..45013422 100644 --- a/third-party/rust/crates/core-foundation-sys/0.8.7/BUCK +++ b/third-party/rust/crates/core-foundation-sys/0.8.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "core-foundation-sys-vendor", diff --git a/third-party/rust/crates/cpufeatures/0.2.17/BUCK b/third-party/rust/crates/cpufeatures/0.2.17/BUCK index 70495f97..cd11ca5d 100644 --- a/third-party/rust/crates/cpufeatures/0.2.17/BUCK +++ b/third-party/rust/crates/cpufeatures/0.2.17/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "cpufeatures-vendor", @@ -24,5 +24,9 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2018", rustc_flags = ["@$(location :cpufeatures-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + }), visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/crc-catalog/2.4.0/BUCK b/third-party/rust/crates/crc-catalog/2.4.0/BUCK index 2ded23a0..bee1241f 100644 --- a/third-party/rust/crates/crc-catalog/2.4.0/BUCK +++ b/third-party/rust/crates/crc-catalog/2.4.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "crc-catalog-vendor", diff --git a/third-party/rust/crates/crc/3.4.0/BUCK b/third-party/rust/crates/crc/3.4.0/BUCK index 21fb3590..81595fb3 100644 --- a/third-party/rust/crates/crc/3.4.0/BUCK +++ b/third-party/rust/crates/crc/3.4.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "crc-vendor", diff --git a/third-party/rust/crates/crossbeam-deque/0.8.6/BUCK b/third-party/rust/crates/crossbeam-deque/0.8.6/BUCK index 8ba080a0..0d8e7d21 100644 --- a/third-party/rust/crates/crossbeam-deque/0.8.6/BUCK +++ b/third-party/rust/crates/crossbeam-deque/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "crossbeam-deque-vendor", diff --git a/third-party/rust/crates/crossbeam-epoch/0.9.18/BUCK b/third-party/rust/crates/crossbeam-epoch/0.9.18/BUCK index e54e2b3d..44df78ab 100644 --- a/third-party/rust/crates/crossbeam-epoch/0.9.18/BUCK +++ b/third-party/rust/crates/crossbeam-epoch/0.9.18/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "crossbeam-epoch-vendor", diff --git a/third-party/rust/crates/crossbeam-queue/0.3.12/BUCK b/third-party/rust/crates/crossbeam-queue/0.3.12/BUCK index 5d0a2bb4..4c1688c0 100644 --- a/third-party/rust/crates/crossbeam-queue/0.3.12/BUCK +++ b/third-party/rust/crates/crossbeam-queue/0.3.12/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "crossbeam-queue-vendor", diff --git a/third-party/rust/crates/crypto-common/0.1.7/BUCK b/third-party/rust/crates/crypto-common/0.1.7/BUCK index 15174078..2d174564 100644 --- a/third-party/rust/crates/crypto-common/0.1.7/BUCK +++ b/third-party/rust/crates/crypto-common/0.1.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "crypto-common-vendor", diff --git a/third-party/rust/crates/dashmap/6.1.0/BUCK b/third-party/rust/crates/dashmap/6.1.0/BUCK index 48a9e4a8..d56fcdc8 100644 --- a/third-party/rust/crates/dashmap/6.1.0/BUCK +++ b/third-party/rust/crates/dashmap/6.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "dashmap-vendor", diff --git a/third-party/rust/crates/der/0.7.10/BUCK b/third-party/rust/crates/der/0.7.10/BUCK index 62e6ce7a..22c29cee 100644 --- a/third-party/rust/crates/der/0.7.10/BUCK +++ b/third-party/rust/crates/der/0.7.10/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "der-vendor", diff --git a/third-party/rust/crates/deranged/0.5.5/BUCK b/third-party/rust/crates/deranged/0.5.5/BUCK index 4f9ce15b..8f21ff23 100644 --- a/third-party/rust/crates/deranged/0.5.5/BUCK +++ b/third-party/rust/crates/deranged/0.5.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "deranged-vendor", diff --git a/third-party/rust/crates/derive_more-impl/2.1.0/BUCK b/third-party/rust/crates/derive_more-impl/2.1.0/BUCK index 0f01be10..8cf41343 100644 --- a/third-party/rust/crates/derive_more-impl/2.1.0/BUCK +++ b/third-party/rust/crates/derive_more-impl/2.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "derive_more-impl-vendor", diff --git a/third-party/rust/crates/derive_more/2.1.0/BUCK b/third-party/rust/crates/derive_more/2.1.0/BUCK index 0700f1a4..3304a885 100644 --- a/third-party/rust/crates/derive_more/2.1.0/BUCK +++ b/third-party/rust/crates/derive_more/2.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "derive_more-vendor", diff --git a/third-party/rust/crates/diffs/0.5.1/BUCK b/third-party/rust/crates/diffs/0.5.1/BUCK index e4f88f5e..5cbc1fd0 100644 --- a/third-party/rust/crates/diffs/0.5.1/BUCK +++ b/third-party/rust/crates/diffs/0.5.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "diffs-vendor", diff --git a/third-party/rust/crates/digest/0.10.7/BUCK b/third-party/rust/crates/digest/0.10.7/BUCK index 6f99cd24..80d90ace 100644 --- a/third-party/rust/crates/digest/0.10.7/BUCK +++ b/third-party/rust/crates/digest/0.10.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "digest-vendor", diff --git a/third-party/rust/crates/displaydoc/0.2.5/BUCK b/third-party/rust/crates/displaydoc/0.2.5/BUCK index 690f7783..8079908b 100644 --- a/third-party/rust/crates/displaydoc/0.2.5/BUCK +++ b/third-party/rust/crates/displaydoc/0.2.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "displaydoc-vendor", diff --git a/third-party/rust/crates/dotenvy/0.15.7/BUCK b/third-party/rust/crates/dotenvy/0.15.7/BUCK index 2d6f235c..958dc5ea 100644 --- a/third-party/rust/crates/dotenvy/0.15.7/BUCK +++ b/third-party/rust/crates/dotenvy/0.15.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "dotenvy-vendor", diff --git a/third-party/rust/crates/either/1.15.0/BUCK b/third-party/rust/crates/either/1.15.0/BUCK index e4d11a4e..35eb7049 100644 --- a/third-party/rust/crates/either/1.15.0/BUCK +++ b/third-party/rust/crates/either/1.15.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "either-vendor", diff --git a/third-party/rust/crates/encoding_rs/0.8.35/BUCK b/third-party/rust/crates/encoding_rs/0.8.35/BUCK index 61ae2273..520d7932 100644 --- a/third-party/rust/crates/encoding_rs/0.8.35/BUCK +++ b/third-party/rust/crates/encoding_rs/0.8.35/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "encoding_rs-vendor", diff --git a/third-party/rust/crates/env_logger/0.8.4/BUCK b/third-party/rust/crates/env_logger/0.8.4/BUCK index a39eabd2..61d828b0 100644 --- a/third-party/rust/crates/env_logger/0.8.4/BUCK +++ b/third-party/rust/crates/env_logger/0.8.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "env_logger-vendor", diff --git a/third-party/rust/crates/equivalent/1.0.2/BUCK b/third-party/rust/crates/equivalent/1.0.2/BUCK index cf16f53c..c6d0e9a0 100644 --- a/third-party/rust/crates/equivalent/1.0.2/BUCK +++ b/third-party/rust/crates/equivalent/1.0.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "equivalent-vendor", diff --git a/third-party/rust/crates/errno/0.3.14/BUCK b/third-party/rust/crates/errno/0.3.14/BUCK index f0930a66..e1677072 100644 --- a/third-party/rust/crates/errno/0.3.14/BUCK +++ b/third-party/rust/crates/errno/0.3.14/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "errno-vendor", @@ -25,6 +25,11 @@ rust_library( edition = "2018", features = ["std"], rustc_flags = ["@$(location :errno-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.61.2:windows-sys"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/libc/0.2.180:libc"], ) diff --git a/third-party/rust/crates/etcetera/0.8.0/BUCK b/third-party/rust/crates/etcetera/0.8.0/BUCK index 60aca01f..2e8999a4 100644 --- a/third-party/rust/crates/etcetera/0.8.0/BUCK +++ b/third-party/rust/crates/etcetera/0.8.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "etcetera-vendor", @@ -24,9 +24,12 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2018", rustc_flags = ["@$(location :etcetera-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", "//third-party/rust/crates/home/0.5.12:home", - ], + ] + select({ + "DEFAULT": [], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.48.0:windows-sys"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/event-listener/5.4.1/BUCK b/third-party/rust/crates/event-listener/5.4.1/BUCK index 18adf120..5941a308 100644 --- a/third-party/rust/crates/event-listener/5.4.1/BUCK +++ b/third-party/rust/crates/event-listener/5.4.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "event-listener-vendor", @@ -29,10 +29,14 @@ rust_library( "std", ], rustc_flags = ["@$(location :event-listener-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/concurrent-queue/2.5.0:concurrent-queue", - "//third-party/rust/crates/parking/2.2.1:parking", "//third-party/rust/crates/pin-project-lite/0.2.16:pin-project-lite", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/parking/2.2.1:parking"], + "config//os:macos": ["//third-party/rust/crates/parking/2.2.1:parking"], + "config//os:windows": ["//third-party/rust/crates/parking/2.2.1:parking"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/fastrand/2.3.0/BUCK b/third-party/rust/crates/fastrand/2.3.0/BUCK index 2e90716c..9ea225db 100644 --- a/third-party/rust/crates/fastrand/2.3.0/BUCK +++ b/third-party/rust/crates/fastrand/2.3.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "fastrand-vendor", diff --git a/third-party/rust/crates/find-msvc-tools/0.1.5/BUCK b/third-party/rust/crates/find-msvc-tools/0.1.5/BUCK index aa7aecca..236ae24c 100644 --- a/third-party/rust/crates/find-msvc-tools/0.1.5/BUCK +++ b/third-party/rust/crates/find-msvc-tools/0.1.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "find-msvc-tools-vendor", diff --git a/third-party/rust/crates/flate2/1.1.8/BUCK b/third-party/rust/crates/flate2/1.1.8/BUCK index 5b492ba4..dd64b5bd 100644 --- a/third-party/rust/crates/flate2/1.1.8/BUCK +++ b/third-party/rust/crates/flate2/1.1.8/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "flate2-vendor", diff --git a/third-party/rust/crates/flume/0.11.1/BUCK b/third-party/rust/crates/flume/0.11.1/BUCK index 4cdfa489..4a4b7c11 100644 --- a/third-party/rust/crates/flume/0.11.1/BUCK +++ b/third-party/rust/crates/flume/0.11.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "flume-vendor", diff --git a/third-party/rust/crates/foldhash/0.1.5/BUCK b/third-party/rust/crates/foldhash/0.1.5/BUCK index 981ae960..89b9a241 100644 --- a/third-party/rust/crates/foldhash/0.1.5/BUCK +++ b/third-party/rust/crates/foldhash/0.1.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "foldhash-vendor", diff --git a/third-party/rust/crates/form_urlencoded/1.2.2/BUCK b/third-party/rust/crates/form_urlencoded/1.2.2/BUCK index 954b14b5..5e985f38 100644 --- a/third-party/rust/crates/form_urlencoded/1.2.2/BUCK +++ b/third-party/rust/crates/form_urlencoded/1.2.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "form_urlencoded-vendor", diff --git a/third-party/rust/crates/funty/2.0.0/BUCK b/third-party/rust/crates/funty/2.0.0/BUCK index dfec2eb1..5d2216a6 100644 --- a/third-party/rust/crates/funty/2.0.0/BUCK +++ b/third-party/rust/crates/funty/2.0.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "funty-vendor", diff --git a/third-party/rust/crates/futures-channel/0.3.31/BUCK b/third-party/rust/crates/futures-channel/0.3.31/BUCK index 39d21326..a7f01802 100644 --- a/third-party/rust/crates/futures-channel/0.3.31/BUCK +++ b/third-party/rust/crates/futures-channel/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-channel-vendor", diff --git a/third-party/rust/crates/futures-core/0.3.31/BUCK b/third-party/rust/crates/futures-core/0.3.31/BUCK index 6974b1c5..e7cb312d 100644 --- a/third-party/rust/crates/futures-core/0.3.31/BUCK +++ b/third-party/rust/crates/futures-core/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-core-vendor", diff --git a/third-party/rust/crates/futures-executor/0.3.31/BUCK b/third-party/rust/crates/futures-executor/0.3.31/BUCK index f27190a9..58cd5637 100644 --- a/third-party/rust/crates/futures-executor/0.3.31/BUCK +++ b/third-party/rust/crates/futures-executor/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-executor-vendor", diff --git a/third-party/rust/crates/futures-intrusive/0.5.0/BUCK b/third-party/rust/crates/futures-intrusive/0.5.0/BUCK index cf5435ca..a0b60546 100644 --- a/third-party/rust/crates/futures-intrusive/0.5.0/BUCK +++ b/third-party/rust/crates/futures-intrusive/0.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-intrusive-vendor", diff --git a/third-party/rust/crates/futures-io/0.3.31/BUCK b/third-party/rust/crates/futures-io/0.3.31/BUCK index b5141749..d1b659ee 100644 --- a/third-party/rust/crates/futures-io/0.3.31/BUCK +++ b/third-party/rust/crates/futures-io/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-io-vendor", diff --git a/third-party/rust/crates/futures-macro/0.3.31/BUCK b/third-party/rust/crates/futures-macro/0.3.31/BUCK index 4ce724db..3ef0fa37 100644 --- a/third-party/rust/crates/futures-macro/0.3.31/BUCK +++ b/third-party/rust/crates/futures-macro/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-macro-vendor", diff --git a/third-party/rust/crates/futures-sink/0.3.31/BUCK b/third-party/rust/crates/futures-sink/0.3.31/BUCK index cadcbc96..9f156435 100644 --- a/third-party/rust/crates/futures-sink/0.3.31/BUCK +++ b/third-party/rust/crates/futures-sink/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-sink-vendor", diff --git a/third-party/rust/crates/futures-task/0.3.31/BUCK b/third-party/rust/crates/futures-task/0.3.31/BUCK index 99712112..415fdadd 100644 --- a/third-party/rust/crates/futures-task/0.3.31/BUCK +++ b/third-party/rust/crates/futures-task/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-task-vendor", diff --git a/third-party/rust/crates/futures-util/0.3.31/BUCK b/third-party/rust/crates/futures-util/0.3.31/BUCK index 4d724e52..e87e24a3 100644 --- a/third-party/rust/crates/futures-util/0.3.31/BUCK +++ b/third-party/rust/crates/futures-util/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-util-vendor", diff --git a/third-party/rust/crates/futures/0.3.31/BUCK b/third-party/rust/crates/futures/0.3.31/BUCK index f1a5d24e..c0c206ad 100644 --- a/third-party/rust/crates/futures/0.3.31/BUCK +++ b/third-party/rust/crates/futures/0.3.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "futures-vendor", diff --git a/third-party/rust/crates/getrandom/0.2.16/BUCK b/third-party/rust/crates/getrandom/0.2.16/BUCK index a2983c53..fc855c3f 100644 --- a/third-party/rust/crates/getrandom/0.2.16/BUCK +++ b/third-party/rust/crates/getrandom/0.2.16/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "getrandom-vendor", @@ -25,9 +25,10 @@ rust_library( edition = "2018", features = ["std"], rustc_flags = ["@$(location :getrandom-manifest[env_flags])"], + deps = ["//third-party/rust/crates/cfg-if/1.0.4:cfg-if"] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + }), visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", - "//third-party/rust/crates/libc/0.2.180:libc", - ], ) diff --git a/third-party/rust/crates/getrandom/0.3.4/BUCK b/third-party/rust/crates/getrandom/0.3.4/BUCK index 7a793347..a9945436 100644 --- a/third-party/rust/crates/getrandom/0.3.4/BUCK +++ b/third-party/rust/crates/getrandom/0.3.4/BUCK @@ -31,11 +31,15 @@ rust_library( "@$(location :getrandom-build-script-run[rustc_flags])", "@$(location :getrandom-manifest[env_flags])", ], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", - "//third-party/rust/crates/libc/0.2.180:libc", - ], + "//third-party/rust/crates/r-efi/5.3.0:r-efi", + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + }), + visibility = ["PUBLIC"], ) rust_binary( diff --git a/third-party/rust/crates/glob/0.3.3/BUCK b/third-party/rust/crates/glob/0.3.3/BUCK index 6c90204b..98720196 100644 --- a/third-party/rust/crates/glob/0.3.3/BUCK +++ b/third-party/rust/crates/glob/0.3.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "glob-vendor", diff --git a/third-party/rust/crates/hashbrown/0.12.3/BUCK b/third-party/rust/crates/hashbrown/0.12.3/BUCK index c37547fe..87da3f70 100644 --- a/third-party/rust/crates/hashbrown/0.12.3/BUCK +++ b/third-party/rust/crates/hashbrown/0.12.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hashbrown-vendor", diff --git a/third-party/rust/crates/hashbrown/0.14.5/BUCK b/third-party/rust/crates/hashbrown/0.14.5/BUCK index ee782d57..a21177c7 100644 --- a/third-party/rust/crates/hashbrown/0.14.5/BUCK +++ b/third-party/rust/crates/hashbrown/0.14.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hashbrown-vendor", diff --git a/third-party/rust/crates/hashbrown/0.15.5/BUCK b/third-party/rust/crates/hashbrown/0.15.5/BUCK index 64978d10..dc1e001d 100644 --- a/third-party/rust/crates/hashbrown/0.15.5/BUCK +++ b/third-party/rust/crates/hashbrown/0.15.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hashbrown-vendor", diff --git a/third-party/rust/crates/hashbrown/0.16.1/BUCK b/third-party/rust/crates/hashbrown/0.16.1/BUCK index 49d98a7e..f571f869 100644 --- a/third-party/rust/crates/hashbrown/0.16.1/BUCK +++ b/third-party/rust/crates/hashbrown/0.16.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hashbrown-vendor", diff --git a/third-party/rust/crates/hashlink/0.10.0/BUCK b/third-party/rust/crates/hashlink/0.10.0/BUCK index be28ef2e..17f5af37 100644 --- a/third-party/rust/crates/hashlink/0.10.0/BUCK +++ b/third-party/rust/crates/hashlink/0.10.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hashlink-vendor", diff --git a/third-party/rust/crates/heck/0.4.1/BUCK b/third-party/rust/crates/heck/0.4.1/BUCK index d4d4fbe8..b3036f43 100644 --- a/third-party/rust/crates/heck/0.4.1/BUCK +++ b/third-party/rust/crates/heck/0.4.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "heck-vendor", diff --git a/third-party/rust/crates/heck/0.5.0/BUCK b/third-party/rust/crates/heck/0.5.0/BUCK index d3e476fa..0db4cf78 100644 --- a/third-party/rust/crates/heck/0.5.0/BUCK +++ b/third-party/rust/crates/heck/0.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "heck-vendor", diff --git a/third-party/rust/crates/hermit-abi/0.5.2/BUCK b/third-party/rust/crates/hermit-abi/0.5.2/BUCK index 4d7260cc..433e0b04 100644 --- a/third-party/rust/crates/hermit-abi/0.5.2/BUCK +++ b/third-party/rust/crates/hermit-abi/0.5.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hermit-abi-vendor", diff --git a/third-party/rust/crates/hex/0.4.3/BUCK b/third-party/rust/crates/hex/0.4.3/BUCK index a327eb7b..8778958a 100644 --- a/third-party/rust/crates/hex/0.4.3/BUCK +++ b/third-party/rust/crates/hex/0.4.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hex-vendor", diff --git a/third-party/rust/crates/hkdf/0.12.4/BUCK b/third-party/rust/crates/hkdf/0.12.4/BUCK index f70b3174..cb8e2c96 100644 --- a/third-party/rust/crates/hkdf/0.12.4/BUCK +++ b/third-party/rust/crates/hkdf/0.12.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hkdf-vendor", diff --git a/third-party/rust/crates/hmac/0.12.1/BUCK b/third-party/rust/crates/hmac/0.12.1/BUCK index 948a8f01..59706a62 100644 --- a/third-party/rust/crates/hmac/0.12.1/BUCK +++ b/third-party/rust/crates/hmac/0.12.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hmac-vendor", diff --git a/third-party/rust/crates/home/0.5.12/BUCK b/third-party/rust/crates/home/0.5.12/BUCK index ce468aaf..221adaae 100644 --- a/third-party/rust/crates/home/0.5.12/BUCK +++ b/third-party/rust/crates/home/0.5.12/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "home-vendor", @@ -24,5 +24,9 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2024", rustc_flags = ["@$(location :home-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.61.2:windows-sys"], + }), visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/http-body-util/0.1.3/BUCK b/third-party/rust/crates/http-body-util/0.1.3/BUCK index b811d245..5f48ab77 100644 --- a/third-party/rust/crates/http-body-util/0.1.3/BUCK +++ b/third-party/rust/crates/http-body-util/0.1.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "http-body-util-vendor", diff --git a/third-party/rust/crates/http-body/1.0.1/BUCK b/third-party/rust/crates/http-body/1.0.1/BUCK index d6f3cd59..a058f4d6 100644 --- a/third-party/rust/crates/http-body/1.0.1/BUCK +++ b/third-party/rust/crates/http-body/1.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "http-body-vendor", diff --git a/third-party/rust/crates/http/1.4.0/BUCK b/third-party/rust/crates/http/1.4.0/BUCK index 8e92f7b4..8c76bba4 100644 --- a/third-party/rust/crates/http/1.4.0/BUCK +++ b/third-party/rust/crates/http/1.4.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "http-vendor", diff --git a/third-party/rust/crates/httpdate/1.0.3/BUCK b/third-party/rust/crates/httpdate/1.0.3/BUCK index d43e813f..3466b7a1 100644 --- a/third-party/rust/crates/httpdate/1.0.3/BUCK +++ b/third-party/rust/crates/httpdate/1.0.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "httpdate-vendor", diff --git a/third-party/rust/crates/hyper-util/0.1.19/BUCK b/third-party/rust/crates/hyper-util/0.1.19/BUCK index 4ecf9ded..8028896d 100644 --- a/third-party/rust/crates/hyper-util/0.1.19/BUCK +++ b/third-party/rust/crates/hyper-util/0.1.19/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hyper-util-vendor", diff --git a/third-party/rust/crates/hyper/1.8.1/BUCK b/third-party/rust/crates/hyper/1.8.1/BUCK index 771502ff..00e830e3 100644 --- a/third-party/rust/crates/hyper/1.8.1/BUCK +++ b/third-party/rust/crates/hyper/1.8.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "hyper-vendor", diff --git a/third-party/rust/crates/iana-time-zone/0.1.64/BUCK b/third-party/rust/crates/iana-time-zone/0.1.64/BUCK index 664b4652..d77789ac 100644 --- a/third-party/rust/crates/iana-time-zone/0.1.64/BUCK +++ b/third-party/rust/crates/iana-time-zone/0.1.64/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "iana-time-zone-vendor", @@ -25,5 +25,10 @@ rust_library( edition = "2021", features = ["fallback"], rustc_flags = ["@$(location :iana-time-zone-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:macos": ["//third-party/rust/crates/core-foundation-sys/0.8.7:core-foundation-sys"], + "config//os:windows": ["//third-party/rust/crates/windows-core/0.62.2:windows-core"], + }), visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/icu_collections/2.1.1/BUCK b/third-party/rust/crates/icu_collections/2.1.1/BUCK index d83cb08f..a0c45d66 100644 --- a/third-party/rust/crates/icu_collections/2.1.1/BUCK +++ b/third-party/rust/crates/icu_collections/2.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "icu_collections-vendor", diff --git a/third-party/rust/crates/icu_locale_core/2.1.1/BUCK b/third-party/rust/crates/icu_locale_core/2.1.1/BUCK index ae8abe72..1238287b 100644 --- a/third-party/rust/crates/icu_locale_core/2.1.1/BUCK +++ b/third-party/rust/crates/icu_locale_core/2.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "icu_locale_core-vendor", diff --git a/third-party/rust/crates/icu_normalizer/2.1.1/BUCK b/third-party/rust/crates/icu_normalizer/2.1.1/BUCK index d8e59d2c..4577618d 100644 --- a/third-party/rust/crates/icu_normalizer/2.1.1/BUCK +++ b/third-party/rust/crates/icu_normalizer/2.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "icu_normalizer-vendor", diff --git a/third-party/rust/crates/icu_properties/2.1.1/BUCK b/third-party/rust/crates/icu_properties/2.1.1/BUCK index 1b38ebd5..3ef61f83 100644 --- a/third-party/rust/crates/icu_properties/2.1.1/BUCK +++ b/third-party/rust/crates/icu_properties/2.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "icu_properties-vendor", diff --git a/third-party/rust/crates/icu_provider/2.1.1/BUCK b/third-party/rust/crates/icu_provider/2.1.1/BUCK index 7ddb1ec7..89911d49 100644 --- a/third-party/rust/crates/icu_provider/2.1.1/BUCK +++ b/third-party/rust/crates/icu_provider/2.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "icu_provider-vendor", diff --git a/third-party/rust/crates/idna/1.1.0/BUCK b/third-party/rust/crates/idna/1.1.0/BUCK index 4124808c..ff08315b 100644 --- a/third-party/rust/crates/idna/1.1.0/BUCK +++ b/third-party/rust/crates/idna/1.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "idna-vendor", diff --git a/third-party/rust/crates/idna_adapter/1.2.1/BUCK b/third-party/rust/crates/idna_adapter/1.2.1/BUCK index 3e707934..6b4591c1 100644 --- a/third-party/rust/crates/idna_adapter/1.2.1/BUCK +++ b/third-party/rust/crates/idna_adapter/1.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "idna_adapter-vendor", diff --git a/third-party/rust/crates/indexmap/2.12.1/BUCK b/third-party/rust/crates/indexmap/2.12.1/BUCK index 1ea54d38..bdc5f59a 100644 --- a/third-party/rust/crates/indexmap/2.12.1/BUCK +++ b/third-party/rust/crates/indexmap/2.12.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "indexmap-vendor", diff --git a/third-party/rust/crates/inherent/1.0.13/BUCK b/third-party/rust/crates/inherent/1.0.13/BUCK index 2f2051e2..8e4c93c7 100644 --- a/third-party/rust/crates/inherent/1.0.13/BUCK +++ b/third-party/rust/crates/inherent/1.0.13/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "inherent-vendor", diff --git a/third-party/rust/crates/itertools/0.13.0/BUCK b/third-party/rust/crates/itertools/0.13.0/BUCK index 2607c5c8..cbc29a95 100644 --- a/third-party/rust/crates/itertools/0.13.0/BUCK +++ b/third-party/rust/crates/itertools/0.13.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "itertools-vendor", diff --git a/third-party/rust/crates/itoa/1.0.15/BUCK b/third-party/rust/crates/itoa/1.0.15/BUCK index d4a7a2ca..48661046 100644 --- a/third-party/rust/crates/itoa/1.0.15/BUCK +++ b/third-party/rust/crates/itoa/1.0.15/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "itoa-vendor", diff --git a/third-party/rust/crates/jobserver/0.1.34/BUCK b/third-party/rust/crates/jobserver/0.1.34/BUCK index 142dfe01..840f0534 100644 --- a/third-party/rust/crates/jobserver/0.1.34/BUCK +++ b/third-party/rust/crates/jobserver/0.1.34/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "jobserver-vendor", @@ -24,6 +24,11 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2021", rustc_flags = ["@$(location :jobserver-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:windows": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/libc/0.2.180:libc"], ) diff --git a/third-party/rust/crates/js-sys/0.3.83/BUCK b/third-party/rust/crates/js-sys/0.3.83/BUCK index e8da9640..61cb0593 100644 --- a/third-party/rust/crates/js-sys/0.3.83/BUCK +++ b/third-party/rust/crates/js-sys/0.3.83/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "js-sys-vendor", diff --git a/third-party/rust/crates/lazy_static/1.5.0/BUCK b/third-party/rust/crates/lazy_static/1.5.0/BUCK index 2853f13b..5ad02ee4 100644 --- a/third-party/rust/crates/lazy_static/1.5.0/BUCK +++ b/third-party/rust/crates/lazy_static/1.5.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "lazy_static-vendor", diff --git a/third-party/rust/crates/libloading/0.8.9/BUCK b/third-party/rust/crates/libloading/0.8.9/BUCK index e6945d3c..49d72888 100644 --- a/third-party/rust/crates/libloading/0.8.9/BUCK +++ b/third-party/rust/crates/libloading/0.8.9/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "libloading-vendor", @@ -24,6 +24,11 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2015", rustc_flags = ["@$(location :libloading-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/cfg-if/1.0.4:cfg-if"], + "config//os:macos": ["//third-party/rust/crates/cfg-if/1.0.4:cfg-if"], + "config//os:windows": ["//third-party/rust/crates/windows-link/0.2.1:windows-link"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/cfg-if/1.0.4:cfg-if"], ) diff --git a/third-party/rust/crates/libredox/0.1.10/BUCK b/third-party/rust/crates/libredox/0.1.10/BUCK index 010a2696..89784184 100644 --- a/third-party/rust/crates/libredox/0.1.10/BUCK +++ b/third-party/rust/crates/libredox/0.1.10/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "libredox-vendor", @@ -23,6 +23,7 @@ rust_library( crate = "libredox", crate_root = "vendor/src/lib.rs", edition = "2021", + compatible_with = ["prelude//os/constraints:linux"], features = [ "call", "default", diff --git a/third-party/rust/crates/linux-raw-sys/0.11.0/BUCK b/third-party/rust/crates/linux-raw-sys/0.11.0/BUCK index b6f11692..6eaee036 100644 --- a/third-party/rust/crates/linux-raw-sys/0.11.0/BUCK +++ b/third-party/rust/crates/linux-raw-sys/0.11.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "linux-raw-sys-vendor", diff --git a/third-party/rust/crates/litemap/0.8.1/BUCK b/third-party/rust/crates/litemap/0.8.1/BUCK index f21f384b..fc00ae85 100644 --- a/third-party/rust/crates/litemap/0.8.1/BUCK +++ b/third-party/rust/crates/litemap/0.8.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "litemap-vendor", diff --git a/third-party/rust/crates/lock_api/0.4.14/BUCK b/third-party/rust/crates/lock_api/0.4.14/BUCK index c6175771..7910c9a1 100644 --- a/third-party/rust/crates/lock_api/0.4.14/BUCK +++ b/third-party/rust/crates/lock_api/0.4.14/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "lock_api-vendor", diff --git a/third-party/rust/crates/log/0.4.29/BUCK b/third-party/rust/crates/log/0.4.29/BUCK index c699422b..60bbc027 100644 --- a/third-party/rust/crates/log/0.4.29/BUCK +++ b/third-party/rust/crates/log/0.4.29/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "log-vendor", diff --git a/third-party/rust/crates/lru-mem/0.3.0/BUCK b/third-party/rust/crates/lru-mem/0.3.0/BUCK index ecbea95e..6f9198fe 100644 --- a/third-party/rust/crates/lru-mem/0.3.0/BUCK +++ b/third-party/rust/crates/lru-mem/0.3.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "lru-mem-vendor", diff --git a/third-party/rust/crates/matchit/0.8.4/BUCK b/third-party/rust/crates/matchit/0.8.4/BUCK index 5e5119ae..96c0d1b7 100644 --- a/third-party/rust/crates/matchit/0.8.4/BUCK +++ b/third-party/rust/crates/matchit/0.8.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "matchit-vendor", diff --git a/third-party/rust/crates/md-5/0.10.6/BUCK b/third-party/rust/crates/md-5/0.10.6/BUCK index f1a95ebd..40a5a7cd 100644 --- a/third-party/rust/crates/md-5/0.10.6/BUCK +++ b/third-party/rust/crates/md-5/0.10.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "md-5-vendor", diff --git a/third-party/rust/crates/memchr/2.7.6/BUCK b/third-party/rust/crates/memchr/2.7.6/BUCK index ec9d4ffc..a131b754 100644 --- a/third-party/rust/crates/memchr/2.7.6/BUCK +++ b/third-party/rust/crates/memchr/2.7.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "memchr-vendor", diff --git a/third-party/rust/crates/mime/0.3.17/BUCK b/third-party/rust/crates/mime/0.3.17/BUCK index 0ec0f920..49ff32c3 100644 --- a/third-party/rust/crates/mime/0.3.17/BUCK +++ b/third-party/rust/crates/mime/0.3.17/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "mime-vendor", diff --git a/third-party/rust/crates/minimal-lexical/0.2.1/BUCK b/third-party/rust/crates/minimal-lexical/0.2.1/BUCK index 89d9381b..3549f57e 100644 --- a/third-party/rust/crates/minimal-lexical/0.2.1/BUCK +++ b/third-party/rust/crates/minimal-lexical/0.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "minimal-lexical-vendor", diff --git a/third-party/rust/crates/miniz_oxide/0.8.9/BUCK b/third-party/rust/crates/miniz_oxide/0.8.9/BUCK index 351d5144..a7b8e8f1 100644 --- a/third-party/rust/crates/miniz_oxide/0.8.9/BUCK +++ b/third-party/rust/crates/miniz_oxide/0.8.9/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "miniz_oxide-vendor", diff --git a/third-party/rust/crates/mio/1.1.1/BUCK b/third-party/rust/crates/mio/1.1.1/BUCK index 8f3de02e..416f4a27 100644 --- a/third-party/rust/crates/mio/1.1.1/BUCK +++ b/third-party/rust/crates/mio/1.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "mio-vendor", @@ -29,6 +29,11 @@ rust_library( "os-poll", ], rustc_flags = ["@$(location :mio-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.61.2:windows-sys"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/libc/0.2.180:libc"], ) diff --git a/third-party/rust/crates/natord/1.0.9/BUCK b/third-party/rust/crates/natord/1.0.9/BUCK index 7c7372f9..40c7603c 100644 --- a/third-party/rust/crates/natord/1.0.9/BUCK +++ b/third-party/rust/crates/natord/1.0.9/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "natord-vendor", diff --git a/third-party/rust/crates/nom/7.1.3/BUCK b/third-party/rust/crates/nom/7.1.3/BUCK index 0283263a..8b189a32 100644 --- a/third-party/rust/crates/nom/7.1.3/BUCK +++ b/third-party/rust/crates/nom/7.1.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "nom-vendor", diff --git a/third-party/rust/crates/nu-ansi-term/0.50.3/BUCK b/third-party/rust/crates/nu-ansi-term/0.50.3/BUCK index 441427fa..6d8a104a 100644 --- a/third-party/rust/crates/nu-ansi-term/0.50.3/BUCK +++ b/third-party/rust/crates/nu-ansi-term/0.50.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "nu-ansi-term-vendor", @@ -29,4 +29,8 @@ rust_library( ], rustc_flags = ["@$(location :nu-ansi-term-manifest[env_flags])"], visibility = ["PUBLIC"], + deps = select({ + "DEFAULT": [], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.61.2:windows-sys"], + }), ) diff --git a/third-party/rust/crates/num-bigint/0.4.6/BUCK b/third-party/rust/crates/num-bigint/0.4.6/BUCK index acbd476d..01bc35bc 100644 --- a/third-party/rust/crates/num-bigint/0.4.6/BUCK +++ b/third-party/rust/crates/num-bigint/0.4.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "num-bigint-vendor", diff --git a/third-party/rust/crates/num-conv/0.1.0/BUCK b/third-party/rust/crates/num-conv/0.1.0/BUCK index 704fb124..b135e272 100644 --- a/third-party/rust/crates/num-conv/0.1.0/BUCK +++ b/third-party/rust/crates/num-conv/0.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "num-conv-vendor", diff --git a/third-party/rust/crates/num-integer/0.1.46/BUCK b/third-party/rust/crates/num-integer/0.1.46/BUCK index 9556473c..8e3933da 100644 --- a/third-party/rust/crates/num-integer/0.1.46/BUCK +++ b/third-party/rust/crates/num-integer/0.1.46/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "num-integer-vendor", diff --git a/third-party/rust/crates/num-iter/0.1.45/BUCK b/third-party/rust/crates/num-iter/0.1.45/BUCK index c914ae22..36188df4 100644 --- a/third-party/rust/crates/num-iter/0.1.45/BUCK +++ b/third-party/rust/crates/num-iter/0.1.45/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "num-iter-vendor", diff --git a/third-party/rust/crates/num_cpus/1.17.0/BUCK b/third-party/rust/crates/num_cpus/1.17.0/BUCK index 0c14ae11..c22b51a9 100644 --- a/third-party/rust/crates/num_cpus/1.17.0/BUCK +++ b/third-party/rust/crates/num_cpus/1.17.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "num_cpus-vendor", @@ -24,6 +24,10 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2015", rustc_flags = ["@$(location :num_cpus-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/libc/0.2.180:libc"], ) diff --git a/third-party/rust/crates/once_cell/1.21.3/BUCK b/third-party/rust/crates/once_cell/1.21.3/BUCK index 74222182..b03621f9 100644 --- a/third-party/rust/crates/once_cell/1.21.3/BUCK +++ b/third-party/rust/crates/once_cell/1.21.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "once_cell-vendor", diff --git a/third-party/rust/crates/ordered-float/4.6.0/BUCK b/third-party/rust/crates/ordered-float/4.6.0/BUCK index 3f935945..53603254 100644 --- a/third-party/rust/crates/ordered-float/4.6.0/BUCK +++ b/third-party/rust/crates/ordered-float/4.6.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ordered-float-vendor", diff --git a/third-party/rust/crates/ouroboros/0.18.5/BUCK b/third-party/rust/crates/ouroboros/0.18.5/BUCK index 4318a20e..0665bff2 100644 --- a/third-party/rust/crates/ouroboros/0.18.5/BUCK +++ b/third-party/rust/crates/ouroboros/0.18.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ouroboros-vendor", diff --git a/third-party/rust/crates/ouroboros_macro/0.18.5/BUCK b/third-party/rust/crates/ouroboros_macro/0.18.5/BUCK index 1e7602d3..d74fe43d 100644 --- a/third-party/rust/crates/ouroboros_macro/0.18.5/BUCK +++ b/third-party/rust/crates/ouroboros_macro/0.18.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ouroboros_macro-vendor", diff --git a/third-party/rust/crates/parking/2.2.1/BUCK b/third-party/rust/crates/parking/2.2.1/BUCK index 81b014b6..a51e5f4e 100644 --- a/third-party/rust/crates/parking/2.2.1/BUCK +++ b/third-party/rust/crates/parking/2.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "parking-vendor", diff --git a/third-party/rust/crates/parking_lot/0.12.5/BUCK b/third-party/rust/crates/parking_lot/0.12.5/BUCK index 2f8e8094..fc89fd8b 100644 --- a/third-party/rust/crates/parking_lot/0.12.5/BUCK +++ b/third-party/rust/crates/parking_lot/0.12.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "parking_lot-vendor", diff --git a/third-party/rust/crates/parking_lot_core/0.9.12/BUCK b/third-party/rust/crates/parking_lot_core/0.9.12/BUCK index 5d7d53f6..e77ef2f5 100644 --- a/third-party/rust/crates/parking_lot_core/0.9.12/BUCK +++ b/third-party/rust/crates/parking_lot_core/0.9.12/BUCK @@ -30,12 +30,16 @@ rust_library( "@$(location :parking_lot_core-build-script-run[rustc_flags])", "@$(location :parking_lot_core-manifest[env_flags])", ], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", - "//third-party/rust/crates/libc/0.2.180:libc", "//third-party/rust/crates/smallvec/1.15.1:smallvec", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:windows": ["//third-party/rust/crates/windows-link/0.2.1:windows-link"], + }), + visibility = ["PUBLIC"], ) rust_binary( diff --git a/third-party/rust/crates/path-absolutize/3.1.1/BUCK b/third-party/rust/crates/path-absolutize/3.1.1/BUCK index cc084adf..cc6f8c09 100644 --- a/third-party/rust/crates/path-absolutize/3.1.1/BUCK +++ b/third-party/rust/crates/path-absolutize/3.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "path-absolutize-vendor", diff --git a/third-party/rust/crates/path-dedot/3.1.1/BUCK b/third-party/rust/crates/path-dedot/3.1.1/BUCK index 8d5cdaa6..8084772f 100644 --- a/third-party/rust/crates/path-dedot/3.1.1/BUCK +++ b/third-party/rust/crates/path-dedot/3.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "path-dedot-vendor", diff --git a/third-party/rust/crates/pem-rfc7468/0.7.0/BUCK b/third-party/rust/crates/pem-rfc7468/0.7.0/BUCK index e444e599..afb23300 100644 --- a/third-party/rust/crates/pem-rfc7468/0.7.0/BUCK +++ b/third-party/rust/crates/pem-rfc7468/0.7.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pem-rfc7468-vendor", diff --git a/third-party/rust/crates/percent-encoding/2.3.2/BUCK b/third-party/rust/crates/percent-encoding/2.3.2/BUCK index 32cde7ee..9faf7713 100644 --- a/third-party/rust/crates/percent-encoding/2.3.2/BUCK +++ b/third-party/rust/crates/percent-encoding/2.3.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "percent-encoding-vendor", diff --git a/third-party/rust/crates/pgvector/0.4.1/BUCK b/third-party/rust/crates/pgvector/0.4.1/BUCK index 16e6edae..176f991d 100644 --- a/third-party/rust/crates/pgvector/0.4.1/BUCK +++ b/third-party/rust/crates/pgvector/0.4.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pgvector-vendor", diff --git a/third-party/rust/crates/pin-project-lite/0.2.16/BUCK b/third-party/rust/crates/pin-project-lite/0.2.16/BUCK index a5d85745..10fba23d 100644 --- a/third-party/rust/crates/pin-project-lite/0.2.16/BUCK +++ b/third-party/rust/crates/pin-project-lite/0.2.16/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pin-project-lite-vendor", diff --git a/third-party/rust/crates/pin-utils/0.1.0/BUCK b/third-party/rust/crates/pin-utils/0.1.0/BUCK index 39b34c1f..02b26dd0 100644 --- a/third-party/rust/crates/pin-utils/0.1.0/BUCK +++ b/third-party/rust/crates/pin-utils/0.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pin-utils-vendor", diff --git a/third-party/rust/crates/pkcs1/0.7.5/BUCK b/third-party/rust/crates/pkcs1/0.7.5/BUCK index dc21967b..784ccb9d 100644 --- a/third-party/rust/crates/pkcs1/0.7.5/BUCK +++ b/third-party/rust/crates/pkcs1/0.7.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pkcs1-vendor", diff --git a/third-party/rust/crates/pkcs8/0.10.2/BUCK b/third-party/rust/crates/pkcs8/0.10.2/BUCK index a040599e..b9e91ea6 100644 --- a/third-party/rust/crates/pkcs8/0.10.2/BUCK +++ b/third-party/rust/crates/pkcs8/0.10.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pkcs8-vendor", diff --git a/third-party/rust/crates/pkg-config/0.3.32/BUCK b/third-party/rust/crates/pkg-config/0.3.32/BUCK index 75c0f229..5f003e9b 100644 --- a/third-party/rust/crates/pkg-config/0.3.32/BUCK +++ b/third-party/rust/crates/pkg-config/0.3.32/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "pkg-config-vendor", diff --git a/third-party/rust/crates/potential_utf/0.1.4/BUCK b/third-party/rust/crates/potential_utf/0.1.4/BUCK index e86efd06..c461b194 100644 --- a/third-party/rust/crates/potential_utf/0.1.4/BUCK +++ b/third-party/rust/crates/potential_utf/0.1.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "potential_utf-vendor", diff --git a/third-party/rust/crates/powerfmt/0.2.0/BUCK b/third-party/rust/crates/powerfmt/0.2.0/BUCK index c4a0f15b..9299ab3a 100644 --- a/third-party/rust/crates/powerfmt/0.2.0/BUCK +++ b/third-party/rust/crates/powerfmt/0.2.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "powerfmt-vendor", diff --git a/third-party/rust/crates/ppv-lite86/0.2.21/BUCK b/third-party/rust/crates/ppv-lite86/0.2.21/BUCK index 0607791b..75179be3 100644 --- a/third-party/rust/crates/ppv-lite86/0.2.21/BUCK +++ b/third-party/rust/crates/ppv-lite86/0.2.21/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ppv-lite86-vendor", diff --git a/third-party/rust/crates/proc-macro-crate/3.4.0/BUCK b/third-party/rust/crates/proc-macro-crate/3.4.0/BUCK index ad60e740..661c2788 100644 --- a/third-party/rust/crates/proc-macro-crate/3.4.0/BUCK +++ b/third-party/rust/crates/proc-macro-crate/3.4.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "proc-macro-crate-vendor", diff --git a/third-party/rust/crates/proc-macro-error-attr2/2.0.0/BUCK b/third-party/rust/crates/proc-macro-error-attr2/2.0.0/BUCK index 2f15fd2e..5a4e70f2 100644 --- a/third-party/rust/crates/proc-macro-error-attr2/2.0.0/BUCK +++ b/third-party/rust/crates/proc-macro-error-attr2/2.0.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "proc-macro-error-attr2-vendor", diff --git a/third-party/rust/crates/proc-macro-error2/2.0.1/BUCK b/third-party/rust/crates/proc-macro-error2/2.0.1/BUCK index c1d8ec40..1c21c604 100644 --- a/third-party/rust/crates/proc-macro-error2/2.0.1/BUCK +++ b/third-party/rust/crates/proc-macro-error2/2.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "proc-macro-error2-vendor", diff --git a/third-party/rust/crates/ptr_meta/0.1.4/BUCK b/third-party/rust/crates/ptr_meta/0.1.4/BUCK index 92720d39..2b3167c1 100644 --- a/third-party/rust/crates/ptr_meta/0.1.4/BUCK +++ b/third-party/rust/crates/ptr_meta/0.1.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ptr_meta-vendor", diff --git a/third-party/rust/crates/ptr_meta_derive/0.1.4/BUCK b/third-party/rust/crates/ptr_meta_derive/0.1.4/BUCK index 7edf4fe6..ff7c79e8 100644 --- a/third-party/rust/crates/ptr_meta_derive/0.1.4/BUCK +++ b/third-party/rust/crates/ptr_meta_derive/0.1.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ptr_meta_derive-vendor", diff --git a/third-party/rust/crates/quickcheck/1.0.3/BUCK b/third-party/rust/crates/quickcheck/1.0.3/BUCK index d5538167..9e27ddb0 100644 --- a/third-party/rust/crates/quickcheck/1.0.3/BUCK +++ b/third-party/rust/crates/quickcheck/1.0.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "quickcheck-vendor", diff --git a/third-party/rust/crates/r-efi/5.3.0/BUCK b/third-party/rust/crates/r-efi/5.3.0/BUCK index 8f2c15f2..048252f8 100644 --- a/third-party/rust/crates/r-efi/5.3.0/BUCK +++ b/third-party/rust/crates/r-efi/5.3.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "r-efi-vendor", diff --git a/third-party/rust/crates/rand/0.8.5/BUCK b/third-party/rust/crates/rand/0.8.5/BUCK index f4dff081..7eb7fe9e 100644 --- a/third-party/rust/crates/rand/0.8.5/BUCK +++ b/third-party/rust/crates/rand/0.8.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rand-vendor", @@ -33,10 +33,13 @@ rust_library( "std_rng", ], rustc_flags = ["@$(location :rand-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ - "//third-party/rust/crates/libc/0.2.180:libc", "//third-party/rust/crates/rand_chacha/0.3.1:rand_chacha", "//third-party/rust/crates/rand_core/0.6.4:rand_core", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/rand/0.9.2/BUCK b/third-party/rust/crates/rand/0.9.2/BUCK index 094d1a01..4e5afab6 100644 --- a/third-party/rust/crates/rand/0.9.2/BUCK +++ b/third-party/rust/crates/rand/0.9.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rand-vendor", diff --git a/third-party/rust/crates/rand_chacha/0.3.1/BUCK b/third-party/rust/crates/rand_chacha/0.3.1/BUCK index aa290da3..81feb746 100644 --- a/third-party/rust/crates/rand_chacha/0.3.1/BUCK +++ b/third-party/rust/crates/rand_chacha/0.3.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rand_chacha-vendor", diff --git a/third-party/rust/crates/rand_chacha/0.9.0/BUCK b/third-party/rust/crates/rand_chacha/0.9.0/BUCK index b660e5e7..ff40299e 100644 --- a/third-party/rust/crates/rand_chacha/0.9.0/BUCK +++ b/third-party/rust/crates/rand_chacha/0.9.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rand_chacha-vendor", diff --git a/third-party/rust/crates/rand_core/0.6.4/BUCK b/third-party/rust/crates/rand_core/0.6.4/BUCK index 2ec1c23d..55722c89 100644 --- a/third-party/rust/crates/rand_core/0.6.4/BUCK +++ b/third-party/rust/crates/rand_core/0.6.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rand_core-vendor", diff --git a/third-party/rust/crates/rand_core/0.9.3/BUCK b/third-party/rust/crates/rand_core/0.9.3/BUCK index 420a5443..2e762afa 100644 --- a/third-party/rust/crates/rand_core/0.9.3/BUCK +++ b/third-party/rust/crates/rand_core/0.9.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rand_core-vendor", diff --git a/third-party/rust/crates/rayon/1.11.0/BUCK b/third-party/rust/crates/rayon/1.11.0/BUCK index 48d19982..eb943840 100644 --- a/third-party/rust/crates/rayon/1.11.0/BUCK +++ b/third-party/rust/crates/rayon/1.11.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rayon-vendor", diff --git a/third-party/rust/crates/redox_syscall/0.5.18/BUCK b/third-party/rust/crates/redox_syscall/0.5.18/BUCK index 29830c6c..7c4fb81a 100644 --- a/third-party/rust/crates/redox_syscall/0.5.18/BUCK +++ b/third-party/rust/crates/redox_syscall/0.5.18/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "redox_syscall-vendor", @@ -23,6 +23,7 @@ rust_library( crate = "syscall", crate_root = "vendor/src/lib.rs", edition = "2021", + compatible_with = ["prelude//os/constraints:linux"], features = [ "default", "userspace", diff --git a/third-party/rust/crates/regex-automata/0.4.13/BUCK b/third-party/rust/crates/regex-automata/0.4.13/BUCK index 60cca421..641a9ffe 100644 --- a/third-party/rust/crates/regex-automata/0.4.13/BUCK +++ b/third-party/rust/crates/regex-automata/0.4.13/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "regex-automata-vendor", diff --git a/third-party/rust/crates/regex-syntax/0.8.8/BUCK b/third-party/rust/crates/regex-syntax/0.8.8/BUCK index be43f4c1..d1173aac 100644 --- a/third-party/rust/crates/regex-syntax/0.8.8/BUCK +++ b/third-party/rust/crates/regex-syntax/0.8.8/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "regex-syntax-vendor", diff --git a/third-party/rust/crates/regex/1.12.2/BUCK b/third-party/rust/crates/regex/1.12.2/BUCK index 1597dbc3..0239fb54 100644 --- a/third-party/rust/crates/regex/1.12.2/BUCK +++ b/third-party/rust/crates/regex/1.12.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "regex-vendor", diff --git a/third-party/rust/crates/rkyv_derive/0.7.45/BUCK b/third-party/rust/crates/rkyv_derive/0.7.45/BUCK index 64e4f133..42e7b8b6 100644 --- a/third-party/rust/crates/rkyv_derive/0.7.45/BUCK +++ b/third-party/rust/crates/rkyv_derive/0.7.45/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rkyv_derive-vendor", diff --git a/third-party/rust/crates/rsa/0.9.10/BUCK b/third-party/rust/crates/rsa/0.9.10/BUCK index e507fa0a..c1049504 100644 --- a/third-party/rust/crates/rsa/0.9.10/BUCK +++ b/third-party/rust/crates/rsa/0.9.10/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rsa-vendor", diff --git a/third-party/rust/crates/rustc-hash/2.1.1/BUCK b/third-party/rust/crates/rustc-hash/2.1.1/BUCK index 15996ef4..f2f38322 100644 --- a/third-party/rust/crates/rustc-hash/2.1.1/BUCK +++ b/third-party/rust/crates/rustc-hash/2.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rustc-hash-vendor", diff --git a/third-party/rust/crates/rustc_version/0.4.1/BUCK b/third-party/rust/crates/rustc_version/0.4.1/BUCK index f4ec8813..2a9ab7e6 100644 --- a/third-party/rust/crates/rustc_version/0.4.1/BUCK +++ b/third-party/rust/crates/rustc_version/0.4.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "rustc_version-vendor", diff --git a/third-party/rust/crates/rustix/1.1.3/BUCK b/third-party/rust/crates/rustix/1.1.3/BUCK index c1adc5d6..f5f1b725 100644 --- a/third-party/rust/crates/rustix/1.1.3/BUCK +++ b/third-party/rust/crates/rustix/1.1.3/BUCK @@ -36,15 +36,25 @@ rust_library( "@$(location :rustix-build-script-run[rustc_flags])", "@$(location :rustix-manifest[env_flags])", ], - named_deps = { - "libc_errno": "//third-party/rust/crates/errno/0.3.14:errno", - }, - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/bitflags/2.10.0:bitflags", - "//third-party/rust/crates/libc/0.2.180:libc", "//third-party/rust/crates/linux-raw-sys/0.11.0:linux-raw-sys", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": [ + "//third-party/rust/crates/libc/0.2.180:libc", + "//third-party/rust/crates/errno/0.3.14:errno", + ], + "config//os:macos": [ + "//third-party/rust/crates/libc/0.2.180:libc", + "//third-party/rust/crates/errno/0.3.14:errno", + ], + "config//os:windows": [ + "//third-party/rust/crates/windows-sys/0.61.2:windows-sys", + "//third-party/rust/crates/errno/0.3.14:errno", + ], + }), + visibility = ["PUBLIC"], ) rust_binary( diff --git a/third-party/rust/crates/ryu/1.0.20/BUCK b/third-party/rust/crates/ryu/1.0.20/BUCK index ca4d33d4..ec457748 100644 --- a/third-party/rust/crates/ryu/1.0.20/BUCK +++ b/third-party/rust/crates/ryu/1.0.20/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "ryu-vendor", diff --git a/third-party/rust/crates/scopeguard/1.2.0/BUCK b/third-party/rust/crates/scopeguard/1.2.0/BUCK index caefdbf8..d36802c1 100644 --- a/third-party/rust/crates/scopeguard/1.2.0/BUCK +++ b/third-party/rust/crates/scopeguard/1.2.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "scopeguard-vendor", diff --git a/third-party/rust/crates/sea-bae/0.2.1/BUCK b/third-party/rust/crates/sea-bae/0.2.1/BUCK index 0bb07209..65cf0a85 100644 --- a/third-party/rust/crates/sea-bae/0.2.1/BUCK +++ b/third-party/rust/crates/sea-bae/0.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sea-bae-vendor", diff --git a/third-party/rust/crates/sea-orm-macros/1.1.19/BUCK b/third-party/rust/crates/sea-orm-macros/1.1.19/BUCK index c433a796..4f107fcc 100644 --- a/third-party/rust/crates/sea-orm-macros/1.1.19/BUCK +++ b/third-party/rust/crates/sea-orm-macros/1.1.19/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sea-orm-macros-vendor", diff --git a/third-party/rust/crates/sea-orm/1.1.19/BUCK b/third-party/rust/crates/sea-orm/1.1.19/BUCK index d8d8cf72..b39ef2d8 100644 --- a/third-party/rust/crates/sea-orm/1.1.19/BUCK +++ b/third-party/rust/crates/sea-orm/1.1.19/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sea-orm-vendor", @@ -63,7 +63,7 @@ rust_library( "//third-party/rust/crates/serde_json/1.0.145:serde_json", "//third-party/rust/crates/sqlx/0.8.6:sqlx", "//third-party/rust/crates/strum/0.26.3:strum", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/url/2.5.7:url", diff --git a/third-party/rust/crates/sea-query-binder/0.7.0/BUCK b/third-party/rust/crates/sea-query-binder/0.7.0/BUCK index 39e723a4..88c21c49 100644 --- a/third-party/rust/crates/sea-query-binder/0.7.0/BUCK +++ b/third-party/rust/crates/sea-query-binder/0.7.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sea-query-binder-vendor", diff --git a/third-party/rust/crates/sea-query/0.32.7/BUCK b/third-party/rust/crates/sea-query/0.32.7/BUCK index 51899960..e5cbbf26 100644 --- a/third-party/rust/crates/sea-query/0.32.7/BUCK +++ b/third-party/rust/crates/sea-query/0.32.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sea-query-vendor", diff --git a/third-party/rust/crates/seahash/4.1.0/BUCK b/third-party/rust/crates/seahash/4.1.0/BUCK index 4262cbe2..459e8847 100644 --- a/third-party/rust/crates/seahash/4.1.0/BUCK +++ b/third-party/rust/crates/seahash/4.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "seahash-vendor", diff --git a/third-party/rust/crates/semver/1.0.27/BUCK b/third-party/rust/crates/semver/1.0.27/BUCK index aa1cfbfa..48b2781a 100644 --- a/third-party/rust/crates/semver/1.0.27/BUCK +++ b/third-party/rust/crates/semver/1.0.27/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "semver-vendor", diff --git a/third-party/rust/crates/serde_derive/1.0.228/BUCK b/third-party/rust/crates/serde_derive/1.0.228/BUCK index c8c66d89..a40254cd 100644 --- a/third-party/rust/crates/serde_derive/1.0.228/BUCK +++ b/third-party/rust/crates/serde_derive/1.0.228/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "serde_derive-vendor", diff --git a/third-party/rust/crates/serde_path_to_error/0.1.20/BUCK b/third-party/rust/crates/serde_path_to_error/0.1.20/BUCK index 330399e1..ffbb06d6 100644 --- a/third-party/rust/crates/serde_path_to_error/0.1.20/BUCK +++ b/third-party/rust/crates/serde_path_to_error/0.1.20/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "serde_path_to_error-vendor", diff --git a/third-party/rust/crates/serde_urlencoded/0.7.1/BUCK b/third-party/rust/crates/serde_urlencoded/0.7.1/BUCK index 31418206..a6b4ccd6 100644 --- a/third-party/rust/crates/serde_urlencoded/0.7.1/BUCK +++ b/third-party/rust/crates/serde_urlencoded/0.7.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "serde_urlencoded-vendor", diff --git a/third-party/rust/crates/sha1/0.10.6/BUCK b/third-party/rust/crates/sha1/0.10.6/BUCK index 1a0439bc..47735468 100644 --- a/third-party/rust/crates/sha1/0.10.6/BUCK +++ b/third-party/rust/crates/sha1/0.10.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sha1-vendor", @@ -28,10 +28,14 @@ rust_library( "std", ], rustc_flags = ["@$(location :sha1-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", - "//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures", "//third-party/rust/crates/digest/0.10.7:digest", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures"], + "config//os:macos": ["//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures"], + "config//os:windows": ["//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/sha2/0.10.9/BUCK b/third-party/rust/crates/sha2/0.10.9/BUCK index cf10c261..0f9d2a1c 100644 --- a/third-party/rust/crates/sha2/0.10.9/BUCK +++ b/third-party/rust/crates/sha2/0.10.9/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sha2-vendor", @@ -28,10 +28,14 @@ rust_library( "std", ], rustc_flags = ["@$(location :sha2-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/cfg-if/1.0.4:cfg-if", - "//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures", "//third-party/rust/crates/digest/0.10.7:digest", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures"], + "config//os:macos": ["//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures"], + "config//os:windows": ["//third-party/rust/crates/cpufeatures/0.2.17:cpufeatures"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/sharded-slab/0.1.7/BUCK b/third-party/rust/crates/sharded-slab/0.1.7/BUCK index 7c5eb486..8b3ae71d 100644 --- a/third-party/rust/crates/sharded-slab/0.1.7/BUCK +++ b/third-party/rust/crates/sharded-slab/0.1.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sharded-slab-vendor", diff --git a/third-party/rust/crates/shlex/1.3.0/BUCK b/third-party/rust/crates/shlex/1.3.0/BUCK index 5fffcba3..e14febe8 100644 --- a/third-party/rust/crates/shlex/1.3.0/BUCK +++ b/third-party/rust/crates/shlex/1.3.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "shlex-vendor", diff --git a/third-party/rust/crates/signal-hook-registry/1.4.7/BUCK b/third-party/rust/crates/signal-hook-registry/1.4.7/BUCK index b496bb76..8929607c 100644 --- a/third-party/rust/crates/signal-hook-registry/1.4.7/BUCK +++ b/third-party/rust/crates/signal-hook-registry/1.4.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "signal-hook-registry-vendor", diff --git a/third-party/rust/crates/signature/2.2.0/BUCK b/third-party/rust/crates/signature/2.2.0/BUCK index 103ebfb2..bd9cce99 100644 --- a/third-party/rust/crates/signature/2.2.0/BUCK +++ b/third-party/rust/crates/signature/2.2.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "signature-vendor", diff --git a/third-party/rust/crates/simd-adler32/0.3.8/BUCK b/third-party/rust/crates/simd-adler32/0.3.8/BUCK index 5fcdd706..82ec58a7 100644 --- a/third-party/rust/crates/simd-adler32/0.3.8/BUCK +++ b/third-party/rust/crates/simd-adler32/0.3.8/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "simd-adler32-vendor", diff --git a/third-party/rust/crates/simdutf8/0.1.5/BUCK b/third-party/rust/crates/simdutf8/0.1.5/BUCK index 65e41a2e..2c2bde96 100644 --- a/third-party/rust/crates/simdutf8/0.1.5/BUCK +++ b/third-party/rust/crates/simdutf8/0.1.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "simdutf8-vendor", diff --git a/third-party/rust/crates/similar/2.7.0/BUCK b/third-party/rust/crates/similar/2.7.0/BUCK index 7e53bb95..3e1bfc52 100644 --- a/third-party/rust/crates/similar/2.7.0/BUCK +++ b/third-party/rust/crates/similar/2.7.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "similar-vendor", diff --git a/third-party/rust/crates/slab/0.4.11/BUCK b/third-party/rust/crates/slab/0.4.11/BUCK index 054f54dc..5e3233ac 100644 --- a/third-party/rust/crates/slab/0.4.11/BUCK +++ b/third-party/rust/crates/slab/0.4.11/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "slab-vendor", diff --git a/third-party/rust/crates/smallvec/1.15.1/BUCK b/third-party/rust/crates/smallvec/1.15.1/BUCK index ffcf733d..6abb7853 100644 --- a/third-party/rust/crates/smallvec/1.15.1/BUCK +++ b/third-party/rust/crates/smallvec/1.15.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "smallvec-vendor", diff --git a/third-party/rust/crates/socket2/0.6.1/BUCK b/third-party/rust/crates/socket2/0.6.1/BUCK index 2f452e3d..916bae49 100644 --- a/third-party/rust/crates/socket2/0.6.1/BUCK +++ b/third-party/rust/crates/socket2/0.6.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "socket2-vendor", @@ -25,6 +25,11 @@ rust_library( edition = "2021", features = ["all"], rustc_flags = ["@$(location :socket2-manifest[env_flags])"], + deps = [] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:macos": ["//third-party/rust/crates/libc/0.2.180:libc"], + "config//os:windows": ["//third-party/rust/crates/windows-sys/0.60.2:windows-sys"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/libc/0.2.180:libc"], ) diff --git a/third-party/rust/crates/spin/0.9.8/BUCK b/third-party/rust/crates/spin/0.9.8/BUCK index 189fa249..c470cf76 100644 --- a/third-party/rust/crates/spin/0.9.8/BUCK +++ b/third-party/rust/crates/spin/0.9.8/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "spin-vendor", diff --git a/third-party/rust/crates/spki/0.7.3/BUCK b/third-party/rust/crates/spki/0.7.3/BUCK index f1cae7e9..6db38e95 100644 --- a/third-party/rust/crates/spki/0.7.3/BUCK +++ b/third-party/rust/crates/spki/0.7.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "spki-vendor", diff --git a/third-party/rust/crates/sqlx-core/0.8.6/BUCK b/third-party/rust/crates/sqlx-core/0.8.6/BUCK index 59050cd5..102f0564 100644 --- a/third-party/rust/crates/sqlx-core/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-core/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-core-vendor", @@ -66,7 +66,7 @@ rust_library( "//third-party/rust/crates/serde_json/1.0.145:serde_json", "//third-party/rust/crates/sha2/0.10.9:sha2", "//third-party/rust/crates/smallvec/1.15.1:smallvec", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/url/2.5.7:url", diff --git a/third-party/rust/crates/sqlx-macros-core/0.8.6/BUCK b/third-party/rust/crates/sqlx-macros-core/0.8.6/BUCK index 536d02ac..6fdc3da8 100644 --- a/third-party/rust/crates/sqlx-macros-core/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-macros-core/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-macros-core-vendor", diff --git a/third-party/rust/crates/sqlx-macros/0.8.6/BUCK b/third-party/rust/crates/sqlx-macros/0.8.6/BUCK index f6cb3099..a5dcf7ed 100644 --- a/third-party/rust/crates/sqlx-macros/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-macros/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-macros-vendor", diff --git a/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK b/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK index 19b6a32a..78db00c2 100644 --- a/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-mysql/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-mysql-vendor", @@ -73,7 +73,7 @@ rust_library( "//third-party/rust/crates/smallvec/1.15.1:smallvec", "//third-party/rust/crates/sqlx-core/0.8.6:sqlx-core", "//third-party/rust/crates/stringprep/0.1.5:stringprep", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/uuid/1.19.0:uuid", diff --git a/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK b/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK index 29173367..1e97e423 100644 --- a/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-postgres/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-postgres-vendor", @@ -37,7 +37,6 @@ rust_library( named_deps = { "md5": "//third-party/rust/crates/md-5/0.10.6:md-5", }, - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/atoi/2.0.0:atoi", "//third-party/rust/crates/base64/0.22.1:base64", @@ -67,10 +66,14 @@ rust_library( "//third-party/rust/crates/smallvec/1.15.1:smallvec", "//third-party/rust/crates/sqlx-core/0.8.6:sqlx-core", "//third-party/rust/crates/stringprep/0.1.5:stringprep", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/uuid/1.19.0:uuid", "//third-party/rust/crates/whoami/1.6.1:whoami", - ], + ] + select({ + "DEFAULT": [], + "config//os:windows": ["//third-party/rust/crates/etcetera/0.8.0:etcetera"], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK b/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK index 2b654f68..6b702450 100644 --- a/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx-sqlite/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-sqlite-vendor", @@ -50,7 +50,7 @@ rust_library( "//third-party/rust/crates/serde/1.0.228:serde", "//third-party/rust/crates/serde_urlencoded/0.7.1:serde_urlencoded", "//third-party/rust/crates/sqlx-core/0.8.6:sqlx-core", - "//third-party/rust/crates/thiserror/2.0.17:thiserror", + "//third-party/rust/crates/thiserror/2.0.18:thiserror", "//third-party/rust/crates/time/0.3.44:time", "//third-party/rust/crates/tracing/0.1.44:tracing", "//third-party/rust/crates/url/2.5.7:url", diff --git a/third-party/rust/crates/sqlx/0.8.6/BUCK b/third-party/rust/crates/sqlx/0.8.6/BUCK index b2f4fcc8..65a8d308 100644 --- a/third-party/rust/crates/sqlx/0.8.6/BUCK +++ b/third-party/rust/crates/sqlx/0.8.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sqlx-vendor", diff --git a/third-party/rust/crates/stable_deref_trait/1.2.1/BUCK b/third-party/rust/crates/stable_deref_trait/1.2.1/BUCK index 43537ea9..ecef4ef3 100644 --- a/third-party/rust/crates/stable_deref_trait/1.2.1/BUCK +++ b/third-party/rust/crates/stable_deref_trait/1.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "stable_deref_trait-vendor", diff --git a/third-party/rust/crates/static_assertions/1.1.0/BUCK b/third-party/rust/crates/static_assertions/1.1.0/BUCK index 7f0dc24c..d2ce1138 100644 --- a/third-party/rust/crates/static_assertions/1.1.0/BUCK +++ b/third-party/rust/crates/static_assertions/1.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "static_assertions-vendor", diff --git a/third-party/rust/crates/stringprep/0.1.5/BUCK b/third-party/rust/crates/stringprep/0.1.5/BUCK index f41170f5..fc6d7144 100644 --- a/third-party/rust/crates/stringprep/0.1.5/BUCK +++ b/third-party/rust/crates/stringprep/0.1.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "stringprep-vendor", diff --git a/third-party/rust/crates/strum/0.26.3/BUCK b/third-party/rust/crates/strum/0.26.3/BUCK index e6750861..5f62ff08 100644 --- a/third-party/rust/crates/strum/0.26.3/BUCK +++ b/third-party/rust/crates/strum/0.26.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "strum-vendor", diff --git a/third-party/rust/crates/subtle/2.6.1/BUCK b/third-party/rust/crates/subtle/2.6.1/BUCK index 300a56b5..f6d1a45a 100644 --- a/third-party/rust/crates/subtle/2.6.1/BUCK +++ b/third-party/rust/crates/subtle/2.6.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "subtle-vendor", diff --git a/third-party/rust/crates/syn/2.0.111/BUCK b/third-party/rust/crates/syn/2.0.111/BUCK index c2622d32..7aeb0276 100644 --- a/third-party/rust/crates/syn/2.0.111/BUCK +++ b/third-party/rust/crates/syn/2.0.111/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "syn-vendor", diff --git a/third-party/rust/crates/sync_wrapper/1.0.2/BUCK b/third-party/rust/crates/sync_wrapper/1.0.2/BUCK index 47382df2..252e922c 100644 --- a/third-party/rust/crates/sync_wrapper/1.0.2/BUCK +++ b/third-party/rust/crates/sync_wrapper/1.0.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "sync_wrapper-vendor", diff --git a/third-party/rust/crates/synstructure/0.13.2/BUCK b/third-party/rust/crates/synstructure/0.13.2/BUCK index 690d104a..5e48f666 100644 --- a/third-party/rust/crates/synstructure/0.13.2/BUCK +++ b/third-party/rust/crates/synstructure/0.13.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "synstructure-vendor", diff --git a/third-party/rust/crates/tap/1.0.1/BUCK b/third-party/rust/crates/tap/1.0.1/BUCK index 4ff46aa7..d8eda8cc 100644 --- a/third-party/rust/crates/tap/1.0.1/BUCK +++ b/third-party/rust/crates/tap/1.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tap-vendor", diff --git a/third-party/rust/crates/tempfile/3.24.0/BUCK b/third-party/rust/crates/tempfile/3.24.0/BUCK index c8dafd67..62467899 100644 --- a/third-party/rust/crates/tempfile/3.24.0/BUCK +++ b/third-party/rust/crates/tempfile/3.24.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tempfile-vendor", @@ -28,11 +28,23 @@ rust_library( "getrandom", ], rustc_flags = ["@$(location :tempfile-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/fastrand/2.3.0:fastrand", - "//third-party/rust/crates/getrandom/0.3.4:getrandom", "//third-party/rust/crates/once_cell/1.21.3:once_cell", - "//third-party/rust/crates/rustix/1.1.3:rustix", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": [ + "//third-party/rust/crates/getrandom/0.3.4:getrandom", + "//third-party/rust/crates/rustix/1.1.3:rustix", + ], + "config//os:macos": [ + "//third-party/rust/crates/getrandom/0.3.4:getrandom", + "//third-party/rust/crates/rustix/1.1.3:rustix", + ], + "config//os:windows": [ + "//third-party/rust/crates/getrandom/0.3.4:getrandom", + "//third-party/rust/crates/windows-sys/0.61.2:windows-sys", + ], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/thiserror-impl/2.0.18/BUCK b/third-party/rust/crates/thiserror-impl/2.0.18/BUCK new file mode 100644 index 00000000..1f285c4c --- /dev/null +++ b/third-party/rust/crates/thiserror-impl/2.0.18/BUCK @@ -0,0 +1,34 @@ +# @generated by `cargo buckal` + +load("@buckal//:cargo_manifest.bzl", "cargo_manifest") +load("@buckal//:wrapper.bzl", "rust_library") + +http_archive( + name = "thiserror-impl-vendor", + urls = ["https://static.crates.io/crates/thiserror-impl/thiserror-impl-2.0.18.crate"], + sha256 = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5", + type = "tar.gz", + strip_prefix = "thiserror-impl-2.0.18", + out = "vendor", +) + +cargo_manifest( + name = "thiserror-impl-manifest", + vendor = ":thiserror-impl-vendor", +) + +rust_library( + name = "thiserror-impl", + srcs = [":thiserror-impl-vendor"], + crate = "thiserror_impl", + crate_root = "vendor/src/lib.rs", + edition = "2021", + rustc_flags = ["@$(location :thiserror-impl-manifest[env_flags])"], + proc_macro = True, + visibility = ["PUBLIC"], + deps = [ + "//third-party/rust/crates/proc-macro2/1.0.103:proc-macro2", + "//third-party/rust/crates/quote/1.0.42:quote", + "//third-party/rust/crates/syn/2.0.111:syn", + ], +) diff --git a/third-party/rust/crates/thiserror/2.0.18/BUCK b/third-party/rust/crates/thiserror/2.0.18/BUCK new file mode 100644 index 00000000..5652bf22 --- /dev/null +++ b/third-party/rust/crates/thiserror/2.0.18/BUCK @@ -0,0 +1,67 @@ +# @generated by `cargo buckal` + +load("@buckal//:cargo_manifest.bzl", "cargo_manifest") +load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") + +http_archive( + name = "thiserror-vendor", + urls = ["https://static.crates.io/crates/thiserror/thiserror-2.0.18.crate"], + sha256 = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4", + type = "tar.gz", + strip_prefix = "thiserror-2.0.18", + out = "vendor", +) + +cargo_manifest( + name = "thiserror-manifest", + vendor = ":thiserror-vendor", +) + +rust_library( + name = "thiserror", + srcs = [":thiserror-vendor"], + crate = "thiserror", + crate_root = "vendor/src/lib.rs", + edition = "2021", + env = { + "OUT_DIR": "$(location :thiserror-build-script-run[out_dir])", + }, + features = [ + "default", + "std", + ], + rustc_flags = [ + "@$(location :thiserror-build-script-run[rustc_flags])", + "@$(location :thiserror-manifest[env_flags])", + ], + visibility = ["PUBLIC"], + deps = ["//third-party/rust/crates/thiserror-impl/2.0.18:thiserror-impl"], +) + +rust_binary( + name = "thiserror-build-script-build", + srcs = [":thiserror-vendor"], + crate = "build_script_build", + crate_root = "vendor/build.rs", + edition = "2021", + features = [ + "default", + "std", + ], + rustc_flags = ["@$(location :thiserror-manifest[env_flags])"], + visibility = [], +) + +buildscript_run( + name = "thiserror-build-script-run", + package_name = "thiserror", + buildscript_rule = ":thiserror-build-script-build", + env_srcs = [":thiserror-manifest[env_dict]"], + features = [ + "default", + "std", + ], + version = "2.0.18", + manifest_dir = ":thiserror-vendor", + visibility = ["PUBLIC"], +) diff --git a/third-party/rust/crates/thread_local/1.1.9/BUCK b/third-party/rust/crates/thread_local/1.1.9/BUCK index f2c5a2dc..2125f589 100644 --- a/third-party/rust/crates/thread_local/1.1.9/BUCK +++ b/third-party/rust/crates/thread_local/1.1.9/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "thread_local-vendor", diff --git a/third-party/rust/crates/threadpool/1.8.1/BUCK b/third-party/rust/crates/threadpool/1.8.1/BUCK index 856c26ec..f114d767 100644 --- a/third-party/rust/crates/threadpool/1.8.1/BUCK +++ b/third-party/rust/crates/threadpool/1.8.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "threadpool-vendor", diff --git a/third-party/rust/crates/time-core/0.1.6/BUCK b/third-party/rust/crates/time-core/0.1.6/BUCK index 391d07ab..f7157ec2 100644 --- a/third-party/rust/crates/time-core/0.1.6/BUCK +++ b/third-party/rust/crates/time-core/0.1.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "time-core-vendor", diff --git a/third-party/rust/crates/time-macros/0.2.24/BUCK b/third-party/rust/crates/time-macros/0.2.24/BUCK index 027c79db..d6016fe4 100644 --- a/third-party/rust/crates/time-macros/0.2.24/BUCK +++ b/third-party/rust/crates/time-macros/0.2.24/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "time-macros-vendor", diff --git a/third-party/rust/crates/time/0.3.44/BUCK b/third-party/rust/crates/time/0.3.44/BUCK index 77dcfd59..b77652cc 100644 --- a/third-party/rust/crates/time/0.3.44/BUCK +++ b/third-party/rust/crates/time/0.3.44/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "time-vendor", diff --git a/third-party/rust/crates/tinystr/0.8.2/BUCK b/third-party/rust/crates/tinystr/0.8.2/BUCK index 5358c8a4..95f71c2e 100644 --- a/third-party/rust/crates/tinystr/0.8.2/BUCK +++ b/third-party/rust/crates/tinystr/0.8.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tinystr-vendor", diff --git a/third-party/rust/crates/tinyvec/1.10.0/BUCK b/third-party/rust/crates/tinyvec/1.10.0/BUCK index eb60d338..d78e0cec 100644 --- a/third-party/rust/crates/tinyvec/1.10.0/BUCK +++ b/third-party/rust/crates/tinyvec/1.10.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tinyvec-vendor", diff --git a/third-party/rust/crates/tinyvec_macros/0.1.1/BUCK b/third-party/rust/crates/tinyvec_macros/0.1.1/BUCK index 2168ed67..057197c2 100644 --- a/third-party/rust/crates/tinyvec_macros/0.1.1/BUCK +++ b/third-party/rust/crates/tinyvec_macros/0.1.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tinyvec_macros-vendor", diff --git a/third-party/rust/crates/tokio-macros/2.6.0/BUCK b/third-party/rust/crates/tokio-macros/2.6.0/BUCK index 210dd092..e5b425a0 100644 --- a/third-party/rust/crates/tokio-macros/2.6.0/BUCK +++ b/third-party/rust/crates/tokio-macros/2.6.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tokio-macros-vendor", diff --git a/third-party/rust/crates/tokio-stream/0.1.18/BUCK b/third-party/rust/crates/tokio-stream/0.1.18/BUCK index 7e17eb0e..7046157d 100644 --- a/third-party/rust/crates/tokio-stream/0.1.18/BUCK +++ b/third-party/rust/crates/tokio-stream/0.1.18/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tokio-stream-vendor", diff --git a/third-party/rust/crates/tokio-util/0.7.18/BUCK b/third-party/rust/crates/tokio-util/0.7.18/BUCK index 9cc4df0f..3ca6b516 100644 --- a/third-party/rust/crates/tokio-util/0.7.18/BUCK +++ b/third-party/rust/crates/tokio-util/0.7.18/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tokio-util-vendor", diff --git a/third-party/rust/crates/tokio/1.49.0/BUCK b/third-party/rust/crates/tokio/1.49.0/BUCK index 4a91c015..d250c398 100644 --- a/third-party/rust/crates/tokio/1.49.0/BUCK +++ b/third-party/rust/crates/tokio/1.49.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tokio-vendor", @@ -47,15 +47,27 @@ rust_library( "windows-sys", ], rustc_flags = ["@$(location :tokio-manifest[env_flags])"], - visibility = ["PUBLIC"], deps = [ "//third-party/rust/crates/bytes/1.11.0:bytes", "//third-party/rust/crates/libc/0.2.180:libc", "//third-party/rust/crates/mio/1.1.1:mio", "//third-party/rust/crates/parking_lot/0.12.5:parking_lot", "//third-party/rust/crates/pin-project-lite/0.2.16:pin-project-lite", - "//third-party/rust/crates/signal-hook-registry/1.4.7:signal-hook-registry", - "//third-party/rust/crates/socket2/0.6.1:socket2", "//third-party/rust/crates/tokio-macros/2.6.0:tokio-macros", - ], + ] + select({ + "DEFAULT": [], + "config//os:linux": [ + "//third-party/rust/crates/signal-hook-registry/1.4.7:signal-hook-registry", + "//third-party/rust/crates/socket2/0.6.1:socket2", + ], + "config//os:macos": [ + "//third-party/rust/crates/signal-hook-registry/1.4.7:signal-hook-registry", + "//third-party/rust/crates/socket2/0.6.1:socket2", + ], + "config//os:windows": [ + "//third-party/rust/crates/socket2/0.6.1:socket2", + "//third-party/rust/crates/windows-sys/0.61.2:windows-sys", + ], + }), + visibility = ["PUBLIC"], ) diff --git a/third-party/rust/crates/toml_datetime/0.7.3/BUCK b/third-party/rust/crates/toml_datetime/0.7.3/BUCK index a4bb269c..777fb63a 100644 --- a/third-party/rust/crates/toml_datetime/0.7.3/BUCK +++ b/third-party/rust/crates/toml_datetime/0.7.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "toml_datetime-vendor", diff --git a/third-party/rust/crates/toml_edit/0.23.9/BUCK b/third-party/rust/crates/toml_edit/0.23.9/BUCK index 224a616e..5e3fd64c 100644 --- a/third-party/rust/crates/toml_edit/0.23.9/BUCK +++ b/third-party/rust/crates/toml_edit/0.23.9/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "toml_edit-vendor", diff --git a/third-party/rust/crates/toml_parser/1.0.4/BUCK b/third-party/rust/crates/toml_parser/1.0.4/BUCK index 6ad1686b..e9d40de6 100644 --- a/third-party/rust/crates/toml_parser/1.0.4/BUCK +++ b/third-party/rust/crates/toml_parser/1.0.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "toml_parser-vendor", diff --git a/third-party/rust/crates/tower-layer/0.3.3/BUCK b/third-party/rust/crates/tower-layer/0.3.3/BUCK index 5bb15a06..3a39f3f4 100644 --- a/third-party/rust/crates/tower-layer/0.3.3/BUCK +++ b/third-party/rust/crates/tower-layer/0.3.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tower-layer-vendor", diff --git a/third-party/rust/crates/tower-service/0.3.3/BUCK b/third-party/rust/crates/tower-service/0.3.3/BUCK index 4b7a5de5..3ba5e6e5 100644 --- a/third-party/rust/crates/tower-service/0.3.3/BUCK +++ b/third-party/rust/crates/tower-service/0.3.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tower-service-vendor", diff --git a/third-party/rust/crates/tower/0.5.2/BUCK b/third-party/rust/crates/tower/0.5.2/BUCK index 6220e956..66f99f78 100644 --- a/third-party/rust/crates/tower/0.5.2/BUCK +++ b/third-party/rust/crates/tower/0.5.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tower-vendor", diff --git a/third-party/rust/crates/tracing-attributes/0.1.31/BUCK b/third-party/rust/crates/tracing-attributes/0.1.31/BUCK index f288d44a..8617ca03 100644 --- a/third-party/rust/crates/tracing-attributes/0.1.31/BUCK +++ b/third-party/rust/crates/tracing-attributes/0.1.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tracing-attributes-vendor", diff --git a/third-party/rust/crates/tracing-core/0.1.36/BUCK b/third-party/rust/crates/tracing-core/0.1.36/BUCK index 8ea753f4..8f11e008 100644 --- a/third-party/rust/crates/tracing-core/0.1.36/BUCK +++ b/third-party/rust/crates/tracing-core/0.1.36/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tracing-core-vendor", @@ -30,5 +30,8 @@ rust_library( ], rustc_flags = ["@$(location :tracing-core-manifest[env_flags])"], visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/once_cell/1.21.3:once_cell"], + deps = [ + "//third-party/rust/crates/once_cell/1.21.3:once_cell", + "//third-party/rust/crates/valuable/0.1.1:valuable", + ], ) diff --git a/third-party/rust/crates/tracing-log/0.2.0/BUCK b/third-party/rust/crates/tracing-log/0.2.0/BUCK index c2111528..d4071133 100644 --- a/third-party/rust/crates/tracing-log/0.2.0/BUCK +++ b/third-party/rust/crates/tracing-log/0.2.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tracing-log-vendor", diff --git a/third-party/rust/crates/tracing-subscriber/0.3.22/BUCK b/third-party/rust/crates/tracing-subscriber/0.3.22/BUCK index 814b07fc..534b8ab7 100644 --- a/third-party/rust/crates/tracing-subscriber/0.3.22/BUCK +++ b/third-party/rust/crates/tracing-subscriber/0.3.22/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tracing-subscriber-vendor", diff --git a/third-party/rust/crates/tracing/0.1.44/BUCK b/third-party/rust/crates/tracing/0.1.44/BUCK index d9518559..93357e56 100644 --- a/third-party/rust/crates/tracing/0.1.44/BUCK +++ b/third-party/rust/crates/tracing/0.1.44/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "tracing-vendor", diff --git a/third-party/rust/crates/unicode-bidi/0.3.18/BUCK b/third-party/rust/crates/unicode-bidi/0.3.18/BUCK index ce40603d..b5cf3cba 100644 --- a/third-party/rust/crates/unicode-bidi/0.3.18/BUCK +++ b/third-party/rust/crates/unicode-bidi/0.3.18/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "unicode-bidi-vendor", diff --git a/third-party/rust/crates/unicode-ident/1.0.22/BUCK b/third-party/rust/crates/unicode-ident/1.0.22/BUCK index 33833109..4403c85f 100644 --- a/third-party/rust/crates/unicode-ident/1.0.22/BUCK +++ b/third-party/rust/crates/unicode-ident/1.0.22/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "unicode-ident-vendor", diff --git a/third-party/rust/crates/unicode-normalization/0.1.25/BUCK b/third-party/rust/crates/unicode-normalization/0.1.25/BUCK index 7775eb51..e83a1750 100644 --- a/third-party/rust/crates/unicode-normalization/0.1.25/BUCK +++ b/third-party/rust/crates/unicode-normalization/0.1.25/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "unicode-normalization-vendor", diff --git a/third-party/rust/crates/unicode-properties/0.1.4/BUCK b/third-party/rust/crates/unicode-properties/0.1.4/BUCK index e44b0ccd..3e1da3d7 100644 --- a/third-party/rust/crates/unicode-properties/0.1.4/BUCK +++ b/third-party/rust/crates/unicode-properties/0.1.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "unicode-properties-vendor", diff --git a/third-party/rust/crates/unicode-xid/0.2.6/BUCK b/third-party/rust/crates/unicode-xid/0.2.6/BUCK index 280b142f..ad54d86c 100644 --- a/third-party/rust/crates/unicode-xid/0.2.6/BUCK +++ b/third-party/rust/crates/unicode-xid/0.2.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "unicode-xid-vendor", diff --git a/third-party/rust/crates/unty/0.0.4/BUCK b/third-party/rust/crates/unty/0.0.4/BUCK index e4233a65..8ab0c99b 100644 --- a/third-party/rust/crates/unty/0.0.4/BUCK +++ b/third-party/rust/crates/unty/0.0.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "unty-vendor", diff --git a/third-party/rust/crates/url/2.5.7/BUCK b/third-party/rust/crates/url/2.5.7/BUCK index cdd118d6..cf6f734e 100644 --- a/third-party/rust/crates/url/2.5.7/BUCK +++ b/third-party/rust/crates/url/2.5.7/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "url-vendor", diff --git a/third-party/rust/crates/utf8_iter/1.0.4/BUCK b/third-party/rust/crates/utf8_iter/1.0.4/BUCK index 233e87d2..3c6d73cf 100644 --- a/third-party/rust/crates/utf8_iter/1.0.4/BUCK +++ b/third-party/rust/crates/utf8_iter/1.0.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "utf8_iter-vendor", diff --git a/third-party/rust/crates/uuid/1.19.0/BUCK b/third-party/rust/crates/uuid/1.19.0/BUCK index e9ef403e..a978edb0 100644 --- a/third-party/rust/crates/uuid/1.19.0/BUCK +++ b/third-party/rust/crates/uuid/1.19.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "uuid-vendor", @@ -31,9 +31,11 @@ rust_library( "v4", ], rustc_flags = ["@$(location :uuid-manifest[env_flags])"], + deps = ["//third-party/rust/crates/serde_core/1.0.228:serde_core"] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], + "config//os:macos": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], + "config//os:windows": ["//third-party/rust/crates/getrandom/0.3.4:getrandom"], + }), visibility = ["PUBLIC"], - deps = [ - "//third-party/rust/crates/getrandom/0.3.4:getrandom", - "//third-party/rust/crates/serde_core/1.0.228:serde_core", - ], ) diff --git a/third-party/rust/crates/vcpkg/0.2.15/BUCK b/third-party/rust/crates/vcpkg/0.2.15/BUCK index 5a349215..1e063267 100644 --- a/third-party/rust/crates/vcpkg/0.2.15/BUCK +++ b/third-party/rust/crates/vcpkg/0.2.15/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "vcpkg-vendor", diff --git a/third-party/rust/crates/version_check/0.9.5/BUCK b/third-party/rust/crates/version_check/0.9.5/BUCK index cba429f1..a10fde69 100644 --- a/third-party/rust/crates/version_check/0.9.5/BUCK +++ b/third-party/rust/crates/version_check/0.9.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "version_check-vendor", diff --git a/third-party/rust/crates/virtue/0.0.18/BUCK b/third-party/rust/crates/virtue/0.0.18/BUCK index 728a285b..6a7a91a9 100644 --- a/third-party/rust/crates/virtue/0.0.18/BUCK +++ b/third-party/rust/crates/virtue/0.0.18/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "virtue-vendor", diff --git a/third-party/rust/crates/wasi/0.11.1+wasi-snapshot-preview1/BUCK b/third-party/rust/crates/wasi/0.11.1+wasi-snapshot-preview1/BUCK index 08800485..02c7c335 100644 --- a/third-party/rust/crates/wasi/0.11.1+wasi-snapshot-preview1/BUCK +++ b/third-party/rust/crates/wasi/0.11.1+wasi-snapshot-preview1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "wasi-vendor", diff --git a/third-party/rust/crates/wasip2/1.0.1+wasi-0.2.4/BUCK b/third-party/rust/crates/wasip2/1.0.1+wasi-0.2.4/BUCK index c062a939..dc89c36e 100644 --- a/third-party/rust/crates/wasip2/1.0.1+wasi-0.2.4/BUCK +++ b/third-party/rust/crates/wasip2/1.0.1+wasi-0.2.4/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "wasip2-vendor", diff --git a/third-party/rust/crates/wasite/0.1.0/BUCK b/third-party/rust/crates/wasite/0.1.0/BUCK index ab4c5fb5..df72a745 100644 --- a/third-party/rust/crates/wasite/0.1.0/BUCK +++ b/third-party/rust/crates/wasite/0.1.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "wasite-vendor", diff --git a/third-party/rust/crates/wasm-bindgen-macro-support/0.2.106/BUCK b/third-party/rust/crates/wasm-bindgen-macro-support/0.2.106/BUCK index 1bb2e4d4..07771f3d 100644 --- a/third-party/rust/crates/wasm-bindgen-macro-support/0.2.106/BUCK +++ b/third-party/rust/crates/wasm-bindgen-macro-support/0.2.106/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "wasm-bindgen-macro-support-vendor", diff --git a/third-party/rust/crates/wasm-bindgen-macro/0.2.106/BUCK b/third-party/rust/crates/wasm-bindgen-macro/0.2.106/BUCK index 8c8c64a3..beeccdfc 100644 --- a/third-party/rust/crates/wasm-bindgen-macro/0.2.106/BUCK +++ b/third-party/rust/crates/wasm-bindgen-macro/0.2.106/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "wasm-bindgen-macro-vendor", diff --git a/third-party/rust/crates/whoami/1.6.1/BUCK b/third-party/rust/crates/whoami/1.6.1/BUCK index 14a4300b..2fe6ec6d 100644 --- a/third-party/rust/crates/whoami/1.6.1/BUCK +++ b/third-party/rust/crates/whoami/1.6.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "whoami-vendor", diff --git a/third-party/rust/crates/windows-core/0.62.2/BUCK b/third-party/rust/crates/windows-core/0.62.2/BUCK index 8427f4a9..a598ac40 100644 --- a/third-party/rust/crates/windows-core/0.62.2/BUCK +++ b/third-party/rust/crates/windows-core/0.62.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-core-vendor", diff --git a/third-party/rust/crates/windows-implement/0.60.2/BUCK b/third-party/rust/crates/windows-implement/0.60.2/BUCK index ad54dad8..b1cf5d63 100644 --- a/third-party/rust/crates/windows-implement/0.60.2/BUCK +++ b/third-party/rust/crates/windows-implement/0.60.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-implement-vendor", diff --git a/third-party/rust/crates/windows-interface/0.59.3/BUCK b/third-party/rust/crates/windows-interface/0.59.3/BUCK index 361cfe8b..ebdd713f 100644 --- a/third-party/rust/crates/windows-interface/0.59.3/BUCK +++ b/third-party/rust/crates/windows-interface/0.59.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-interface-vendor", diff --git a/third-party/rust/crates/windows-link/0.2.1/BUCK b/third-party/rust/crates/windows-link/0.2.1/BUCK index d9cc6631..5549182e 100644 --- a/third-party/rust/crates/windows-link/0.2.1/BUCK +++ b/third-party/rust/crates/windows-link/0.2.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-link-vendor", diff --git a/third-party/rust/crates/windows-result/0.4.1/BUCK b/third-party/rust/crates/windows-result/0.4.1/BUCK index 58fe1c67..0ea5ce41 100644 --- a/third-party/rust/crates/windows-result/0.4.1/BUCK +++ b/third-party/rust/crates/windows-result/0.4.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-result-vendor", diff --git a/third-party/rust/crates/windows-strings/0.5.1/BUCK b/third-party/rust/crates/windows-strings/0.5.1/BUCK index 93406968..f6cbb85e 100644 --- a/third-party/rust/crates/windows-strings/0.5.1/BUCK +++ b/third-party/rust/crates/windows-strings/0.5.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-strings-vendor", diff --git a/third-party/rust/crates/windows-sys/0.48.0/BUCK b/third-party/rust/crates/windows-sys/0.48.0/BUCK index ab2b99a2..9bbf711a 100644 --- a/third-party/rust/crates/windows-sys/0.48.0/BUCK +++ b/third-party/rust/crates/windows-sys/0.48.0/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-sys-vendor", diff --git a/third-party/rust/crates/windows-sys/0.60.2/BUCK b/third-party/rust/crates/windows-sys/0.60.2/BUCK index 0224c3ac..5e601d0f 100644 --- a/third-party/rust/crates/windows-sys/0.60.2/BUCK +++ b/third-party/rust/crates/windows-sys/0.60.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-sys-vendor", diff --git a/third-party/rust/crates/windows-sys/0.61.2/BUCK b/third-party/rust/crates/windows-sys/0.61.2/BUCK index 673f9ff3..00ad4d8a 100644 --- a/third-party/rust/crates/windows-sys/0.61.2/BUCK +++ b/third-party/rust/crates/windows-sys/0.61.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-sys-vendor", diff --git a/third-party/rust/crates/windows-targets/0.48.5/BUCK b/third-party/rust/crates/windows-targets/0.48.5/BUCK index 0748033b..7a86579a 100644 --- a/third-party/rust/crates/windows-targets/0.48.5/BUCK +++ b/third-party/rust/crates/windows-targets/0.48.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-targets-vendor", @@ -24,6 +24,14 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2018", rustc_flags = ["@$(location :windows-targets-manifest[env_flags])"], + deps = [ + "//third-party/rust/crates/windows_aarch64_msvc/0.48.5:windows_aarch64_msvc", + "//third-party/rust/crates/windows_i686_gnu/0.48.5:windows_i686_gnu", + "//third-party/rust/crates/windows_i686_msvc/0.48.5:windows_i686_msvc", + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/windows_x86_64_gnu/0.48.5:windows_x86_64_gnu"], + "config//os:windows": ["//third-party/rust/crates/windows_x86_64_msvc/0.48.5:windows_x86_64_msvc"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/windows_x86_64_gnu/0.48.5:windows_x86_64_gnu"], ) diff --git a/third-party/rust/crates/windows-targets/0.53.5/BUCK b/third-party/rust/crates/windows-targets/0.53.5/BUCK index 21842733..66bd71b1 100644 --- a/third-party/rust/crates/windows-targets/0.53.5/BUCK +++ b/third-party/rust/crates/windows-targets/0.53.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "windows-targets-vendor", @@ -24,6 +24,15 @@ rust_library( crate_root = "vendor/src/lib.rs", edition = "2021", rustc_flags = ["@$(location :windows-targets-manifest[env_flags])"], + deps = [ + "//third-party/rust/crates/windows-link/0.2.1:windows-link", + "//third-party/rust/crates/windows_aarch64_msvc/0.53.1:windows_aarch64_msvc", + "//third-party/rust/crates/windows_i686_gnu/0.53.1:windows_i686_gnu", + "//third-party/rust/crates/windows_i686_msvc/0.53.1:windows_i686_msvc", + ] + select({ + "DEFAULT": [], + "config//os:linux": ["//third-party/rust/crates/windows_x86_64_gnu/0.53.1:windows_x86_64_gnu"], + "config//os:windows": ["//third-party/rust/crates/windows_x86_64_msvc/0.53.1:windows_x86_64_msvc"], + }), visibility = ["PUBLIC"], - deps = ["//third-party/rust/crates/windows_x86_64_gnu/0.53.1:windows_x86_64_gnu"], ) diff --git a/third-party/rust/crates/winnow/0.7.14/BUCK b/third-party/rust/crates/winnow/0.7.14/BUCK index c94b543f..ea8f3d84 100644 --- a/third-party/rust/crates/winnow/0.7.14/BUCK +++ b/third-party/rust/crates/winnow/0.7.14/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "winnow-vendor", diff --git a/third-party/rust/crates/writeable/0.6.2/BUCK b/third-party/rust/crates/writeable/0.6.2/BUCK index 178f0adc..3eb7bfab 100644 --- a/third-party/rust/crates/writeable/0.6.2/BUCK +++ b/third-party/rust/crates/writeable/0.6.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "writeable-vendor", diff --git a/third-party/rust/crates/wyz/0.5.1/BUCK b/third-party/rust/crates/wyz/0.5.1/BUCK index 527dbbf9..9cb6bcc7 100644 --- a/third-party/rust/crates/wyz/0.5.1/BUCK +++ b/third-party/rust/crates/wyz/0.5.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "wyz-vendor", diff --git a/third-party/rust/crates/yansi/1.0.1/BUCK b/third-party/rust/crates/yansi/1.0.1/BUCK index 22081ac2..40576b04 100644 --- a/third-party/rust/crates/yansi/1.0.1/BUCK +++ b/third-party/rust/crates/yansi/1.0.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "yansi-vendor", diff --git a/third-party/rust/crates/yoke-derive/0.8.1/BUCK b/third-party/rust/crates/yoke-derive/0.8.1/BUCK index 4a5be841..2d77f04f 100644 --- a/third-party/rust/crates/yoke-derive/0.8.1/BUCK +++ b/third-party/rust/crates/yoke-derive/0.8.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "yoke-derive-vendor", diff --git a/third-party/rust/crates/yoke/0.8.1/BUCK b/third-party/rust/crates/yoke/0.8.1/BUCK index 0425681e..289aeb47 100644 --- a/third-party/rust/crates/yoke/0.8.1/BUCK +++ b/third-party/rust/crates/yoke/0.8.1/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "yoke-vendor", diff --git a/third-party/rust/crates/zerocopy-derive/0.8.31/BUCK b/third-party/rust/crates/zerocopy-derive/0.8.31/BUCK index 4b5326a4..6a2b5f19 100644 --- a/third-party/rust/crates/zerocopy-derive/0.8.31/BUCK +++ b/third-party/rust/crates/zerocopy-derive/0.8.31/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zerocopy-derive-vendor", diff --git a/third-party/rust/crates/zerofrom-derive/0.1.6/BUCK b/third-party/rust/crates/zerofrom-derive/0.1.6/BUCK index 33a3173c..08fe9d1f 100644 --- a/third-party/rust/crates/zerofrom-derive/0.1.6/BUCK +++ b/third-party/rust/crates/zerofrom-derive/0.1.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zerofrom-derive-vendor", diff --git a/third-party/rust/crates/zerofrom/0.1.6/BUCK b/third-party/rust/crates/zerofrom/0.1.6/BUCK index 249a1b30..94a17d74 100644 --- a/third-party/rust/crates/zerofrom/0.1.6/BUCK +++ b/third-party/rust/crates/zerofrom/0.1.6/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zerofrom-vendor", diff --git a/third-party/rust/crates/zeroize/1.8.2/BUCK b/third-party/rust/crates/zeroize/1.8.2/BUCK index 2a0ce7af..1c336387 100644 --- a/third-party/rust/crates/zeroize/1.8.2/BUCK +++ b/third-party/rust/crates/zeroize/1.8.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zeroize-vendor", diff --git a/third-party/rust/crates/zerotrie/0.2.3/BUCK b/third-party/rust/crates/zerotrie/0.2.3/BUCK index f8043413..c0146742 100644 --- a/third-party/rust/crates/zerotrie/0.2.3/BUCK +++ b/third-party/rust/crates/zerotrie/0.2.3/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zerotrie-vendor", diff --git a/third-party/rust/crates/zerovec-derive/0.11.2/BUCK b/third-party/rust/crates/zerovec-derive/0.11.2/BUCK index dd82218a..b8583763 100644 --- a/third-party/rust/crates/zerovec-derive/0.11.2/BUCK +++ b/third-party/rust/crates/zerovec-derive/0.11.2/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zerovec-derive-vendor", diff --git a/third-party/rust/crates/zerovec/0.11.5/BUCK b/third-party/rust/crates/zerovec/0.11.5/BUCK index 71e359c8..e0157207 100644 --- a/third-party/rust/crates/zerovec/0.11.5/BUCK +++ b/third-party/rust/crates/zerovec/0.11.5/BUCK @@ -1,7 +1,7 @@ # @generated by `cargo buckal` load("@buckal//:cargo_manifest.bzl", "cargo_manifest") -load("@buckal//:wrapper.bzl", "buildscript_run", "rust_binary", "rust_library") +load("@buckal//:wrapper.bzl", "rust_library") http_archive( name = "zerovec-vendor",