Commit graph

97 commits

Author SHA1 Message Date
65dfd3136c
fix clippy warnings 2022-09-09 15:57:53 +03:00
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
e6d68d3a1c
ci: fix audit-check version 2022-08-01 14:14:12 +03:00
7a5e97825d
doc: add MSRV 2022-07-21 18:59:17 +03:00
aa85c5ac83
chore: refac gitignore 2022-07-21 18:19:40 +03:00
7a2901ad08
ci: bump compose-action to 1.1 2022-07-21 18:16:52 +03:00
0bb7f123ef
ci: fix identation 2022-07-21 18:11:37 +03:00
343ffd9f6e
ci: add fail-fast 2022-07-21 13:23:41 +03:00
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
7a2c7462dd
ci: run toolchain action before caching 2022-07-21 10:39:35 +03:00
4ce06d74ff
ci: commend audit cron schedule 2022-07-21 10:33:57 +03:00
d259252d97
ci: add audit phase 2022-07-21 10:31:42 +03:00
efd3dd658c
chore: configure debendabot 2022-07-21 10:27:10 +03:00
e651d12398 ci: add clippy and fmt actions 2022-07-21 07:13:15 +00:00
cd10bf3cba ci: costumize compose action 2022-07-21 07:13:15 +00:00
2d755af853 ci: fix action name 2022-07-21 07:13:15 +00:00
fdcbd4e765 ci: configure build phase 2022-07-21 07:13:15 +00:00
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
d4773750f1
misc: add missed Clone to ObjDest 2022-07-18 15:48:38 +03:00
b6d33d881b
chore: add badges 2022-07-18 14:33:25 +03:00
9466be194b
fix unused code 2022-07-18 14:20:37 +03:00
35c9be1837
bump version 2022-07-18 14:13:00 +03:00
7b76778618
docker: bump sonic-server version 2022-07-18 14:12:53 +03:00
c8e7b08377
deps: remove env_logger 2022-07-18 14:12:42 +03:00
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
f5ecc123bc
chore: update readme 2022-07-04 11:47:33 +03:00
13f8aaa6f8 chore: prepare release 2022-03-23 23:53:21 +03:00
f4b64e8475 feat: add auto detect locale for push command 2022-03-23 23:51:57 +03:00
fac102e6be refac: prevent a panic 2022-03-23 23:45:54 +03:00
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
da71482813 tests(integration/query): add limited 2021-12-25 00:24:20 +03:00
e8ec20e82f tests(integration): add suggest command 2021-12-25 00:11:34 +03:00
b36d34a870 tests(integration/query): add multiline test 2021-12-24 23:49:04 +03:00
9d6f811287 refac: add support for multiple threads for tests 2021-12-24 23:43:50 +03:00
b1b0b71f79 tests(integration): add push with locale test 2021-12-24 17:26:28 +03:00
e4a2ce7923 fixup: flush collection after query test 2021-12-24 17:25:31 +03:00
4d2d493a87 tests(integration): add tests for push and query 2021-12-24 17:15:54 +03:00
7bf0ab43a2 refac(cmd/push): change split to lines 2021-12-24 17:15:21 +03:00
25ea845448 doc: update version in readme 2021-12-22 16:08:21 +03:00
a0d98c0af0 🎉 bump version 2021-12-22 16:04:41 +03:00
215b045f9b
Merge pull request #11 from pleshevskiy/bug-8
fix!: handle sonic server-side errors
2021-12-22 15:03:37 +02:00
ea8218e461 fix!: handle sonic server-side errors
BREAKING: rename error kind variants

Closes #8
2021-12-22 16:00:08 +03:00
73ef4e5958 🎉 bump version 2021-12-21 23:34:53 +03:00
3b5d40fe00
Merge pull request #10 from pleshevskiy/bug-9
feat: remove multiline text before push
2021-12-21 22:33:38 +02:00
508215941b feat: remove multiline text before push
Closes #9
2021-12-21 23:25:39 +03:00
c9c8da4c64 bump version 2021-07-12 16:17:23 +03:00
2baa8dba87 chore: fix clippy warnings 2021-07-12 16:16:50 +03:00