commit | 77afa017ce625449435f43481e2839957a409beb | [log] [tgz] |
---|---|---|
author | Jorge C. Leitao <jorgecarleitao@gmail.com> | Sun Aug 08 14:51:15 2021 +0000 |
committer | Jens Geyer <Jens-G@users.noreply.github.com> | Sun Aug 22 18:46:08 2021 +0200 |
tree | 04217625e3adeca4f9f2793a6ecd0da4f9aae70f | |
parent | db7ad5b1a127ab99b45ef076d07ac6c28d0cb84c [diff] [blame] |
Made server optional.
diff --git a/lib/rs/Cargo.toml b/lib/rs/Cargo.toml index 610e781..a32d671 100644 --- a/lib/rs/Cargo.toml +++ b/lib/rs/Cargo.toml
@@ -15,6 +15,10 @@ [dependencies] byteorder = "1.3" integer-encoding = "3.0" -log = "0.4" +log = {version = "0.4", optional = true} ordered-float = "1.0" -threadpool = "1.7" +threadpool = {version = "1.7", optional = true} + +[features] +default = ["server"] +server = ["threadpool", "log"]