Commit Graph

104 Commits

Author SHA1 Message Date
Dmitriy Pleshevskiy 42b46eb5ae
nix: remove unused sonic-server 2022-11-25 23:20:04 +03:00
Dmitriy Pleshevskiy ddb59564f3
chore: remove .envrc from repo 2022-11-09 23:58:34 +03:00
Dmitriy Pleshevskiy 125782dacc
chore: some cleanup 2022-11-09 23:57:30 +03:00
dependabot[bot] 04bc0d0647 chore(deps): bump whatlang from 0.16.1 to 0.16.2
Bumps [whatlang](https://github.com/greyblake/whatlang-rs) from 0.16.1 to 0.16.2.
- [Release notes](https://github.com/greyblake/whatlang-rs/releases)
- [Changelog](https://github.com/greyblake/whatlang-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/greyblake/whatlang-rs/compare/v0.16.1...v0.16.2)

---
updated-dependencies:
- dependency-name: whatlang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-25 17:58:36 +00:00
Dmitriy Pleshevskiy 306328c395
doc: change version in the readme 2022-10-24 18:29:24 +03:00
Dmitriy Pleshevskiy f0c6a9ff9c
bump version 2022-10-24 18:12:23 +03:00
Dmitriy Pleshevskiy 529105d340 commands/list: implement new list command to the search channel
Closes #22
2022-10-24 15:11:27 +00:00
Dmitriy Pleshevskiy 65dfd3136c
fix clippy warnings 2022-09-09 15:57:53 +03:00
Dmitriy Pleshevskiy 999d5d9d23
nix: add flake with dev shell 2022-09-09 15:57:39 +03:00
dependabot[bot] 132de8866e chore(deps): bump whatlang from 0.16.0 to 0.16.1
Bumps [whatlang](https://github.com/greyblake/whatlang-rs) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/greyblake/whatlang-rs/releases)
- [Changelog](https://github.com/greyblake/whatlang-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/greyblake/whatlang-rs/compare/v0.16.0...v0.16.1)

---
updated-dependencies:
- dependency-name: whatlang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 12:52:28 +00:00
Dmitriy Pleshevskiy e6d68d3a1c
ci: fix audit-check version 2022-08-01 14:14:12 +03:00
Dmitriy Pleshevskiy 7a5e97825d
doc: add MSRV 2022-07-21 18:59:17 +03:00
Dmitriy Pleshevskiy aa85c5ac83
chore: refac gitignore 2022-07-21 18:19:40 +03:00
Dmitriy Pleshevskiy 7a2901ad08
ci: bump compose-action to 1.1 2022-07-21 18:16:52 +03:00
Dmitriy Pleshevskiy 0bb7f123ef
ci: fix identation 2022-07-21 18:11:37 +03:00
Dmitriy Pleshevskiy 343ffd9f6e
ci: add fail-fast 2022-07-21 13:23:41 +03:00
Dmitriy Pleshevskiy 17f39253d0
ci: restore cache in one action 2022-07-21 13:23:41 +03:00
dependabot[bot] 4fa80dcc5a chore(deps): update whatlang requirement from 0.12.0 to 0.16.0
Updates the requirements on [whatlang](https://github.com/greyblake/whatlang-rs) to permit the latest version.
- [Release notes](https://github.com/greyblake/whatlang-rs/releases)
- [Changelog](https://github.com/greyblake/whatlang-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/greyblake/whatlang-rs/compare/v0.12.0...v0.16.0)

---
updated-dependencies:
- dependency-name: whatlang
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-21 08:07:50 +00:00
Dmitriy Pleshevskiy 7a2c7462dd
ci: run toolchain action before caching 2022-07-21 10:39:35 +03:00
Dmitriy Pleshevskiy 4ce06d74ff
ci: commend audit cron schedule 2022-07-21 10:33:57 +03:00
Dmitriy Pleshevskiy d259252d97
ci: add audit phase 2022-07-21 10:31:42 +03:00
Dmitriy Pleshevskiy efd3dd658c
chore: configure debendabot 2022-07-21 10:27:10 +03:00
Dmitriy Pleshevskiy e651d12398 ci: add clippy and fmt actions 2022-07-21 07:13:15 +00:00
Dmitriy Pleshevskiy cd10bf3cba ci: costumize compose action 2022-07-21 07:13:15 +00:00
Dmitriy Pleshevskiy 2d755af853 ci: fix action name 2022-07-21 07:13:15 +00:00
Dmitriy Pleshevskiy fdcbd4e765 ci: configure build phase 2022-07-21 07:13:15 +00:00
Dmitriy Pleshevskiy 86ae4b78eb style: modules relocation
According to the [Rust book], it's encouraged to use this option
instead of `mod.rs`

[Rust book]: https://doc.rust-lang.org/reference/items/modules.html#module-source-filenames
2022-07-21 06:28:32 +00:00
Dmitriy Pleshevskiy d4773750f1
misc: add missed Clone to ObjDest 2022-07-18 15:48:38 +03:00
Dmitriy Pleshevskiy b6d33d881b
chore: add badges 2022-07-18 14:33:25 +03:00
Dmitriy Pleshevskiy 9466be194b
fix unused code 2022-07-18 14:20:37 +03:00
Dmitriy Pleshevskiy 35c9be1837
bump version 2022-07-18 14:13:00 +03:00
Dmitriy Pleshevskiy 7b76778618
docker: bump sonic-server version 2022-07-18 14:12:53 +03:00
Dmitriy Pleshevskiy c8e7b08377
deps: remove env_logger 2022-07-18 14:12:42 +03:00
Dmitriy Pleshevskiy bd08317388
Design improvements (#13)
* protocol: extract response type

* deps: drop lazy_static and regex

* protocol: extract request commands

* protocol: create a struct for...

   ...formatting and parsing sonic protocol

* protocol: refac flush command

* commands: introduce dest, refac push and count

* commands: refac all commands

* commands: add convinient methods

* doc: add documentation for each new structs

* doc: change examples in the readme

* commands: implement from trait for count and flush

* commands: change pag logic
2022-07-18 11:07:12 +00:00
Dmitriy Pleshevskiy f5ecc123bc
chore: update readme 2022-07-04 11:47:33 +03:00
Dmitriy Pleshevskiy 13f8aaa6f8 chore: prepare release 2022-03-23 23:53:21 +03:00
Dmitriy Pleshevskiy f4b64e8475 feat: add auto detect locale for push command 2022-03-23 23:51:57 +03:00
Dmitriy Pleshevskiy fac102e6be refac: prevent a panic 2022-03-23 23:45:54 +03:00
Dmitriy Pleshevskiy f9c55ce074 fix(doc): typo in features block 2022-03-23 23:34:33 +03:00
Lonexw c647b193f3 use greyblake/whatlang-rs to autodect locale 2022-03-23 22:33:11 +02:00
Dmitriy Pleshevskiy da71482813 tests(integration/query): add limited 2021-12-25 00:24:20 +03:00
Dmitriy Pleshevskiy e8ec20e82f tests(integration): add suggest command 2021-12-25 00:11:34 +03:00
Dmitriy Pleshevskiy b36d34a870 tests(integration/query): add multiline test 2021-12-24 23:49:04 +03:00
Dmitriy Pleshevskiy 9d6f811287 refac: add support for multiple threads for tests 2021-12-24 23:43:50 +03:00
Dmitriy Pleshevskiy b1b0b71f79 tests(integration): add push with locale test 2021-12-24 17:26:28 +03:00
Dmitriy Pleshevskiy e4a2ce7923 fixup: flush collection after query test 2021-12-24 17:25:31 +03:00
Dmitriy Pleshevskiy 4d2d493a87 tests(integration): add tests for push and query 2021-12-24 17:15:54 +03:00
Dmitriy Pleshevskiy 7bf0ab43a2 refac(cmd/push): change split to lines 2021-12-24 17:15:21 +03:00
Dmitriy Pleshevskiy 25ea845448 doc: update version in readme 2021-12-22 16:08:21 +03:00
Dmitriy Pleshevskiy a0d98c0af0 🎉 bump version 2021-12-22 16:04:41 +03:00