0bda61cbcc
use crane for the flake
2024-12-16 15:32:27 +01:00
00ef4ca355
flake: update flake.lock ( #73 )
...
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock )
GitHub Action.
```
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/0d8227f07b35ab04fee007fff4f9bb18c6d66af1?narHash=sha256-3fgFIijf23nKfJogpcEaUGky1W2BpOzpr0ljgx%2BcmOM%3D' (2024-12-10)
→ 'github:nix-community/fenix/06de03ede52ce64db6eb65be878a39b5ec944f50?narHash=sha256-4zYEtbxdhYkmmFC5vgv9pmIVHylEuKs%2BiJb1XsKDN7o%3D' (2024-12-14)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/22c3f2cf41a0e70184334a958e6b124fb0ce3e01?narHash=sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY%3D' (2024-12-07)
→ 'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/99a6ecd41e5e458b3f4c2142b29a80d77ecda248?narHash=sha256-cK9hSImKm6FkMeIsdjzuRA1tjOKnXI1VHdmJbmpOYqI%3D' (2024-12-09)
→ 'github:rust-lang/rust-analyzer/fc18d263aa95f7d6de8174bd4c6663dfe865e6d5?narHash=sha256-EZtwXmh9P9FnoXKfbjGxyWksjrjPB4HES2HVIV%2BSTNg%3D' (2024-12-13)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56?narHash=sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU%3D' (2024-12-09)
→ 'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11)
• Updated input 'tsunami':
'github:itepastra/tsunami/f87930a290b744248af762b13c2b4a7b6f4f5f27?narHash=sha256-rS51EA9UqtnoPSaYJrSzFij5NRcs5Axosd7m3k5BnnM%3D' (2024-12-10)
→ 'github:itepastra/tsunami/872017618ae615152dc97b6379f5e92b175a55e9?narHash=sha256-QqnrhOPgvykA%2B2a9iIzpOW8S3Ef8uA7aAFxcRqS8fB8%3D' (2024-12-12)
```
### 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
```
2024-12-15 10:25:25 +01:00
5b53540e0c
improve website ( #74 )
...
makes the website look nicer and work better
- **add 404 page**
- **add website components**
- **add counter to keep track of connected clients**
- **add websocket stream for statistics**
2024-12-15 10:15:38 +01:00
github-actions[bot]
f15bf8729d
[create-pull-request] automated change
2024-12-15 05:12:28 +01:00
github-actions[bot]
03b9fe1f1e
flake.lock: Update
...
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/0d8227f07b35ab04fee007fff4f9bb18c6d66af1?narHash=sha256-3fgFIijf23nKfJogpcEaUGky1W2BpOzpr0ljgx%2BcmOM%3D' (2024-12-10)
→ 'github:nix-community/fenix/06de03ede52ce64db6eb65be878a39b5ec944f50?narHash=sha256-4zYEtbxdhYkmmFC5vgv9pmIVHylEuKs%2BiJb1XsKDN7o%3D' (2024-12-14)
• Updated input 'fenix/nixpkgs':
'github:nixos/nixpkgs/22c3f2cf41a0e70184334a958e6b124fb0ce3e01?narHash=sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY%3D' (2024-12-07)
→ 'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/99a6ecd41e5e458b3f4c2142b29a80d77ecda248?narHash=sha256-cK9hSImKm6FkMeIsdjzuRA1tjOKnXI1VHdmJbmpOYqI%3D' (2024-12-09)
→ 'github:rust-lang/rust-analyzer/fc18d263aa95f7d6de8174bd4c6663dfe865e6d5?narHash=sha256-EZtwXmh9P9FnoXKfbjGxyWksjrjPB4HES2HVIV%2BSTNg%3D' (2024-12-13)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56?narHash=sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU%3D' (2024-12-09)
→ 'github:nixos/nixpkgs/5d67ea6b4b63378b9c13be21e2ec9d1afc921713?narHash=sha256-Pj39hSoUA86ZePPF/UXiYHHM7hMIkios8TYG29kQT4g%3D' (2024-12-11)
• Updated input 'tsunami':
'github:itepastra/tsunami/f87930a290b744248af762b13c2b4a7b6f4f5f27?narHash=sha256-rS51EA9UqtnoPSaYJrSzFij5NRcs5Axosd7m3k5BnnM%3D' (2024-12-10)
→ 'github:itepastra/tsunami/872017618ae615152dc97b6379f5e92b175a55e9?narHash=sha256-QqnrhOPgvykA%2B2a9iIzpOW8S3Ef8uA7aAFxcRqS8fB8%3D' (2024-12-12)
2024-12-15 05:12:27 +01:00
0b46dcf704
Merge branch 'main' into better-html
2024-12-13 21:16:38 +01:00
5b1fad966f
improve idle efficiency ( #75 )
2024-12-13 00:08:20 +01:00
606816cf0e
improve idle efficiency
2024-12-13 00:07:06 +01:00
4adb9d4ec3
add websocket stream for statistics
2024-12-12 16:25:15 +01:00
3520118336
add counter to keep track of connected clients
2024-12-12 15:09:45 +01:00
c050d8bfb0
add website components
2024-12-12 15:09:16 +01:00
365701eebd
add 404 page
2024-12-12 15:09:00 +01:00
438fac10ba
strip away the stdout counter ( #72 )
...
Remove the counter, the website works now so it's more annoying than
useful
2024-12-11 22:46:30 +01:00
3c77ce8308
add basic website ( #71 )
...
adds an index.html, and static file serving from `assets/`
2024-12-11 21:21:17 +01:00
1db13c89c6
strip away the stdout counter
2024-12-11 21:18:13 +01:00
b4d7f54612
add assets to flake source
2024-12-11 21:13:54 +01:00
5b5b2849b8
more verbose errors
2024-12-11 20:56:33 +01:00
f0bd6020a2
add basic website
2024-12-11 20:47:15 +01:00
5c3690d72a
Use info level for http requests instead of debug to reduce clutter ( #64 )
...
Makes the log only 1 line instead of like 7 for each frame that gets
sent
2024-12-11 20:26:04 +01:00
898d0e909a
Create LICENSE ( #70 )
2024-12-11 20:24:02 +01:00
b07250e014
Create LICENSE
2024-12-11 20:23:47 +01:00
e9bc79cfcd
remove unused dependencies ( #66 )
...
remove some unused dependencies, and make some feature-bound
2024-12-11 20:10:27 +01:00
56bfecfe7f
Merge branch 'main' into dependencies
2024-12-11 20:10:18 +01:00
0effb41c52
add all parsers feature to cargo.toml ( #69 )
...
adds a feature to have all the protocols enabled, for making sure to
test all the things
2024-12-11 20:09:05 +01:00
f124c7c9cb
protocols command ( #67 )
...
Adds a command for getting all enabled (and disabled) protocols from the
server.
- **add response for protocol status**
- **add command for protocols**
- **allow calling `Protocols` from BinaryParser**
- **allow calling `Protocols` from textparser**
2024-12-11 20:08:39 +01:00
b2755d2ffb
add tests for caps versions in text protocol ( #60 )
...
I found that we only tested whether the lowercase HEX colors worked.
Added some to check caps as well
2024-12-11 20:07:04 +01:00
d279051da7
add configuration for the stdout pixel-changed interval ( #59 )
...
Add an option in `config.rs` to set the interval to log changed pixels
to console
2024-12-11 20:06:45 +01:00
69c424ec6e
clean up stream code ( #58 )
...
Make a trait function for creating frames instead of a locally defined
one
2024-12-11 20:06:25 +01:00
e6ce4339d7
fix allow unreachable code directive ( #61 )
...
The `#[allow(unreachable_code)]` was in the wrong spot, move it to fix
this
2024-12-11 20:01:38 +01:00
abf43e7c7e
add --features all to github workflows
2024-12-11 19:57:19 +01:00
8bc27cf1d3
add all parsers feature to cargo.toml
2024-12-11 19:54:46 +01:00
fe07344cb4
use vec![] for the get_status vector
2024-12-11 12:55:05 +01:00
6dc11526d8
allow calling Protocols from textparser
2024-12-11 12:50:34 +01:00
823f4a306a
allow calling Protocols from BinaryParser
2024-12-11 12:49:02 +01:00
b52af7d44f
add command for protocols
2024-12-11 12:48:11 +01:00
232fe6b6e2
add response for protocol status
2024-12-11 12:47:40 +01:00
7c46b8062c
remove unused dependencies
2024-12-11 12:33:07 +01:00
fe2ca594e9
Use info level for http requests instead of debug to reduce clutter
2024-12-11 11:07:24 +01:00
4a230a08c2
flake: update flake.lock ( #63 )
...
Automated changes by the
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock )
GitHub Action.
```
Flake lock file updates:
• Updated input 'fenix':
'github:nix-community/fenix/d51a64e1d23e509f28a6955a6652cc62409dd4a8?narHash=sha256-Z6zL4AtpZWxkvTd3l0KkPZamu2wtTKl4nNiqNSlgsb4%3D' (2024-12-09)
→ 'github:nix-community/fenix/0d8227f07b35ab04fee007fff4f9bb18c6d66af1?narHash=sha256-3fgFIijf23nKfJogpcEaUGky1W2BpOzpr0ljgx%2BcmOM%3D' (2024-12-10)
• Updated input 'fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/4c755e62a617eeeef3066994731ce1cdd16504ac?narHash=sha256-I1uc97f/cNhOpCemIbBAUS%2BCV0R7jts0NW9lc8jrpxc%3D' (2024-12-08)
→ 'github:rust-lang/rust-analyzer/99a6ecd41e5e458b3f4c2142b29a80d77ecda248?narHash=sha256-cK9hSImKm6FkMeIsdjzuRA1tjOKnXI1VHdmJbmpOYqI%3D' (2024-12-09)
• Updated input 'nixpkgs':
'github:nixos/nixpkgs/22c3f2cf41a0e70184334a958e6b124fb0ce3e01?narHash=sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY%3D' (2024-12-07)
→ 'github:nixos/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56?narHash=sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU%3D' (2024-12-09)
• Updated input 'tsunami':
'github:itepastra/tsunami/3eae767ccfc5d7aa3774aa9c6a15cd1651b44758?narHash=sha256-V0cADjDuBnsxuCzUstPJ4woQmL7r1pJ5ujggKtiXrEo%3D' (2024-10-23)
→ 'github:itepastra/tsunami/f87930a290b744248af762b13c2b4a7b6f4f5f27?narHash=sha256-rS51EA9UqtnoPSaYJrSzFij5NRcs5Axosd7m3k5BnnM%3D' (2024-12-10)
• Updated input 'tsunami/fenix':
'github:nix-community/fenix/2f52fbbb56bbf1208835677f0c8992f942a47791?narHash=sha256-vlL7lH0Vg9Ee6G6GVRLvZ7x/hu%2BjI47QHFNTq0i4nIM%3D' (2024-10-23)
→ 'github:nix-community/fenix/0d8227f07b35ab04fee007fff4f9bb18c6d66af1?narHash=sha256-3fgFIijf23nKfJogpcEaUGky1W2BpOzpr0ljgx%2BcmOM%3D' (2024-12-10)
• Updated input 'tsunami/fenix/nixpkgs':
'github:nixos/nixpkgs/1997e4aa514312c1af7e2bda7fad1644e778ff26?narHash=sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0%3D' (2024-10-20)
→ 'github:nixos/nixpkgs/22c3f2cf41a0e70184334a958e6b124fb0ce3e01?narHash=sha256-Qn3nPMSopRQJgmvHzVqPcE3I03zJyl8cSbgnnltfFDY%3D' (2024-12-07)
• Updated input 'tsunami/fenix/rust-analyzer-src':
'github:rust-lang/rust-analyzer/c2867868889a549562a7b53fb572719f852a8a6f?narHash=sha256-hSkME8GNixrKQnSTt6NU7icuyOo8IdlLaL5co4zWUio%3D' (2024-10-22)
→ 'github:rust-lang/rust-analyzer/99a6ecd41e5e458b3f4c2142b29a80d77ecda248?narHash=sha256-cK9hSImKm6FkMeIsdjzuRA1tjOKnXI1VHdmJbmpOYqI%3D' (2024-12-09)
• Updated input 'tsunami/nixpkgs':
'github:nixos/nixpkgs/1997e4aa514312c1af7e2bda7fad1644e778ff26?narHash=sha256-I4tuhRpZFa6Fu6dcH9Dlo5LlH17peT79vx1y1SpeKt0%3D' (2024-10-20)
→ 'github:nixos/nixpkgs/a73246e2eef4c6ed172979932bc80e1404ba2d56?narHash=sha256-463SNPWmz46iLzJKRzO3Q2b0Aurff3U1n0nYItxq7jU%3D' (2024-12-09)
```
### 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
```
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-12-11 08:08:22 +01:00
b8c01befde
fix allow unreachable code directive
2024-12-11 00:30:05 +01:00
c5fb0f5437
move the locally scoped function to an impl to improve readability
2024-12-10 22:40:53 +01:00
b7b05d2865
add tests for caps versions in text protocol
2024-12-10 22:39:59 +01:00
62d6dd76d3
add configuration for the stdout pixel-changed interval
2024-12-10 22:38:14 +01:00
c0eb488973
format flake, add gcc ( #57 )
2024-12-10 19:02:25 +01:00
8969a9e6d5
improve flake ( #56 )
...
Remove flurry from the devShell, because it was recompiling a lot
2024-12-10 18:11:50 +01:00
peppidesu
340abecce8
feature protocols ( #55 )
...
Feature flags are dumb so I can't make everything in seperate crates.
but now you can select them with `--features`
2024-12-10 18:10:10 +01:00
48edab8b13
use tracing for enabled/disabled features
2024-12-10 18:03:01 +01:00
22281e21f8
use announce macro instead of having to hardcode
2024-12-10 17:43:13 +01:00
e391d3f63f
allow unreachable in default protocol return
2024-12-10 17:40:33 +01:00
2337c0497c
turn text and binary protocols into features
2024-12-10 17:40:32 +01:00