-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* See changelog.
- Loading branch information
Showing
144 changed files
with
15,717 additions
and
9,224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "fred" | ||
version = "4.3.2" | ||
version = "5.0.0-beta.1" | ||
authors = ["Alec Embke <[email protected]>"] | ||
edition = "2018" | ||
description = "An async Redis client for Rust built on Futures and Tokio." | ||
|
@@ -16,32 +16,37 @@ all-features = true | |
rustdoc-args = ["--cfg", "docsrs"] | ||
|
||
[dependencies] | ||
arcstr = "1.1" | ||
arc-swap = "1.5" | ||
tokio = { version = "1", features = ["full"] } | ||
bytes = "1.0" | ||
tokio-util = { version = "0.6", features = ["codec"] } | ||
cfg-if = "1.0.0" | ||
bytes = "1.1" | ||
bytes-utils = "0.1" | ||
futures = "0.3" | ||
parking_lot = "0.11" | ||
lazy_static = "1.4" | ||
redis-protocol = "3.0" | ||
redis-protocol = { version = "4.0", features = ["decode-mut"] } | ||
log = "0.4" | ||
pretty_env_logger = "0.4" | ||
float-cmp = "0.8" | ||
url = "2.2" | ||
native-tls = { version = "0.2", optional = true } | ||
tokio-native-tls = { version = "0.3", optional = true } | ||
rand = "0.8" | ||
tokio-util = { version = "0.6", features = ["codec"] } | ||
tokio-stream = "0.1" | ||
indexmap = { version = "1.7", optional = true } | ||
sha-1 = "0.9" | ||
tracing = { version = "0.1", optional = true } | ||
tracing-futures = { version = "0.2", optional = true } | ||
rand = "0.8" | ||
async-trait = "0.1" | ||
semver = "1.0" | ||
native-tls = { version = "0.2", optional = true } | ||
tokio-native-tls = { version = "0.3", optional = true } | ||
tracing = { version = "0.1", optional = true } | ||
tracing-futures = { version = "0.2", optional = true } | ||
nom = { version = "6.1", optional = true } | ||
serde_json = { version = "1", optional = true } | ||
|
||
[dev-dependencies] | ||
prometheus = "0.12" | ||
subprocess = "0.2.7" | ||
maplit = "1.0" | ||
|
||
[lib] | ||
doc = true | ||
|
@@ -60,15 +65,29 @@ required-features = ["partial-tracing"] | |
name = "monitor" | ||
required-features = ["monitor"] | ||
|
||
[[example]] | ||
name = "prometheus" | ||
required-features = ["metrics"] | ||
|
||
[[example]] | ||
name = "pubsub" | ||
required-features = ["subscriber-client"] | ||
|
||
[[example]] | ||
name = "serde" | ||
required-features = ["serde-json"] | ||
|
||
[features] | ||
default = ["ignore-auth-error", "pool-prefer-active", "enable-tls", "metrics"] | ||
default = ["ignore-auth-error", "pool-prefer-active", "enable-tls"] | ||
fallback = [] | ||
serde-json = ["serde_json"] | ||
subscriber-client = [] | ||
metrics = [] | ||
ignore-auth-error = [] | ||
enable-tls = ["native-tls", "tokio-native-tls"] | ||
vendored-tls = ["enable-tls", "native-tls/vendored"] | ||
mocks = [] | ||
reconnect-on-auth-error = [] | ||
index-map = ["indexmap"] | ||
pool-prefer-active = [] | ||
full-tracing = ["partial-tracing", "tracing", "tracing-futures"] | ||
partial-tracing = ["tracing", "tracing-futures"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
SHELL := /bin/bash | ||
|
||
.PHONY: clean install test-all-features test-default-features test-no-features test-sentinel test-all test | ||
|
||
clean: | ||
rm -rf tests/tmp/redis* && cargo clean | ||
|
||
install: | ||
source tests/environ && tests/scripts/full_install.sh | ||
|
||
test-all-features: | ||
source tests/environ && tests/runners/all-features.sh | ||
|
||
test-default-features: | ||
source tests/environ && tests/runners/default-features.sh | ||
|
||
test-no-features: | ||
source tests/environ && tests/runners/no-features.sh | ||
|
||
test-sentinel: | ||
source tests/environ && tests/runners/sentinel-features.sh | ||
|
||
test-all: | ||
source tests/environ && tests/runners/everything.sh | ||
|
||
test: test-default-features |
Oops, something went wrong.