Rohan Bhela
|
4bc04e4539
|
Remove format! in .expect calls, remove ! from end of .expect message as Rust terminates the message with a :
|
2025-04-18 14:10:48 -07:00 |
|
Rohan Bhela
|
483afcaf47
|
Pin dependencies to major version instead of minor version
|
2025-04-18 14:07:22 -07:00 |
|
funtimes909
|
ebdfa86f72
|
Don't scan servers that have opted out
|
2025-04-18 15:58:45 +12:00 |
|
Amy
|
9d3f0e5ce9
|
Merge pull request 'Response parsing rewrite' (#3) from response-rewrite into main
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/3
|
2025-04-18 15:19:22 +12:00 |
|
funtimes909
|
173445d6d1
|
Add MOTD parsing
|
2025-04-18 12:55:51 +12:00 |
|
funtimes909
|
20f9247a5a
|
change unwrap_or() to is_some()
|
2025-04-18 12:39:26 +12:00 |
|
funtimes909
|
8fa7727bab
|
Complete rewrite of how servers are parsed, now correctly identifies server type too
|
2025-04-17 02:34:59 +12:00 |
|
funtimes909
|
8561db4e0a
|
Stream results from the database instead of saving every address at once, seems to have some memory savings
|
2025-04-16 22:01:43 +12:00 |
|
funtimes909
|
2895f50cb2
|
Update Cargo.toml, Comment some code and very minor formatting changes
|
2025-04-16 19:06:42 +12:00 |
|
funtimes909
|
35bb3160c1
|
Avoid String allocation by reworking socket creation
|
2025-04-16 14:15:53 +12:00 |
|
funtimes909
|
e469705d0b
|
Display time taken for each scan at the end
|
2025-04-16 13:56:49 +12:00 |
|
funtimes909
|
1363caf951
|
Formatting improvements
|
2025-04-16 13:49:44 +12:00 |
|
Amy
|
d12d3d1057
|
Merge pull request 'Better error handling, spawn tasks with tokio so they run before being awaited' (#2) from objobj/ServerSeekerV2-Rust:main into main
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/2
|
2025-04-16 13:16:52 +12:00 |
|
Rohan Bhela
|
e8e857e3ab
|
Move semaphore to ping_server instead of run
|
2025-04-15 16:19:06 -07:00 |
|
Rohan Bhela
|
8fdb818dd2
|
Use JoinSet instead of mapping vector to futures manually
|
2025-04-15 16:02:58 -07:00 |
|
Rohan Bhela
|
91795f6fb1
|
cargo update
|
2025-04-15 15:12:44 -07:00 |
|
Rohan Bhela
|
b6af80f96c
|
Actually spawn ping tasks using tokio
|
2025-04-15 15:05:15 -07:00 |
|
Rohan Bhela
|
19dd6952d9
|
Better error handling
|
2025-04-15 14:50:57 -07:00 |
|
Rohan Bhela
|
3e525a3d51
|
Small code quality changes, still not sure about changing the semaphore to a static variable rather than including it in state
|
2025-04-15 14:21:57 -07:00 |
|
funtimes909
|
6b11f46296
|
Move postgres connection pool and progress bar into state
|
2025-04-15 19:08:57 +12:00 |
|
Amy
|
b004604663
|
Merge pull request 'holy diff' (#1) from objobj/ServerSeekerV2-Rust:main into main
Reviewed-on: https://git.funtimes909.xyz/ServerSeekerV2/ServerSeekerV2-Rust/pulls/1
|
2025-04-15 16:24:19 +12:00 |
|
Rohan Bhela
|
315877ebc5
|
I forgot this random ass comment was in here
|
2025-04-14 20:42:34 -07:00 |
|
Rohan Bhela
|
f8602a8c10
|
Fix low-hanging clippy errors
|
2025-04-14 20:34:42 -07:00 |
|
Rohan Bhela
|
c0717dfb39
|
Convert from spaces to tabs, run formatter, standardize line endings for windows users
|
2025-04-14 20:28:33 -07:00 |
|
Rohan Bhela
|
7e87aaa029
|
Update dependencies
|
2025-04-14 20:27:54 -07:00 |
|
funtimes909
|
642e6eb36d
|
add a custom enum for errors and display how many errors were encountered at the end of each scan
|
2025-04-15 14:52:23 +12:00 |
|
funtimes909
|
c570190fa1
|
Replace Arc usage with Rc
|
2025-04-14 20:52:55 +12:00 |
|
funtimes909
|
440d13f6f3
|
Enable fat LTO for release builds
|
2025-04-14 16:33:12 +12:00 |
|
funtimes909
|
8f9c53a84a
|
Wait rescan delay before starting another scan
|
2025-04-14 16:20:23 +12:00 |
|
funtimes909
|
efa83ba4dd
|
Add a semaphore to limit active connections to 3 thousand, also add a state type to wrap the pool, semaphore and progress bar when passing to the async run function
|
2025-04-14 12:50:28 +12:00 |
|
funtimes909
|
53c5d18489
|
rewrite pipeline to allow updating servers in the database more easily, create a function to ping servers, parse responses and then update in DB
|
2025-04-13 20:01:41 +12:00 |
|
funtimes909
|
849d05f23e
|
Change duple response in pinging code to be a named duple
|
2025-04-10 18:47:31 +12:00 |
|
funtimes909
|
4a23d0710e
|
Change buffer size for server responses from 2048 to 1024, change progress bar characters
|
2025-04-10 12:17:27 +12:00 |
|
funtimes909
|
44be98c2a4
|
add rayon as a dependency, readd the progress bar for scans.
|
2025-04-09 15:31:37 +12:00 |
|
funtimes909
|
aefdb8c8a4
|
Use a transaction to update players mods and server information all in one atomic transaction
|
2025-04-08 13:16:42 +12:00 |
|
funtimes909
|
9ee91fe33a
|
Revamp server response parsing for the billionth time except this time it's actually good.
|
2025-04-07 02:24:13 +12:00 |
|
funtimes909
|
eecd99e261
|
Clean up database code significantly
|
2025-04-07 00:07:27 +12:00 |
|
funtimes909
|
054cb5c238
|
Initial proper concurrency, may actually be usable now, comment example config
|
2025-04-06 19:33:58 +12:00 |
|
Funtimes909
|
2c02940447
|
use anyhow for results
|
2025-03-21 20:22:59 +13:00 |
|
Funtimes909
|
903fce69ac
|
Merge remote-tracking branch 'origin/main'
|
2025-03-15 16:05:35 +13:00 |
|
Funtimes909
|
b49d13767d
|
Change how tasks are spawned (doesn't even work)
|
2025-03-15 16:05:29 +13:00 |
|
Nucceteere
|
c5f3dce867
|
chore: Add CODEOWNERS file
Signed-off-by: Nucceteere <[email protected]>
|
2025-03-04 04:54:20 +13:00 |
|
Funtimes909
|
df53629cb1
|
Merge remote-tracking branch 'origin/main'
|
2025-03-02 16:42:28 +13:00 |
|
Funtimes909
|
9a482ebe3f
|
Much cleaner response code (I didn't think you could do this in rust?)
|
2025-03-02 16:42:22 +13:00 |
|
Nucceteere
|
89e7bc1d5d
|
add GPLv3 license to project
Signed-off-by: Nucceteere <[email protected]>
|
2025-03-01 14:41:45 +13:00 |
|
Funtimes909
|
4ea0962fba
|
use tokio for pinging code
|
2025-02-22 23:52:21 +13:00 |
|
Funtimes909
|
4c5786f9e3
|
Polishing work, more logging, add warnings and errors for invalid config options
|
2025-02-22 13:43:15 +13:00 |
|
Funtimes909
|
f61556c231
|
Replace some temp logging with a progress bar
|
2025-02-21 23:52:03 +13:00 |
|
Funtimes909
|
262aa731bc
|
Add some basic terminal color codes
|
2025-02-21 17:23:34 +13:00 |
|
Funtimes909
|
943fb75d12
|
Update online players and max players field in database
|
2025-02-21 15:54:17 +13:00 |
|