-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: redis storage #1396
Feature: redis storage #1396
Conversation
7688144
to
ffc050a
Compare
c40a6a3
to
9f259f2
Compare
5ebeff7
to
5ed4765
Compare
Pull Request Test Coverage Report for Build 6832207731
💛 - Coveralls |
6a126dc
to
93de0f6
Compare
b86f91d
to
c059dc9
Compare
no functional change
No functional change
53297c0
to
7e67db1
Compare
Store Redis server address and port number in an extra file. Each test reads the file when connecting the Redis server
storages/redis-storage/Cargo.toml
Outdated
[dev-dependencies] | ||
test-suite.workspace = true | ||
tokio = { version = "1", features = ["rt", "macros"] } | ||
futures = "0.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
futures
is already declared in [dependencies]
so we can remove it here.
storages/redis-storage/Cargo.toml
Outdated
serde_json = "1.0.105" | ||
chrono = { version = "=0.4.31", features = ["serde", "wasmbind"] } | ||
futures = "0.3" | ||
toml = "0.8.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toml
is currently only used in tests/
so we can declare it in dev-dependencies
rather than dependencies
.
storages/redis-storage/Cargo.toml
Outdated
serde = { version = "1", features = ["derive"] } | ||
redis = "0.23.3" | ||
serde_json = "1.0.105" | ||
chrono = { version = "=0.4.31", features = ["serde", "wasmbind"] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there any reason to specify =0.4.31
? it would be enough to use 0.4.31
.
c60a8e9
to
5dea5c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work 👍 Looks all nice. Thanks a lot for the contribution 👍 👍 Let's ship this to the main!
I'm working for Redis storage.
There are many patches at the moment. I will rebase them into one patch later.
Please check the latest code.