Skip to content

Commit

Permalink
update version to v0.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
heqingpan committed Apr 7, 2024
1 parent f201ca8 commit 65e28dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[package]
name = "rnacos"
version = "0.5.3"
version = "0.5.4"
authors = ["heqingpan <heqingpan@126.com>"]
edition = "2018"
license = "MIT/Apache-2.0"
license = "Apache-2.0"
description = "Nacos server re-implemented in Rust."
homepage = "https://github.com/heqingpan/rnacos"
repository = "https://github.com/heqingpan/rnacos"
Expand Down
2 changes: 1 addition & 1 deletion src/common/constant.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::sync::Arc;

pub const APP_VERSION: &str = "0.5.3";
pub const APP_VERSION: &str = "0.5.4";

pub const EMPTY_STR: &str = "";

Expand Down
3 changes: 2 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ use tonic::transport::Server;
use actix_web::{middleware, HttpServer};
use clap::Parser;
use rnacos::common::appdata::AppShareData;
use rnacos::common::constant::APP_VERSION;
use rnacos::raft::NacosRaft;
use rnacos::web_config::{app_config, app_without_no_auth_console_config, console_config};

Expand All @@ -46,7 +47,7 @@ pub struct AppOpt {
async fn main() -> Result<(), Box<dyn Error>> {
init_env();
let rust_log = std::env::var("RUST_LOG").unwrap_or("info".to_owned());
println!("RUST_LOG:{}", &rust_log);
println!("version:{}, RUST_LOG:{}", APP_VERSION, &rust_log);
std::env::set_var("RUST_LOG", &rust_log);
env_logger::builder().format_timestamp_micros().init();
let sys_config = Arc::new(AppSysConfig::init_from_env());
Expand Down

0 comments on commit 65e28dc

Please sign in to comment.