1load("//build:defs.bzl", "first_party_library") 2 3first_party_library( 4 name = "postjevsql-pg", 5 srcs = glob(["src/**/*.rs"]), 6 crate_root = "src/lib.rs", 7 # ffi.rs and plan.rs differ between PG17 and PG18. 8 pg_major = True, 9 deps = [ 10 "//third-party:async-trait", 11 "//third-party:jev-client", 12 "//crates/postjevsql-core:postjevsql-core", 13 "//third-party:bytes", 14 "//third-party:futures-io", 15 "//third-party:futures-rustls", 16 "//third-party:h2", 17 "//third-party:hickory-resolver", 18 "//third-party:http", 19 "//third-party:http-body-util", 20 "//third-party:hyper", 21 "//third-party:libc", 22 "//third-party:pgrx", 23 "//third-party:rustls", 24 "//third-party:serde_json", 25 "//third-party:socket2", 26 "//third-party:webpki-roots", 27 ], 28 visibility = ["PUBLIC"], 29)