diff --git a/Cargo.toml b/Cargo.toml index 6c752af..fbfe478 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,5 +10,13 @@ description = "A pathtracer written in Rust" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +name = "pathtracer" +path = "src/lib.rs" + +[[bin]] +name = "pathtracer" +path = "src/main.rs" + [dependencies] bvh = "0.3.2" diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..e69de29