Feature/version in config (#376)

* Added version field to config files

* Removed built dependency

* Missing non-removed call to built
This commit is contained in:
Jędrzej Stuczyński
2020-10-12 16:35:26 +01:00
committed by GitHub
parent c3a812b3cb
commit 1e35eeefaa
44 changed files with 42 additions and 337 deletions
+1 -2
View File
@@ -12,7 +12,6 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use crate::built_info;
use directory_client::presence::mixnodes::MixNodePresence;
use directory_client::DirectoryClient;
use log::{error, trace};
@@ -66,7 +65,7 @@ impl Notifier {
pub_key: config.pub_key_string,
layer: config.layer,
last_seen: 0,
version: built_info::PKG_VERSION.to_string(),
version: env!("CARGO_PKG_VERSION").to_string(),
};
Notifier {
net_client,