Commit graph

79 commits

Author SHA1 Message Date
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
c2b2e4fd67
Merge pull request #7 from vishalsodani/remove_dbg
Removed dbg statements
2021-07-12 16:12:17 +03:00
vishalsodani
93f4009a93 removed dbg statements #6 2021-07-12 17:05:01 +05:30
c00d9ecf01 chore: add code of conduct 2021-02-12 01:38:32 +03:00
012fbad09a chore: bump version 2020-11-25 22:08:52 +03:00
1bd455cc4e
Merge pull request #5 from pleshevskiy/task-3
refac: separate structs for each channel
2020-11-25 21:05:31 +02:00
e2c81eb4ac refac: separate structs for each channel
doc: update examples in readme
style: format code

Closes #3
2020-11-25 21:58:56 +03:00
7f6d16c473 chore: update issue templates 2020-11-14 02:48:37 +03:00
39209ea514 chore: update crate version 2020-10-16 10:50:50 +03:00
f2f49be0ec style: cosmetic changes 2020-10-16 10:49:05 +03:00
f750de076e chore: deny all clippy lints 2020-10-16 10:45:21 +03:00
dce4806161 chore: increment crate version 2020-08-07 22:15:53 +03:00
3652406251 chore: remove dead code 2020-08-07 15:07:19 +03:00
8a0d3f9772 feat: add mode condition for channel commands 2020-08-07 14:59:35 +03:00
be6a395e1b doc: add commands to channel mode enum 2020-08-07 10:26:40 +03:00
308efc1eba feat(control): add trigger command 2020-08-07 02:58:19 +03:00
9ebbf7d038 feat: add count method 2020-08-07 02:03:11 +03:00
85ddd8fb4e doc: add examples for all sonic method 2020-08-01 23:34:28 +03:00
4875bffb4c doc: add examples for quit and ping 2020-08-01 23:23:56 +03:00