Declare lib and bin in Cargo.toml

This commit is contained in:
William Desportes 2022-10-01 14:02:20 +02:00
parent 9c1a0dae88
commit aed79f467b
Signed by: williamdes
GPG Key ID: 90A0EF1B8251A889
1 changed files with 8 additions and 0 deletions

View File

@ -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"