RustScan icon indicating copy to clipboard operation
RustScan copied to clipboard

Use array instead of hashmap for ports in TOML config file

Open NewBieCoderXD opened this issue 6 months ago • 0 comments

Is your feature request related to a problem? Please describe. The current implementation uses HashMap for ports in config with key being string (port number), and value being u16 (that is not used), and it makes config look rather weird

Describe the solution you'd like Change from toml table to array

Describe alternatives you've considered

Additional context Change from

[ports]
8080 = 1
3000 = 1

to

ports = [8080, 3000]

NewBieCoderXD avatar Jun 06 '25 14:06 NewBieCoderXD