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::gateways::GatewayPresence;
use directory_client::DirectoryClient;
use log::{error, trace};
@@ -87,7 +86,7 @@ impl Notifier {
identity_key: self.identity.clone(),
sphinx_key: self.sphinx_key.clone(),
last_seen: 0,
version: built_info::PKG_VERSION.to_string(),
version: env!("CARGO_PKG_VERSION").to_string(),
}
}