version 1.0
This commit is contained in:
parent
12f0be331b
commit
1022e1797b
|
@ -808,7 +808,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||
|
||||
[[package]]
|
||||
name = "hagrid"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
dependencies = [
|
||||
"anyhow 1.0.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"base64 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "hagrid"
|
||||
version = "0.1.0"
|
||||
version = "1.0.0"
|
||||
authors = ["Vincent Breitmoser <look@my.amazin.horse>", "Kai Michaelis <kai@sequoia-pgp.org>"]
|
||||
build = "build.rs"
|
||||
default-run = "hagrid"
|
||||
|
|
|
@ -148,7 +148,7 @@ impl MyResponse {
|
|||
eprintln!("Internal error: {:?}", e);
|
||||
let ctx = templates::FiveHundred {
|
||||
internal_error: e.to_string(),
|
||||
version: env!("VERGEN_SEMVER").to_string(),
|
||||
version: env!("CARGO_PKG_VERSION").to_string(),
|
||||
commit: env!("VERGEN_SHA_SHORT").to_string(),
|
||||
lang: "en".to_string(),
|
||||
};
|
||||
|
@ -219,7 +219,7 @@ mod templates {
|
|||
let is_rtl = (i18n.lang) == "ar";
|
||||
Self {
|
||||
error: None,
|
||||
version: env!("VERGEN_SEMVER").to_string(),
|
||||
version: env!("CARGO_PKG_VERSION").to_string(),
|
||||
commit: env!("VERGEN_SHA_SHORT").to_string(),
|
||||
base_uri: origin.get_base_uri().to_string(),
|
||||
page: page,
|
||||
|
|
Loading…
Reference in New Issue