mirror of
https://codeberg.org/demostf/frontend.git
synced 2026-06-03 10:14:13 +02:00
parent
b3f0f8ff54
commit
f6bab626ec
6 changed files with 25 additions and 24 deletions
34
flake.lock
generated
34
flake.lock
generated
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"crane": {
|
"crane": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739936662,
|
"lastModified": 1774313767,
|
||||||
"narHash": "sha256-x4syUjNUuRblR07nDPeLDP7DpphaBVbUaSoeZkFbGSk=",
|
"narHash": "sha256-hy0XTQND6avzGEUFrJtYBBpFa/POiiaGBr2vpU6Y9tY=",
|
||||||
"owner": "ipetkov",
|
"owner": "ipetkov",
|
||||||
"repo": "crane",
|
"repo": "crane",
|
||||||
"rev": "19de14aaeb869287647d9461cbd389187d8ecdb7",
|
"rev": "3d9df76e29656c679c744968b17fbaf28f0e923d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -22,11 +22,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742215471,
|
"lastModified": 1774271954,
|
||||||
"narHash": "sha256-I/7CY1gd5R4b3rBlhcJyjCYcP+v/164g83uOT9HTfj0=",
|
"narHash": "sha256-FbvMOykx7f7uEPdRVzUSABnLjqCdEp22wa0nDkuEd3s=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "flakelight",
|
"repo": "flakelight",
|
||||||
"rev": "e40a1a8c6d18c761659ed88d7536310a7e604f7f",
|
"rev": "c90878b309508083094f465d6aa11b3963f48b9f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
@ -44,11 +44,11 @@
|
||||||
"rust-overlay": "rust-overlay"
|
"rust-overlay": "rust-overlay"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747928985,
|
"lastModified": 1774538603,
|
||||||
"narHash": "sha256-OGJvoEbcclL566m9PCq+SdOQ9vJzLfVCOkww9L/uZT8=",
|
"narHash": "sha256-IG0fOFNUjselW61zc/jOZU3abmt7FjcRdES9SXeHun4=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "742b8596357b53bf437d504a87455f46edba8be2",
|
"rev": "0ef9ce3384617243e1b9e94a7057f879f621f014",
|
||||||
"revCount": 46,
|
"revCount": 69,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://codeberg.org/icewind/mill-scale.git"
|
"url": "https://codeberg.org/icewind/mill-scale.git"
|
||||||
},
|
},
|
||||||
|
|
@ -59,16 +59,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742136038,
|
"lastModified": 1774388614,
|
||||||
"narHash": "sha256-DDe16FJk18sadknQKKG/9FbwEro7A57tg9vB5kxZ8kY=",
|
"narHash": "sha256-tFwzTI0DdDzovdE9+Ras6CUss0yn8P9XV4Ja6RjA+nU=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a1185f4064c18a5db37c5c84e5638c78b46e3341",
|
"rev": "1073dad219cb244572b74da2b20c7fe39cb3fa9e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"id": "nixpkgs",
|
"id": "nixpkgs",
|
||||||
"ref": "nixos-24.11",
|
"ref": "nixos-25.11",
|
||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -88,11 +88,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1740277845,
|
"lastModified": 1774535687,
|
||||||
"narHash": "sha256-NNU0CdiaSbAeZ8tpDG4aFi9qtcdlItRvk8Xns9oBrVU=",
|
"narHash": "sha256-dpKS/8+uB0EoI4mCrpio+xs8Xxry6ZhLLwV8VIbbfrs=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "f933070c29f9c1c5457447a51903f27f76ebb519",
|
"rev": "75900435aa883f84b038316864b3f60956681523",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "nixpkgs/nixos-24.11";
|
nixpkgs.url = "nixpkgs/nixos-25.11";
|
||||||
flakelight = {
|
flakelight = {
|
||||||
url = "github:nix-community/flakelight";
|
url = "github:nix-community/flakelight";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
[toolchain]
|
[toolchain]
|
||||||
channel = "nightly-2024-11-18"
|
channel = "nightly-2026-03-18"
|
||||||
components = [ "rustfmt", "rust-std", "clippy", "rust-src" ]
|
components = ["rustfmt", "rust-std", "clippy", "rust-src"]
|
||||||
targets = [ "riscv32imc-unknown-none-elf" ]
|
targets = ["riscv32imc-unknown-none-elf"]
|
||||||
|
|
@ -61,6 +61,7 @@ impl Iden for CleanMapName {
|
||||||
|
|
||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
#[iden = "ARRAY"]
|
#[iden = "ARRAY"]
|
||||||
|
#[allow(dead_code)]
|
||||||
pub struct ArrayFunc;
|
pub struct ArrayFunc;
|
||||||
|
|
||||||
#[derive(Iden)]
|
#[derive(Iden)]
|
||||||
|
|
|
||||||
|
|
@ -142,11 +142,11 @@ impl Render for UploadsLink<'_> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl SteamId {
|
impl SteamId {
|
||||||
pub fn uploads_link(&self) -> UploadsLink {
|
pub fn uploads_link<'a>(&'a self) -> UploadsLink<'a> {
|
||||||
UploadsLink(self)
|
UploadsLink(self)
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn profile_link(&self) -> ProfileLink {
|
pub fn profile_link<'a>(&'a self) -> ProfileLink<'a> {
|
||||||
ProfileLink(self)
|
ProfileLink(self)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ pub struct AboutPage {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl AboutPage {
|
impl AboutPage {
|
||||||
pub fn plugin_section(&self) -> PluginSection {
|
pub fn plugin_section<'a>(&'a self) -> PluginSection<'a> {
|
||||||
PluginSection {
|
PluginSection {
|
||||||
key: self.key.as_ref(),
|
key: self.key.as_ref(),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue