From aed79f467b7aac480e72cb815c1845aaec5706ba Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 1 Oct 2022 14:02:20 +0200 Subject: [PATCH] Declare lib and bin in Cargo.toml --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index de3ece2..98b025f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,3 +15,11 @@ cargo = "1.64" tectonic = "0.5.2" pulldown-cmark = "0.5.3" clap = { version = "4.0.7", features = ["cargo"] } + +[lib] +name = "md2pdf" +path = "src/lib.rs" + +[[bin]] +name = "md2pdf" +path = "src/main.rs"