refactor: split up bin and lib

This commit is contained in:
Fabian Freyer
2019-03-29 09:48:31 -04:00
parent 6bdfd1118a
commit e63ad944d7
3 changed files with 39 additions and 25 deletions
+8
View File
@@ -21,3 +21,11 @@ futures = "0.1.25"
[patch.crates-io]
tokio-pty-process = {path = "vendor/stund/tokio-pty-process"}
[lib]
name = "webterm"
path = "src/lib.rs"
[[bin]]
name = "webterm-server"
path = "src/server.rs"