bump to 0.3.1, fix portable service

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-04-22 00:31:04 +00:00
parent a367222014
commit 8db9f00549
4 changed files with 42 additions and 22 deletions

6
Cargo.lock generated
View File

@ -1,5 +1,7 @@
# This file is automatically @generated by Cargo. # This file is automatically @generated by Cargo.
# It is not intended for manual editing. # It is not intended for manual editing.
version = 3
[[package]] [[package]]
name = "adler32" name = "adler32"
version = "1.2.0" version = "1.2.0"
@ -731,7 +733,7 @@ checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
[[package]] [[package]]
name = "printerfacts" name = "printerfacts"
version = "0.3.0" version = "0.3.1"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"hyper", "hyper",
@ -739,7 +741,7 @@ dependencies = [
"mime", "mime",
"pfacts", "pfacts",
"prometheus", "prometheus",
"rand 0.8.3", "rand 0.7.3",
"ructe", "ructe",
"serde", "serde",
"tokio", "tokio",

View File

@ -1,7 +1,7 @@
[package] [package]
name = "printerfacts" name = "printerfacts"
version = "0.3.0" version = "0.3.1"
authors = ["Christine Dodrill <me@christine.website>"] authors = ["Xe Iaso <me@christine.website>"]
edition = "2018" edition = "2018"
build = "build.rs" build = "build.rs"
description = "Printer facts: The API" description = "Printer facts: The API"

View File

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1644229661, "lastModified": 1649676176,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", "narHash": "sha256-OWKJratjt2RW151VUlJPRALb7OU2S5s+f0vLj4o1bHM=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", "rev": "a4b154ebbdc88c8498a5c7b01589addc9e9cb678",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -20,11 +20,11 @@
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
}, },
"locked": { "locked": {
"lastModified": 1639947939, "lastModified": 1650265945,
"narHash": "sha256-pGsM8haJadVP80GFq4xhnSpNitYNQpaXk4cnA796Cso=", "narHash": "sha256-SO8+1db4jTOjnwP++29vVgImLIfETSXyoz0FuLkiikE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "naersk", "repo": "naersk",
"rev": "2fc8ce9d3c025d59fee349c1f80be9785049d653", "rev": "e8f9f8d037774becd82fce2781e1abdb7836d7df",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -35,11 +35,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1645866791, "lastModified": 1650555608,
"narHash": "sha256-okyN8nAb0gFfF2rjjJnMiIuOM+nZXxZ9Wc2PyoYYKWo=", "narHash": "sha256-e34oMPWPwRWhF1K6NZnF0mNle7qDADJzjWujp8UupGo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "607178a179d6943cb64970882511c24b2a983c2b", "rev": "c11ee1c598b15a24d18f142f85ee3d438afc39e6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -49,11 +49,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1645866791, "lastModified": 1650555608,
"narHash": "sha256-okyN8nAb0gFfF2rjjJnMiIuOM+nZXxZ9Wc2PyoYYKWo=", "narHash": "sha256-e34oMPWPwRWhF1K6NZnF0mNle7qDADJzjWujp8UupGo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "607178a179d6943cb64970882511c24b2a983c2b", "rev": "c11ee1c598b15a24d18f142f85ee3d438afc39e6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -62,6 +62,21 @@
} }
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": {
"lastModified": 1650161686,
"narHash": "sha256-70ZWAlOQ9nAZ08OU6WY7n4Ij2kOO199dLfNlvO/+pf8=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1ffba9f2f683063c2b14c9f4d12c55ad5f4ed887",
"type": "github"
},
"original": {
"id": "nixpkgs",
"ref": "nixos-unstable",
"type": "indirect"
}
},
"nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1640319671, "lastModified": 1640319671,
"narHash": "sha256-ZkKmakwaOaLiZOpIZWbeJZwap5CzJ30s4UJTfydYIYc=", "narHash": "sha256-ZkKmakwaOaLiZOpIZWbeJZwap5CzJ30s4UJTfydYIYc=",
@ -78,12 +93,15 @@
} }
}, },
"portable-svc": { "portable-svc": {
"inputs": {
"nixpkgs": "nixpkgs_3"
},
"locked": { "locked": {
"lastModified": 1645960986, "lastModified": 1650586426,
"narHash": "sha256-XuapDz2dkUAgKaj3L2EUgzXApn6IXGtQVg/TEfhr0w8=", "narHash": "sha256-n/Q2IzITm8s5sej3l3D0rxJcd7vx4P7KF4hOkN9pOOg=",
"ref": "main", "ref": "main",
"rev": "138c25c1c3ee4f7945059e05259d3fe03678e843", "rev": "eb4b2c4754e5cd4a976a2941c27194526e8781de",
"revCount": 5, "revCount": 6,
"type": "git", "type": "git",
"url": "https://tulpa.dev/cadey/portable-svc.git" "url": "https://tulpa.dev/cadey/portable-svc.git"
}, },
@ -119,7 +137,7 @@
}, },
"xess": { "xess": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_4",
"utils": "utils" "utils": "utils"
}, },
"locked": { "locked": {

View File

@ -5,7 +5,7 @@ Description=The Printerfacts service
DynamicUser=yes DynamicUser=yes
Environment=PORT=32042 Environment=PORT=32042
Environment=RUST_LOG=info Environment=RUST_LOG=info
WorkingDir=@printerfacts@ WorkingDirectory=@printerfacts@
ExecStart=@printerfacts@/bin/printerfacts ExecStart=@printerfacts@/bin/printerfacts
[Install] [Install]