John Vandenberg
c2b18b96d1
Fix typos ( #145 )
2024-06-27 16:55:21 +02:00
Ben
ab7353bc23
Update db.rs ( #143 )
...
Small typos resulting from renaming Db guard struct without changing the doc comments.
2024-06-13 22:44:26 +02:00
dimbtp
48aba27362
fix: update aws-xray example link for trace id ( #139 )
2024-02-26 11:59:25 +01:00
qyuzh
9b93f751b3
fix: expiration bug ( #137 )
2023-10-27 22:52:59 +02:00
Logan Luo
573283f367
fix: Frame::Array display ( #129 )
2023-06-24 11:02:58 +02:00
tottoto
fe55e5f5eb
Update to clap 4.2.7 ( #125 )
2023-05-18 12:55:46 +02:00
Mahdi
df98a941ac
replace BTreeMap by BTreeSet and remove id form Entry ( #123 )
2023-05-16 09:11:54 -07:00
Ting Sun
79422c0714
collect all clients to one single folder ( #119 )
2023-04-14 12:47:10 +02:00
Ting Sun
b1e365b62f
Add doc about Ping cmd to README, change the internal data type of Ping cmd to Bytes, and rm unnecessary reference ( #118 )
2023-03-28 16:53:33 +02:00
Ting Sun
aab4e39d97
rm unnecessary method call
2023-03-23 09:18:25 -07:00
Ting Sun
dcaa67388b
change a usage related to ownership
2023-03-23 09:18:25 -07:00
Ting Sun
151a653e69
rm unused var
2023-03-23 09:18:25 -07:00
Ting Sun
999b570f09
rm extra space
2023-03-23 09:18:25 -07:00
Ting Sun
017a0df61f
too many 'shutdown' can be ambiguous
2023-03-23 09:18:25 -07:00
Kim Chan
c1c3bcb465
implement client ping ( #108 )
2022-08-25 11:10:32 +02:00
Kim Chan
d3826795af
docs: fix typos ( #109 )
2022-08-22 19:47:13 +02:00
Paul Lange
069a8e5ee0
Replace structopt with clap ( #98 )
...
* Replace `structopt` with `clap`
* Change `port` options from `String` to `u16`
* Shorten clap options config
`name` and `long` use the filed name by default.
2022-07-19 09:34:12 -07:00
shomitarai
8c714114f2
fix tiny typo in server.rs ( #103 )
...
Co-authored-by: Sho Mitarai <shomitarai@mitaraiakiranoMacBook-Pro.local >
2022-06-22 08:27:35 +02:00
Vilgot Fredenberg
cf1e4e465e
refactor: use OwnedSemaphore for connection limiting ( #100 )
2022-05-29 12:27:39 +02:00
Bryan Garza
25062cd238
chore: remove duplicate cfg line and comment ( #99 )
2022-05-25 18:02:53 +02:00
Bryan Garza
6cd697afe9
Add (optional) OpenTelemetry + Xray integration ( #95 ) ( #96 )
...
This introduces all the necessary code to be able to send traces to
AWS Xray via `tracing-opentelemetry`. It can be optionally enabled
using the `xray` feature defined on this crate.
Also update the README.md with instructions on how to enable and use
this.
2022-05-18 09:13:19 -07:00
Tony-X
4b4ecf0310
Remove unused import ( #92 )
2022-02-09 10:18:40 +01:00
Liang Zheng
ca1b5b16bd
add pub/sub cli ( #91 )
...
Signed-off-by: Liang Zheng <zhengliang0901@gmail.com >
2022-01-30 10:41:18 +01:00
tison
6513e5226c
support PING command for easy testing ( #90 )
...
Signed-off-by: tison <wander4096@gmail.com >
2022-01-23 15:27:30 +01:00
Jamie
ebe4e1f331
Fix race condition in shutdown of background task ( #81 )
2021-07-13 14:27:34 +02:00
Alice Ryhl
0b3b0ff883
Add blocking client ( #77 )
2021-07-06 12:46:57 -07:00
Ricardo Galli
c3bc304ac9
Fix expiration and upppercase check ( #72 )
2021-01-04 18:52:35 +01:00
Alice Ryhl
31e3a7db42
Update write_decimal max string length ( #73 )
2021-01-03 12:36:55 +01:00
Carl Lerche
0fb264826d
chore: update to Tokio 1.0 ( #70 )
2020-12-23 09:41:23 -08:00
Alice Ryhl
8ecd82107e
Remove note about AsyncBufRead ( #68 )
2020-10-24 14:42:24 -07:00
Carl Lerche
77df32d15e
Track Tokio v0.3 changes ( #67 )
2020-10-22 20:18:54 -07:00
Raphael Megzari
b552f53c3f
fix typo ( #64 )
2020-09-28 11:07:20 +02:00
Carl Lerche
16be963908
make more types public ( #59 )
2020-07-15 14:21:17 -07:00
Carl Lerche
b7bab20d0c
Split Connection::read_frame for readability ( #58 )
...
The `read_frame` function was fairly big. This splits up the function
into a separate `parse_frame` function. This should help with breaking
up the concept of framing into smaller chunks.
2020-06-24 10:57:57 -07:00
João Oliveira
98e712ac96
add a specific Command enum to buffer.rs ( #57 )
2020-06-21 17:55:15 +02:00
Carl Lerche
1cb8ec9b0f
rename pool to buffer ( #56 )
2020-06-12 19:38:27 -07:00
Carl Lerche
03f8281431
make more APIs public ( #55 )
2020-06-12 15:15:51 -07:00
Alice Ryhl
f1042d6b7c
simplify Subscribe::apply ( #54 )
2020-06-11 20:39:15 -07:00
Evan Cameron
0991ee25b2
Add explicit notify_sender drop ( #45 )
2020-06-11 13:43:24 -07:00
João Oliveira
c0bcee4300
add initial connection pool ( #53 )
2020-06-11 13:43:02 -07:00
João Oliveira
dc8993b56b
fix typo on Set command apply function: Get should be Set ( #52 )
2020-05-27 09:19:35 -07:00
Alice Ryhl
58e816e36e
fix broken sentence ( #51 )
2020-05-20 15:24:25 -05:00
avinassh
4c9ef8b31f
fix typos ( #50 )
2020-05-20 21:58:16 +02:00
Taiki Endo
4c9edec0b1
Remove unnecessary allocations ( #49 )
2020-05-19 13:37:02 -07:00
guanqun
bbaa16c6f5
typo fix ( #48 )
2020-05-18 11:25:04 -05:00
Carl Lerche
fdba12b964
use structopt instead of Clap ( #41 )
...
mini-redis uses the CLI derive pattern. Clap does not yet have a release
supporting this pattern. Using structopt allows mini-redis to avoid git
dependencies.
2020-05-12 16:48:16 -07:00
Carl Lerche
81888e36b5
fmt ( #34 )
2020-04-15 09:47:28 -07:00
Carl Lerche
ecf1eb4ea8
More comments and tweak details ( #33 )
...
Co-authored-by: Alice Ryhl <alice@ryhl.io >
2020-04-15 09:44:12 -07:00
Carl Lerche
5752d1e0fc
mostly docs, some code tweaks as well ( #31 )
...
Db background tasks never shutdown o_O
2020-04-13 21:02:32 -07:00
Carl Lerche
b0edd092f4
write conn comments ( #29 )
...
Co-Authored-By: Alice Ryhl <alice@ryhl.io >
2020-04-13 12:49:19 -07:00