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.
# It is not intended for manual editing.
version = 3
[[package]]
name = "adler32"
version = "1.2.0"
@ -731,7 +733,7 @@ checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857"
[[package]]
name = "printerfacts"
version = "0.3.0"
version = "0.3.1"
dependencies = [
"anyhow",
"hyper",
@ -739,7 +741,7 @@ dependencies = [
"mime",
"pfacts",
"prometheus",
"rand 0.8.3",
"rand 0.7.3",
"ructe",
"serde",
"tokio",

View File

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

View File

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

View File

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