diff --git a/Cargo.lock b/Cargo.lock index 176ea77052..6ceb207bfb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -46,12 +46,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "ascii_utils" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a" - [[package]] name = "async-graphql" version = "6.0.9" @@ -65,10 +59,8 @@ dependencies = [ "async-trait", "base64 0.13.1", "bytes", - "fast_chemail", "fnv", "futures-util", - "handlebars", "http", "indexmap", "mime", @@ -81,7 +73,6 @@ dependencies = [ "serde_json", "serde_urlencoded", "static_assertions", - "tempfile", "thiserror", ] @@ -192,7 +183,7 @@ dependencies = [ "async-trait", "axum-core", "base64 0.21.5", - "bitflags 1.3.2", + "bitflags", "bytes", "futures-util", "headers", @@ -269,12 +260,6 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "bitflags" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" - [[package]] name = "block-buffer" version = "0.10.4" @@ -399,31 +384,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[package]] -name = "errno" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "fast_chemail" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495a39d30d624c2caabe6312bfead73e7717692b44e0b32df168c275a2e8e9e4" -dependencies = [ - "ascii_utils", -] - -[[package]] -name = "fastrand" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" - [[package]] name = "fnv" version = "1.0.7" @@ -527,20 +487,6 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" -[[package]] -name = "handlebars" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c39b3bc2a8f715298032cf5087e58573809374b08160aa7d750582bdb82d2683" -dependencies = [ - "log", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "hashbrown" version = "0.14.2" @@ -685,12 +631,6 @@ version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" -[[package]] -name = "linux-raw-sys" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" - [[package]] name = "lock_api" version = "0.4.11" @@ -837,40 +777,6 @@ dependencies = [ "ucd-trie", ] -[[package]] -name = "pest_derive" -version = "2.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pest_meta" -version = "2.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" -dependencies = [ - "once_cell", - "pest", - "sha2", -] - [[package]] name = "pin-project" version = "1.1.3" @@ -973,7 +879,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ - "bitflags 1.3.2", + "bitflags", ] [[package]] @@ -1011,19 +917,6 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" -[[package]] -name = "rustix" -version = "0.38.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" -dependencies = [ - "bitflags 2.4.1", - "errno", - "libc", - "linux-raw-sys", - "windows-sys", -] - [[package]] name = "rustversion" version = "1.0.14" @@ -1106,17 +999,6 @@ dependencies = [ "digest", ] -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - [[package]] name = "signal-hook-registry" version = "1.4.1" @@ -1218,19 +1100,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" -[[package]] -name = "tempfile" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall", - "rustix", - "windows-sys", -] - [[package]] name = "thiserror" version = "1.0.50" diff --git a/Cargo.toml b/Cargo.toml index d73ac616ba..25005d63de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ ] [workspace.dependencies] -async-graphql = "6.0.9" +async-graphql = { version = "6.0.9", default-features = false, features = ["playground"] } async-graphql-axum = "6.0.9" axum = "0.6.20" tokio = { version = "1.33.0", features = ["full"] } diff --git a/dev/Tiltfile b/dev/Tiltfile index 559344cb08..5d00dce2d7 100644 --- a/dev/Tiltfile +++ b/dev/Tiltfile @@ -177,8 +177,6 @@ def _buck2_dep_inputs(target): return file_paths api_keys_target = "//core/api-keys:api-keys" -# if is_ci: -# consent_target = "//core/api-keys:main" local_resource( "api_keys", labels = ["core"], diff --git a/third-party/rust/BUCK b/third-party/rust/BUCK index b9688b35bd..a3df5a0bd9 100644 --- a/third-party/rust/BUCK +++ b/third-party/rust/BUCK @@ -54,23 +54,6 @@ cargo.rust_library( deps = [":memchr-2.6.4"], ) -http_archive( - name = "ascii_utils-0.9.3.crate", - sha256 = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a", - strip_prefix = "ascii_utils-0.9.3", - urls = ["https://crates.io/api/v1/crates/ascii_utils/0.9.3/download"], - visibility = [], -) - -cargo.rust_library( - name = "ascii_utils-0.9.3", - srcs = [":ascii_utils-0.9.3.crate"], - crate = "ascii_utils", - crate_root = "ascii_utils-0.9.3.crate/src/lib.rs", - edition = "2015", - visibility = [], -) - alias( name = "async-graphql", actual = ":async-graphql-6.0.9", @@ -91,15 +74,7 @@ cargo.rust_library( crate = "async_graphql", crate_root = "async-graphql-6.0.9.crate/src/lib.rs", edition = "2021", - features = [ - "default", - "email-validator", - "fast_chemail", - "graphiql", - "handlebars", - "playground", - "tempfile", - ], + features = ["playground"], visibility = [], deps = [ ":async-graphql-derive-6.0.9", @@ -109,10 +84,8 @@ cargo.rust_library( ":async-trait-0.1.74", ":base64-0.13.1", ":bytes-1.5.0", - ":fast_chemail-0.9.6", ":fnv-1.0.7", ":futures-util-0.3.29", - ":handlebars-4.4.0", ":http-0.2.9", ":indexmap-2.0.2", ":mime-0.3.17", @@ -125,7 +98,6 @@ cargo.rust_library( ":serde_json-1.0.108", ":serde_urlencoded-0.7.1", ":static_assertions-1.1.0", - ":tempfile-3.8.1", ":thiserror-1.0.50", ], ) @@ -478,24 +450,6 @@ cargo.rust_library( visibility = [], ) -http_archive( - name = "bitflags-2.4.1.crate", - sha256 = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07", - strip_prefix = "bitflags-2.4.1", - urls = ["https://crates.io/api/v1/crates/bitflags/2.4.1/download"], - visibility = [], -) - -cargo.rust_library( - name = "bitflags-2.4.1", - srcs = [":bitflags-2.4.1.crate"], - crate = "bitflags", - crate_root = "bitflags-2.4.1.crate/src/lib.rs", - edition = "2021", - features = ["std"], - visibility = [], -) - http_archive( name = "block-buffer-0.10.4.crate", sha256 = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71", @@ -788,84 +742,6 @@ cargo.rust_library( visibility = [], ) -http_archive( - name = "errno-0.3.5.crate", - sha256 = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860", - strip_prefix = "errno-0.3.5", - urls = ["https://crates.io/api/v1/crates/errno/0.3.5/download"], - visibility = [], -) - -cargo.rust_library( - name = "errno-0.3.5", - srcs = [":errno-0.3.5.crate"], - crate = "errno", - crate_root = "errno-0.3.5.crate/src/lib.rs", - edition = "2018", - features = ["std"], - platform = { - "linux-arm64": dict( - deps = [":libc-0.2.149"], - ), - "linux-x86_64": dict( - deps = [":libc-0.2.149"], - ), - "macos-arm64": dict( - deps = [":libc-0.2.149"], - ), - "macos-x86_64": dict( - deps = [":libc-0.2.149"], - ), - "windows-gnu": dict( - deps = [":windows-sys-0.48.0"], - ), - "windows-msvc": dict( - deps = [":windows-sys-0.48.0"], - ), - }, - visibility = [], -) - -http_archive( - name = "fast_chemail-0.9.6.crate", - sha256 = "495a39d30d624c2caabe6312bfead73e7717692b44e0b32df168c275a2e8e9e4", - strip_prefix = "fast_chemail-0.9.6", - urls = ["https://crates.io/api/v1/crates/fast_chemail/0.9.6/download"], - visibility = [], -) - -cargo.rust_library( - name = "fast_chemail-0.9.6", - srcs = [":fast_chemail-0.9.6.crate"], - crate = "fast_chemail", - crate_root = "fast_chemail-0.9.6.crate/src/lib.rs", - edition = "2015", - visibility = [], - deps = [":ascii_utils-0.9.3"], -) - -http_archive( - name = "fastrand-2.0.1.crate", - sha256 = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5", - strip_prefix = "fastrand-2.0.1", - urls = ["https://crates.io/api/v1/crates/fastrand/2.0.1/download"], - visibility = [], -) - -cargo.rust_library( - name = "fastrand-2.0.1", - srcs = [":fastrand-2.0.1.crate"], - crate = "fastrand", - crate_root = "fastrand-2.0.1.crate/src/lib.rs", - edition = "2018", - features = [ - "alloc", - "default", - "std", - ], - visibility = [], -) - http_archive( name = "fnv-1.0.7.crate", sha256 = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1", @@ -1179,32 +1055,6 @@ cargo.rust_library( deps = [":cfg-if-1.0.0"], ) -http_archive( - name = "handlebars-4.4.0.crate", - sha256 = "c39b3bc2a8f715298032cf5087e58573809374b08160aa7d750582bdb82d2683", - strip_prefix = "handlebars-4.4.0", - urls = ["https://crates.io/api/v1/crates/handlebars/4.4.0/download"], - visibility = [], -) - -cargo.rust_library( - name = "handlebars-4.4.0", - srcs = [":handlebars-4.4.0.crate"], - crate = "handlebars", - crate_root = "handlebars-4.4.0.crate/src/lib.rs", - edition = "2021", - features = ["default"], - visibility = [], - deps = [ - ":log-0.4.20", - ":pest-2.7.5", - ":pest_derive-2.7.5", - ":serde-1.0.190", - ":serde_json-1.0.108", - ":thiserror-1.0.50", - ], -) - http_archive( name = "hashbrown-0.14.2.crate", sha256 = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156", @@ -1530,7 +1380,6 @@ cargo.rust_library( edition = "2015", features = [ "default", - "extra_traits", "std", ], rustc_flags = ["@$(location :libc-0.2.149-build-script-run[rustc_flags])"], @@ -1545,7 +1394,6 @@ cargo.rust_binary( edition = "2015", features = [ "default", - "extra_traits", "std", ], visibility = [], @@ -1557,36 +1405,11 @@ buildscript_run( buildscript_rule = ":libc-0.2.149-build-script-build", features = [ "default", - "extra_traits", "std", ], version = "0.2.149", ) -http_archive( - name = "linux-raw-sys-0.4.10.crate", - sha256 = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f", - strip_prefix = "linux-raw-sys-0.4.10", - urls = ["https://crates.io/api/v1/crates/linux-raw-sys/0.4.10/download"], - visibility = [], -) - -cargo.rust_library( - name = "linux-raw-sys-0.4.10", - srcs = [":linux-raw-sys-0.4.10.crate"], - crate = "linux_raw_sys", - crate_root = "linux-raw-sys-0.4.10.crate/src/lib.rs", - edition = "2021", - features = [ - "elf", - "errno", - "general", - "ioctl", - "no_std", - ], - visibility = [], -) - http_archive( name = "lock_api-0.4.11.crate", sha256 = "3c168f8615b12bc01f9c17e2eb0cc07dcae1940121185446edc3744920e8ef45", @@ -1968,79 +1791,6 @@ cargo.rust_library( ], ) -http_archive( - name = "pest_derive-2.7.5.crate", - sha256 = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2", - strip_prefix = "pest_derive-2.7.5", - urls = ["https://crates.io/api/v1/crates/pest_derive/2.7.5/download"], - visibility = [], -) - -cargo.rust_library( - name = "pest_derive-2.7.5", - srcs = [":pest_derive-2.7.5.crate"], - crate = "pest_derive", - crate_root = "pest_derive-2.7.5.crate/src/lib.rs", - edition = "2021", - features = [ - "default", - "std", - ], - proc_macro = True, - visibility = [], - deps = [ - ":pest-2.7.5", - ":pest_generator-2.7.5", - ], -) - -http_archive( - name = "pest_generator-2.7.5.crate", - sha256 = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227", - strip_prefix = "pest_generator-2.7.5", - urls = ["https://crates.io/api/v1/crates/pest_generator/2.7.5/download"], - visibility = [], -) - -cargo.rust_library( - name = "pest_generator-2.7.5", - srcs = [":pest_generator-2.7.5.crate"], - crate = "pest_generator", - crate_root = "pest_generator-2.7.5.crate/src/lib.rs", - edition = "2021", - features = ["std"], - visibility = [], - deps = [ - ":pest-2.7.5", - ":pest_meta-2.7.5", - ":proc-macro2-1.0.69", - ":quote-1.0.33", - ":syn-2.0.38", - ], -) - -http_archive( - name = "pest_meta-2.7.5.crate", - sha256 = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6", - strip_prefix = "pest_meta-2.7.5", - urls = ["https://crates.io/api/v1/crates/pest_meta/2.7.5/download"], - visibility = [], -) - -cargo.rust_library( - name = "pest_meta-2.7.5", - srcs = [":pest_meta-2.7.5.crate"], - crate = "pest_meta", - crate_root = "pest_meta-2.7.5.crate/src/lib.rs", - edition = "2021", - features = ["default"], - visibility = [], - deps = [ - ":once_cell-1.18.0", - ":pest-2.7.5", - ], -) - http_archive( name = "pin-project-1.1.3.crate", sha256 = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422", @@ -2433,106 +2183,6 @@ cargo.rust_library( visibility = [], ) -http_archive( - name = "rustix-0.38.21.crate", - sha256 = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3", - strip_prefix = "rustix-0.38.21", - urls = ["https://crates.io/api/v1/crates/rustix/0.38.21/download"], - visibility = [], -) - -cargo.rust_library( - name = "rustix-0.38.21", - srcs = [":rustix-0.38.21.crate"], - crate = "rustix", - crate_root = "rustix-0.38.21.crate/src/lib.rs", - edition = "2021", - features = [ - "alloc", - "default", - "fs", - "std", - "use-libc-auxv", - ], - platform = { - "linux-arm64": dict( - named_deps = { - "libc_errno": ":errno-0.3.5", - }, - deps = [ - ":libc-0.2.149", - ":linux-raw-sys-0.4.10", - ], - ), - "linux-x86_64": dict( - named_deps = { - "libc_errno": ":errno-0.3.5", - }, - deps = [ - ":libc-0.2.149", - ":linux-raw-sys-0.4.10", - ], - ), - "macos-arm64": dict( - named_deps = { - "libc_errno": ":errno-0.3.5", - }, - deps = [":libc-0.2.149"], - ), - "macos-x86_64": dict( - named_deps = { - "libc_errno": ":errno-0.3.5", - }, - deps = [":libc-0.2.149"], - ), - "windows-gnu": dict( - named_deps = { - "libc_errno": ":errno-0.3.5", - }, - deps = [":windows-sys-0.48.0"], - ), - "windows-msvc": dict( - named_deps = { - "libc_errno": ":errno-0.3.5", - }, - deps = [":windows-sys-0.48.0"], - ), - }, - rustc_flags = ["@$(location :rustix-0.38.21-build-script-run[rustc_flags])"], - visibility = [], - deps = [":bitflags-2.4.1"], -) - -cargo.rust_binary( - name = "rustix-0.38.21-build-script-build", - srcs = [":rustix-0.38.21.crate"], - crate = "build_script_build", - crate_root = "rustix-0.38.21.crate/build.rs", - edition = "2021", - features = [ - "alloc", - "default", - "fs", - "std", - "use-libc-auxv", - ], - visibility = [], -) - -buildscript_run( - name = "rustix-0.38.21-build-script-run", - package_name = "rustix", - buildscript_rule = ":rustix-0.38.21-build-script-build", - features = [ - "alloc", - "default", - "fs", - "std", - "use-libc-auxv", - ], - version = "0.38.21", -) - http_archive( name = "rustversion-1.0.14.crate", sha256 = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4", @@ -3057,47 +2707,6 @@ cargo.rust_library( visibility = [], ) -http_archive( - name = "tempfile-3.8.1.crate", - sha256 = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5", - strip_prefix = "tempfile-3.8.1", - urls = ["https://crates.io/api/v1/crates/tempfile/3.8.1/download"], - visibility = [], -) - -cargo.rust_library( - name = "tempfile-3.8.1", - srcs = [":tempfile-3.8.1.crate"], - crate = "tempfile", - crate_root = "tempfile-3.8.1.crate/src/lib.rs", - edition = "2018", - platform = { - "linux-arm64": dict( - deps = [":rustix-0.38.21"], - ), - "linux-x86_64": dict( - deps = [":rustix-0.38.21"], - ), - "macos-arm64": dict( - deps = [":rustix-0.38.21"], - ), - "macos-x86_64": dict( - deps = [":rustix-0.38.21"], - ), - "windows-gnu": dict( - deps = [":windows-sys-0.48.0"], - ), - "windows-msvc": dict( - deps = [":windows-sys-0.48.0"], - ), - }, - visibility = [], - deps = [ - ":cfg-if-1.0.0", - ":fastrand-2.0.1", - ], -) - cargo.rust_binary( name = "third-party-0.0.0-top", srcs = ["top/main.rs"], @@ -3110,6 +2719,7 @@ cargo.rust_binary( ":async-graphql-axum-6.0.9", ":axum-0.6.20", ":tokio-1.33.0", + ":version_check-0.9.4", ], ) @@ -3769,6 +3379,12 @@ cargo.rust_library( visibility = [], ) +alias( + name = "version_check", + actual = ":version_check-0.9.4", + visibility = ["PUBLIC"], +) + http_archive( name = "version_check-0.9.4.crate", sha256 = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f", @@ -3925,8 +3541,6 @@ cargo.rust_library( features = [ "Win32", "Win32_Foundation", - "Win32_NetworkManagement", - "Win32_NetworkManagement_IpHelper", "Win32_Networking", "Win32_Networking_WinSock", "Win32_Security", @@ -3934,8 +3548,6 @@ cargo.rust_library( "Win32_Storage_FileSystem", "Win32_System", "Win32_System_Console", - "Win32_System_Diagnostics", - "Win32_System_Diagnostics_Debug", "Win32_System_IO", "Win32_System_Pipes", "Win32_System_SystemServices", diff --git a/third-party/rust/Cargo.lock b/third-party/rust/Cargo.lock index b7b507f974..caa0982e5c 100644 --- a/third-party/rust/Cargo.lock +++ b/third-party/rust/Cargo.lock @@ -36,12 +36,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "ascii_utils" -version = "0.9.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "71938f30533e4d95a6d17aa530939da3842c2ab6f4f84b9dae68447e4129f74a" - [[package]] name = "async-graphql" version = "6.0.9" @@ -55,10 +49,8 @@ dependencies = [ "async-trait", "base64 0.13.1", "bytes", - "fast_chemail", "fnv", "futures-util", - "handlebars", "http", "indexmap", "mime", @@ -71,7 +63,6 @@ dependencies = [ "serde_json", "serde_urlencoded", "static_assertions", - "tempfile", "thiserror", ] @@ -182,7 +173,7 @@ dependencies = [ "async-trait", "axum-core", "base64 0.21.5", - "bitflags 1.3.2", + "bitflags", "bytes", "futures-util", "headers", @@ -259,12 +250,6 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" -[[package]] -name = "bitflags" -version = "2.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" - [[package]] name = "block-buffer" version = "0.10.4" @@ -389,31 +374,6 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" -[[package]] -name = "errno" -version = "0.3.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860" -dependencies = [ - "libc", - "windows-sys", -] - -[[package]] -name = "fast_chemail" -version = "0.9.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "495a39d30d624c2caabe6312bfead73e7717692b44e0b32df168c275a2e8e9e4" -dependencies = [ - "ascii_utils", -] - -[[package]] -name = "fastrand" -version = "2.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" - [[package]] name = "fnv" version = "1.0.7" @@ -517,20 +477,6 @@ version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" -[[package]] -name = "handlebars" -version = "4.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c39b3bc2a8f715298032cf5087e58573809374b08160aa7d750582bdb82d2683" -dependencies = [ - "log", - "pest", - "pest_derive", - "serde", - "serde_json", - "thiserror", -] - [[package]] name = "hashbrown" version = "0.14.2" @@ -675,12 +621,6 @@ version = "0.2.149" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b" -[[package]] -name = "linux-raw-sys" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f" - [[package]] name = "lock_api" version = "0.4.11" @@ -827,40 +767,6 @@ dependencies = [ "ucd-trie", ] -[[package]] -name = "pest_derive" -version = "2.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81d78524685f5ef2a3b3bd1cafbc9fcabb036253d9b1463e726a91cd16e2dfc2" -dependencies = [ - "pest", - "pest_generator", -] - -[[package]] -name = "pest_generator" -version = "2.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68bd1206e71118b5356dae5ddc61c8b11e28b09ef6a31acbd15ea48a28e0c227" -dependencies = [ - "pest", - "pest_meta", - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "pest_meta" -version = "2.7.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c747191d4ad9e4a4ab9c8798f1e82a39affe7ef9648390b7e5548d18e099de6" -dependencies = [ - "once_cell", - "pest", - "sha2", -] - [[package]] name = "pin-project" version = "1.1.3" @@ -963,7 +869,7 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ - "bitflags 1.3.2", + "bitflags", ] [[package]] @@ -1001,19 +907,6 @@ version = "0.1.23" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" -[[package]] -name = "rustix" -version = "0.38.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b426b0506e5d50a7d8dafcf2e81471400deb602392c7dd110815afb4eaf02a3" -dependencies = [ - "bitflags 2.4.1", - "errno", - "libc", - "linux-raw-sys", - "windows-sys", -] - [[package]] name = "rustversion" version = "1.0.14" @@ -1096,17 +989,6 @@ dependencies = [ "digest", ] -[[package]] -name = "sha2" -version = "0.10.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - [[package]] name = "signal-hook-registry" version = "1.4.1" @@ -1208,19 +1090,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" -[[package]] -name = "tempfile" -version = "3.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ef1adac450ad7f4b3c28589471ade84f25f731a7a0fe30d71dfa9f60fd808e5" -dependencies = [ - "cfg-if", - "fastrand", - "redox_syscall", - "rustix", - "windows-sys", -] - [[package]] name = "third-party" version = "0.0.0" @@ -1229,6 +1098,7 @@ dependencies = [ "async-graphql-axum", "axum", "tokio", + "version_check", ] [[package]] diff --git a/third-party/rust/Cargo.toml b/third-party/rust/Cargo.toml index 077c377f76..6b3e5fdea6 100644 --- a/third-party/rust/Cargo.toml +++ b/third-party/rust/Cargo.toml @@ -19,7 +19,9 @@ path = "top/main.rs" # List of packages to be imported, with version constraints, features and all # options Cargo supports. [dependencies] -async-graphql = "6.0.9" +async-graphql = { version = "6.0.9", default-features = false, features = ["playground"] } async-graphql-axum = "6.0.9" axum = "0.6.20" tokio = { version = "1.33.0", features = ["full"] } + +version_check = "0.9.4" # for some reason reindeer didn't auto-add this