load("@io_bazel_rules_go//go:def.bzl", "go_library")

go_library(
    name = "bsonrw",
    srcs = [
        "copier.go",
        "doc.go",
        "extjson_parser.go",
        "extjson_reader.go",
        "extjson_tables.go",
        "extjson_wrappers.go",
        "extjson_writer.go",
        "json_scanner.go",
        "mode.go",
        "reader.go",
        "value_reader.go",
        "value_writer.go",
        "writer.go",
    ],
    importmap = "peridot.resf.org/vendor/go.mongodb.org/mongo-driver/bson/bsonrw",
    importpath = "go.mongodb.org/mongo-driver/bson/bsonrw",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/go.mongodb.org/mongo-driver/bson/bsontype",
        "//vendor/go.mongodb.org/mongo-driver/bson/primitive",
        "//vendor/go.mongodb.org/mongo-driver/x/bsonx/bsoncore",
    ],
)