blob: 87ff5c3865ca23c57c15b9b53fc85f8eb4d729b5 [file] [log] [blame]
load("@rules_rust//rust:defs.bzl", "rust_doc", "rust_doc_test", "rust_library", "rust_test")
rust_library(
name = "fibonacci",
srcs = ["src/lib.rs"],
)
rust_test(
name = "fibonacci_test",
crate = ":fibonacci",
)
rust_doc(
name = "fibonacci_doc",
crate = ":fibonacci",
)
rust_doc_test(
name = "fibonacci_doc_test",
crate = ":fibonacci",
)