aboutsummaryrefslogtreecommitdiff
path: root/crates/whirl/src
Commit message (Collapse)AuthorAgeFilesLines
* fix(whirl): signal handling not workingFuwn2021-08-011-10/+7
|
* feat(whirl): platform specific signal handlingFuwn2021-07-311-8/+13
| | | | | | | | | I hadn't realised until now; the `signal-hook` crate doesn't function properly on Windows, for the time being; the functionality of this crate has been disabled on Windows. This change also adapts the signal handler to use the Tokio-specific `signal-hook` crate.
* fix(cli): proper ctrl+c handlingFuwn2021-07-161-0/+12
|
* fix(whirl_cli): method of comparing argument when evaluating logger styleFuwn2021-07-021-2/+9
| | | | | | This commit adds extra error checking to the logger style evaluator as previously, Whirl would panic if no arguments were passed via the command line because an expression within the evaluator would still do a comparison to the first index of the command line arguments.
* feat(cli): generate sub-commandFuwn2021-06-211-3/+25
| | | | | The long awaited `generate` sub-command is finally here. You may now generate yourself a default configuration file by running `whirl config generate`!
* style(global): fix license specFuwn2021-06-143-3/+3
|
* refactor(cli): clippy lintsFuwn2021-06-131-24/+21
|
* feat(cli): fine-grain control over which sub-servers are startedFuwn2021-06-131-23/+70
| | | | | | | Instead of being given the option to start all of the sub-servers (`whirl run` or `whirl run all`), you are now given the option to specify a selection of sub-servers by passing a comma-seperated list to the `run` sub-command (`whirl run distributor,hub`). Despite the changes, `whirl run` still starts all of the available sub-servers!
* fix(whirl): logger definitionFuwn2021-06-101-4/+7
| | | | `flexi_logger` version `0.18.0` broke a lot of stuff, this fixes those broken things.
* fix(whirl): move logs directory to `.whirl`Fuwn2021-06-092-3/+4
|
* feat(cli): create `.whirl` directory and logFuwn2021-06-091-0/+6
|
* refactor(database): rename database fileFuwn2021-06-091-1/+1
| | | | | | The file name `whirl.sqlite3` is redundant as the file is already in the `.whirl` directory. BREAKING CHANGE: Database file renamed
* feat(global): move whirl-generated files to their own directoriesFuwn2021-06-092-2/+2
| | | | | | | | | | | | | This change is in preperations to the new Docker Compose configuration changes that are planned for the near future. Currently, the Docker Compose configuration does NOT have persistant storage in the form of Docker Volumes, that will change once the planned updates are pushed. The reason Docker Volumes might have not been possible (or at least difficult) is due to the fact that Whirl-generated files were just thrown about, e.g., `whirl.sqlite3`, `Whirl.toml`, all of these files had no central location so having a shared folder in the form of Docker Volume between the container and the host wasn't very possible.j BREAKING CHANGE: Whirl-generated files are moved to their own directories, if the files are not moved, Whirl will continue to look for these files and panic due to being unable to find them!
* feat(whirl): conditional sub-server spawning via cliFuwn2021-06-081-4/+53
|
* feat(whirl_server): conditional sub-server spawningFuwn2021-06-081-1/+1
|
* docs(cargo): change favicon and icon in generated docsFuwn2021-06-071-0/+4
|
* fix(global): a lot of clippy warningsFuwn2021-05-282-9/+21
| | | | This change makes clippy **a lot** more strict.
* style(cli): remove unneeded else branchFuwn2021-05-261-2/+2
|
* refactor(global): move thread creation to respective cratesFuwn2021-05-261-29/+1
|
* refactor(whirl): move whirl struct to libFuwn2021-05-263-38/+35
|
* style(whirl): remove more singleton use statementsFuwn2021-05-263-15/+6
|
* style(whirl): don't use single used traitFuwn2021-05-261-3/+1
|
* refactor(whirl): move cli subcommand executor to cli structFuwn2021-05-263-53/+46
|
* refactor(whirl): move environment setup, execute doesn't take matchesFuwn2021-05-262-11/+5
|
* refactor(cli): restructure subcommand matching, removes shell completions ↵Fuwn2021-05-261-41/+21
| | | | subcommand
* style(cli): remove dot slash from directoryFuwn2021-05-231-1/+1
|
* feat(whirl): conditional logging, use whirlsplash.log.enable keyFuwn2021-05-231-13/+16
|
* refactor(global): move crates around, stricter module isolationFuwn2021-05-205-0/+218