Set version to 0.1.1-dev and print version on startup
This commit is contained in:
parent
bf31ab7209
commit
ef897bc80f
3 changed files with 4 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "app"
|
||||
version = "0.1.0"
|
||||
version = "0.1.1-dev"
|
||||
edition = "2021"
|
||||
resolver = "2"
|
||||
|
||||
|
|
|
|||
|
|
@ -211,6 +211,8 @@ async fn create_dev_admin_user(pool: Arc<SqlitePool>) {
|
|||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let version = env!("CARGO_PKG_VERSION");
|
||||
println!("Shifty backend version: {}", version);
|
||||
dotenvy::dotenv().ok();
|
||||
let pool = Arc::new(
|
||||
SqlitePool::connect("sqlite:./localdb.sqlite3")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue