project: split project into library and executable
This commit is contained in:
parent
1a3d0ca2a7
commit
ea9120fab3
|
@ -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
|
# 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]
|
[dependencies]
|
||||||
bvh = "0.3.2"
|
bvh = "0.3.2"
|
||||||
|
|
0
src/lib.rs
Normal file
0
src/lib.rs
Normal file
Loading…
Reference in a new issue