File: TARGETS

package info (click to toggle)
rust-sapling-renderdag 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: makefile: 2
file content (33 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
load("@fbcode_macros//build_defs:rust_library.bzl", "rust_library")

oncall("sapling")

rust_library(
    name = "renderdag",
    srcs = glob(["src/**/*.rs"]),
    autocargo = {"cargo_toml_config": {
        "extra_buck_dependencies": {"dependencies": ["fbsource//third-party/rust:serde"]},
        "features": {
            "default": [],
            "serialize": ["serde"],
        },
        "lib": {"name": "renderdag"},
        "package": {
            "authors": ["Meta Source Control Team <sourcecontrol-dev@meta.com>"],
            "description": "Render a DAG into ASCII or Unicode text.",
            "homepage": "https://sapling-scm.com/",
            "license": "MIT",
            "name": "sapling-renderdag",
            "repository": "https://github.com/facebook/sapling",
        },
    }},
    crate_root = "src/lib.rs",
    features = [],
    test_deps = [
        "fbsource//third-party/rust:unicode-width",
        "//eden/scm/lib/drawdag:drawdag",
    ],
    deps = [
        "fbsource//third-party/rust:bitflags",
    ],
)