mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 01:55:40 +00:00
chore: bump sqlx to 0.7
This commit is contained in:
3
build.rs
3
build.rs
@@ -16,6 +16,7 @@ fn main() {
|
||||
let git_hash = String::from_utf8(output.stdout).unwrap();
|
||||
println!("cargo:rustc-env=GIT_HASH={}", git_hash);
|
||||
|
||||
let now = OffsetDateTime::now_utc().format("%y-%m-%d");
|
||||
let now = OffsetDateTime::now_utc();
|
||||
let now = format!("{}{}{}", now.year(), now.month(), now.date());
|
||||
println!("cargo:rustc-env=COMPILED_DATE={}", &now);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user