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

go_library(
    name = "bson",
    srcs = [
        "bson.go",
        "bson_1_8.go",
        "decoder.go",
        "doc.go",
        "encoder.go",
        "marshal.go",
        "primitive_codecs.go",
        "raw.go",
        "raw_element.go",
        "raw_value.go",
        "registry.go",
        "types.go",
        "unmarshal.go",
    ],
    importmap = "peridot.resf.org/vendor/go.mongodb.org/mongo-driver/bson",
    importpath = "go.mongodb.org/mongo-driver/bson",
    visibility = ["//visibility:public"],
    deps = [
        "//vendor/go.mongodb.org/mongo-driver/bson/bsoncodec",
        "//vendor/go.mongodb.org/mongo-driver/bson/bsonrw",
        "//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",
    ],
)