Skip to content

Commit 0975c2d

Browse files
authored
Enable doc-tests (#56)
* Project is now a library with main-like function to enable doc testing * fixed not working doc-tests * fmt
1 parent 7a25186 commit 0975c2d

File tree

4 files changed

+605
-575
lines changed

4 files changed

+605
-575
lines changed

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ authors = ["Mieszko Grodzicki", "Aleksander Tudruj"]
1313
name = "jp2gmd"
1414
path = "src/main.rs"
1515

16+
[lib]
17+
name = "jp2gmd_lib"
18+
path = "src/lib.rs"
19+
doctest = true
20+
1621
[features]
1722
fft = []
1823
clock = []

0 commit comments

Comments
 (0)