Skip to content

Commit

Permalink
Show version on start, bumped crate version
Browse files Browse the repository at this point in the history
  • Loading branch information
Yzen90 committed Dec 10, 2024
1 parent 3be3598 commit d5f7912
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dynaflare"
version = "1.0.1"
version = "1.0.2"
edition = "2021"
license = "GPL-3.0-only"
authors = ["Edgar Montiel Cruz <[email protected]>"]
Expand Down
1 change: 1 addition & 0 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ pub const AUTHORIZATION_HEADER: &str = "Authorization";
pub const CONTENT_TYPE_HEADER: &str = "Content-Type";
pub const JSON_MIME: &str = "application/json";
pub const DEFAULT_TTL: u16 = 60;
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
2 changes: 2 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ fn main() -> Result<()> {
let configuration = configuration::load()?;
utils::logging::initialize(&configuration)?;

info!("DynaFlare v{}", VERSION);

if configuration.records.is_empty() {
warn!("No records provided, nothing to do!");
} else {
Expand Down

0 comments on commit d5f7912

Please sign in to comment.