diff --git a/Cargo.toml b/Cargo.toml index 6e66641..5dd1808 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,21 @@ version = "0.1.0" authors = ["Jef Roosens "] edition = "2018" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[lib] +name = "libhilde" +path = "src/libhilde/lib.rs" +test = true +bench = true +doc = true +doctest = true + +[[bin]] +name = "hilde" +path = "src/hilde/main.rs" +test = true +bench = true +doc = true +doctest = true [dependencies] rocket = "0.5.0-rc.1" diff --git a/src/main.rs b/src/hilde/main.rs similarity index 100% rename from src/main.rs rename to src/hilde/main.rs diff --git a/src/libhilde/lib.rs b/src/libhilde/lib.rs new file mode 100644 index 0000000..e69de29