From 0922d4a87afb0ea547e87a9416de9aa61fb5c8cb Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Tue, 10 Sep 2019 09:34:25 +0000 Subject: [PATCH] tests: Allow the building of doctests Also allows for standalone tests and examples to be built and run with Cargo. --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fc5d8894..b6497064 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,4 +8,4 @@ bitflags = "1.1" [lib] name = "rs" path = "src/lib.rs" -crate-type = ["staticlib"] +crate-type = ["staticlib", "rlib"]