flake: update flake.lock (#79)

Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
GitHub Action.

```
Flake lock file updates:

• Updated input 'advisory-db':
    'github:rustsec/advisory-db/b02b7ca7c98eee7fe26ac18277040c3fc814b52d?narHash=sha256-F4iNNs84rdqN2ZDCKtZrE/PUIfUe6YSZM/O2sckeQr4%3D' (2024-12-23)
  → 'github:rustsec/advisory-db/3c6d3186ab06737d1defd2b5ae556d0ecd161603?narHash=sha256-Bcf7iBwrfjYPO7roKCz%2B3yPAFqgNqfKCp51sLKETjxU%3D' (2024-12-28)
• Updated input 'fenix':
    'github:nix-community/fenix/30616281e9bfe0883acb3369f2b89aad6850706f?narHash=sha256-yl/iko/0pvRN3PF6Z4FjQeb6AuGiavMENEisQWJ78h0%3D' (2024-12-23)
  → 'github:nix-community/fenix/92bb57bf88e4b8e6b4fe4e79fbfff2fc3f04df88?narHash=sha256-XbIfjxEOM6JmLCILozlFEUrfCpXvQNo9l%2BVAU7FCahI%3D' (2024-12-30)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/93ff48c9be84a76319dac293733df09bbbe3f25c?narHash=sha256-Q%2BCB1ajsJg4Z9HGHTBAGY1q18KpnnkmF/eCTLUY6FQ0%3D' (2024-12-22)
  → 'github:NixOS/nixpkgs/6d97d419e5a9b36e6293887a89a078cf85f5a61b?narHash=sha256-opBsbR/nrGxiiF6XzlVluiHYb6yN/hEwv%2BlBWTy9xoM%3D' (2024-12-30)
```

### Running GitHub Actions on this PR

GitHub Actions will not run workflows on pull requests which are opened
by a GitHub Action.

To run GitHub Actions workflows on this PR, run:

```sh
git branch -D update_flake_lock_action
git fetch origin
git checkout update_flake_lock_action
git commit --amend --no-edit
git push origin update_flake_lock_action --force
```
This commit is contained in:
Noa Aarts 2024-12-31 11:31:04 +01:00 committed by GitHub
commit edc060338d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 25 additions and 25 deletions

28
Cargo.lock generated
View file

@ -373,9 +373,9 @@ checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
[[package]] [[package]]
name = "cc" name = "cc"
version = "1.2.5" version = "1.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c31a0499c1dc64f458ad13872de75c0eb7e3fdb0e67964610c914b034fc5956e" checksum = "8d6dbb628b8f8555f86d0323c2eb39e3ec81901f4b83e091db8a6a76d316a333"
dependencies = [ dependencies = [
"jobserver", "jobserver",
"libc", "libc",
@ -1517,9 +1517,9 @@ checksum = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3"
[[package]] [[package]]
name = "quote" name = "quote"
version = "1.0.37" version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af" checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
] ]
@ -1738,9 +1738,9 @@ dependencies = [
[[package]] [[package]]
name = "rustversion" name = "rustversion"
version = "1.0.18" version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248" checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
[[package]] [[package]]
name = "ryu" name = "ryu"
@ -1765,18 +1765,18 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.216" version = "1.0.217"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e" checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.216" version = "1.0.217"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e" checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -1920,9 +1920,9 @@ checksum = "6980e8d7511241f8acf4aebddbb1ff938df5eebe98691418c4468d0b72a96a67"
[[package]] [[package]]
name = "syn" name = "syn"
version = "2.0.91" version = "2.0.93"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53cbcb5a243bd33b7858b1d7f4aca2153490815872d86d955d6ea29f743c035" checksum = "9c786062daee0d6db1132800e623df74274a0a87322d8e183338e01b3d98d058"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -2304,9 +2304,9 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"
[[package]] [[package]]
name = "unicase" name = "unicase"
version = "2.8.0" version = "2.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e51b68083f157f853b6379db119d1c1be0e6e4dec98101079dec41f6f5cf6df" checksum = "75b844d17643ee918803943289730bec8aac480150456169e647ed0b576ba539"
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"

18
flake.lock generated
View file

@ -3,11 +3,11 @@
"advisory-db": { "advisory-db": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1734961910, "lastModified": 1735408444,
"narHash": "sha256-F4iNNs84rdqN2ZDCKtZrE/PUIfUe6YSZM/O2sckeQr4=", "narHash": "sha256-Bcf7iBwrfjYPO7roKCz+3yPAFqgNqfKCp51sLKETjxU=",
"owner": "rustsec", "owner": "rustsec",
"repo": "advisory-db", "repo": "advisory-db",
"rev": "b02b7ca7c98eee7fe26ac18277040c3fc814b52d", "rev": "3c6d3186ab06737d1defd2b5ae556d0ecd161603",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -70,11 +70,11 @@
"rust-analyzer-src": [] "rust-analyzer-src": []
}, },
"locked": { "locked": {
"lastModified": 1734935689, "lastModified": 1735367591,
"narHash": "sha256-yl/iko/0pvRN3PF6Z4FjQeb6AuGiavMENEisQWJ78h0=", "narHash": "sha256-a5EMHpDAxLShxBKUdDVmqZMlfiuOtOUzet2xT/E/RiM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "30616281e9bfe0883acb3369f2b89aad6850706f", "rev": "3743208cafd7bc3c150f0c77c25ef7430e9c0de2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -145,11 +145,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1734856068, "lastModified": 1735268880,
"narHash": "sha256-Q+CB1ajsJg4Z9HGHTBAGY1q18KpnnkmF/eCTLUY6FQ0=", "narHash": "sha256-7QEFnKkzD13SPxs+UFR5bUFN2fRw+GlL0am72ZjNre4=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "93ff48c9be84a76319dac293733df09bbbe3f25c", "rev": "7cc0bff31a3a705d3ac4fdceb030a17239412210",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -25,12 +25,12 @@ fn parse_coordinate(string: &str) -> io::Result<Coordinate> {
type HexChar = u8; type HexChar = u8;
fn val(c1: u8, c2: u8) -> io::Result<HexChar> { fn val(c1: u8, c2: u8) -> io::Result<HexChar> {
Ok((match c1 { Ok(((match c1 {
b'A'..=b'F' => c1 - b'A' + 10, b'A'..=b'F' => c1 - b'A' + 10,
b'a'..=b'f' => c1 - b'a' + 10, b'a'..=b'f' => c1 - b'a' + 10,
b'0'..=b'9' => c1 - b'0', b'0'..=b'9' => c1 - b'0',
_ => return Err(Error::from(ErrorKind::InvalidInput)), _ => return Err(Error::from(ErrorKind::InvalidInput)),
}) << 4 }) << 4)
| (match c2 { | (match c2 {
b'A'..=b'F' => c2 - b'A' + 10, b'A'..=b'F' => c2 - b'A' + 10,
b'a'..=b'f' => c2 - b'a' + 10, b'a'..=b'f' => c2 - b'a' + 10,