Skip to content

Commit

Permalink
chore(deps): make deps optional (#6404)
Browse files Browse the repository at this point in the history
Signed-off-by: Kirill Fomichev <fanatid@ya.ru>
  • Loading branch information
fanatid authored Feb 9, 2021
1 parent 6f075d9 commit a67a5bc
Show file tree
Hide file tree
Showing 10 changed files with 193 additions and 200 deletions.
6 changes: 0 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

327 changes: 163 additions & 164 deletions Cargo.toml

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions lib/file-source/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ publish = false
license = "MIT"

[dependencies]
bstr = "0.2"
bytes = "0.5"
chrono = { version = "0.4.19", features = ["serde"] }
crc = "1.8.1"
dashmap = "4.0.0"
flate2 = "1.0.19"
futures = { version = "0.3", default-features = false, features = ["executor"] }
glob = "0.3.0"
scan_fmt = "0.2.5"
tracing = "0.1.15"
indexmap = {version = "1.5.1", features = ["serde-1"]}
flate2 = "1.0.19"
winapi = { version = "0.3", features = ["winioctl"] }
libc = "0.2"
tokio = { version = "0.2.13", features = ["rt-core", "blocking", "time"] }
scan_fmt = "0.2.5"
serde = { version = "1.0.117", features = ["derive"] }
serde_json = "1.0.33"
chrono = { version = "0.4.19", features = ["serde"] }
dashmap = "4.0.0"
bstr = "0.2"
tokio = { version = "0.2.13", features = ["rt-core", "blocking", "time"] }
tracing = "0.1.15"
winapi = { version = "0.3", features = ["winioctl"] }

[dev-dependencies]
quickcheck = "1"
Expand Down
4 changes: 2 additions & 2 deletions lib/k8s-test-framework/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ license = "MPL-2.0"

[dependencies]
k8s-openapi = { version = "0.11.0", default-features = false, features = ["v1_16"] }
once_cell = "1"
serde_json = "1"
tempfile = "3"
once_cell = "1"
tokio = { version = "0.2", features = ["process", "io-util"] }
tokio = { version = "0.2", features = ["io-util", "process"] }

[dev-dependencies]
tokio = { version = "0.2", features = ["macros", "rt-threaded"] }
6 changes: 3 additions & 3 deletions lib/remap-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ path = "src/main.rs"

[dependencies]
bytes = "0.5.6"
exitcode = "1.1.2"
prettytable-rs = { version = "0.8.0", default-features = false, optional = true }
regex = { version = "1.3.9", default-features = false, optional = true }
remap = { package = "remap-lang", path = "../remap-lang" }
remap-functions = { path = "../remap-functions" }
rustyline = { version = "7.0.0", default-features = false, optional = true }
serde_json = "1"
structopt = { version = "0.3", default-features = false }
thiserror = "1"
rustyline = { version = "7.0.0", default-features = false, optional = true }
exitcode = "1.1.2"
prettytable-rs = { version = "0.8.0", default-features = false, optional = true }
webbrowser = { version = "0.5.5", default-features = false, optional = true }

[features]
Expand Down
8 changes: 4 additions & 4 deletions lib/remap-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ url = { version = "2", optional = true }
uuid = { version = "0.8", features = ["v4"], optional = true }

[dev-dependencies]
shared = { path = "../shared", features = ["btreemap"] }
anyhow = "1"
shared = { path = "../shared", features = ["btreemap"] }

[features]
default = [
Expand Down Expand Up @@ -78,9 +78,9 @@ default = [
"parse_grok",
"parse_json",
"parse_key_value",
"parse_syslog",
"parse_regex",
"parse_regex_all",
"parse_syslog",
"parse_timestamp",
"parse_tokens",
"parse_url",
Expand All @@ -99,9 +99,9 @@ default = [
"to_bool",
"to_float",
"to_int",
"to_string",
"to_syslog_facility",
"to_syslog_level",
"to_string",
"to_syslog_severity",
"to_timestamp",
"to_unix_timestamp",
Expand Down Expand Up @@ -149,9 +149,9 @@ parse_duration = []
parse_glog = ["chrono"]
parse_grok = ["grok"]
parse_json = ["serde_json"]
parse_key_value = ["nom"]
parse_regex = ["regex"]
parse_regex_all = ["regex"]
parse_key_value = ["nom"]
parse_syslog = ["syslog_loose"]
parse_timestamp = ["shared/conversion"]
parse_tokens = ["shared/tokenize"]
Expand Down
2 changes: 1 addition & 1 deletion lib/remap-lang/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ pest = "2"
pest_derive = "2"
regex = "1"
serde = "1"
thiserror = "1"
termcolor = "1"
thiserror = "1"

[dev-dependencies]
criterion = "0.3"
4 changes: 2 additions & 2 deletions lib/tracing-limit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ publish = false
license = "MPL-2.0"

[dependencies]
ansi_term = "0.12"
tracing-core = "0.1"
tracing-subscriber = "0.2"
ansi_term = "0.12"

[dev-dependencies]
tracing = "0.1.15"
criterion = "0.3"
tracing = "0.1.15"

[[bench]]
name = "limit"
Expand Down
8 changes: 4 additions & 4 deletions lib/vector-api-client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ serde_json = { version = "1.0.33", features = ["raw_value"] }
anyhow = "1.0.28"

# Tokio / Futures
futures = { version = "0.3", default-features = false, features = ["compat", "io-compat"] }
tokio = { version = "0.2.13", features = ["blocking", "fs", "signal", "io-std", "macros", "rt-core", "rt-threaded", "uds", "sync"] }
async-trait = "0.1"
futures = { version = "0.3", default-features = false, features = ["compat", "io-compat"] }
tokio = { version = "0.2.13", features = ["blocking", "fs", "io-std", "macros", "rt-core", "rt-threaded", "signal", "sync", "uds"] }

# GraphQL
graphql_client = "0.9.0"
Expand All @@ -28,7 +28,7 @@ reqwest = { version = "0.10.9", features = ["json"] }
tokio-tungstenite = { version = "0.11.0", features = ["tls"] }

# External libs
weak-table = "0.3.0"
chrono = { version = "0.4.6", features = ["serde"] }
url = "2.2.0"
uuid = { version = "0.8", features = ["serde", "v4"] }
chrono = { version = "0.4.6", features = ["serde"] }
weak-table = "0.3.0"
12 changes: 6 additions & 6 deletions lib/vector-wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ license = "MPL-2.0"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[features]
default = ["guest"]
guest = []

[dependencies]
serde_json = "1.0.51"
anyhow = "1.0.28"
serde = { version = "1", features = ["derive"] }
serde_json = "1.0.51"
tracing = "0.1.15"
anyhow = "1.0.28"

[features]
default = ["guest"]
guest = []

0 comments on commit a67a5bc

Please sign in to comment.