Skip to content

Commit 7bc6dea

Browse files
committed
Clean up Cargo.toml files
1 parent ce7c69a commit 7bc6dea

File tree

16 files changed

+340
-317
lines changed

16 files changed

+340
-317
lines changed

quickwit-actors/Cargo.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,22 @@ name = "quickwit-actors"
33
version = "0.3.0"
44
authors = ["Quickwit, Inc. <[email protected]>"]
55
edition = "2021"
6-
license = 'AGPL-3.0-or-later' # For a commercial, license, contact [email protected]
6+
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
77
description = "Actor framework used in quickwit"
88
repository = "https://github.com/quickwit-oss/quickwit"
99
homepage = "https://quickwit.io/"
1010
documentation = "https://quickwit.io/docs/"
1111

12-
1312
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
14-
1513
[dependencies]
16-
tokio = { version = "^1.19", features = ["full"] }
17-
async-trait = "0.1"
1814
anyhow = "1"
19-
thiserror = "1"
15+
async-trait = "0.1"
2016
flume = "0.10"
2117
futures = "0.3"
22-
tracing = "0.1.29"
2318
quickwit-common = { version = "0.3.0", path = "../quickwit-common" }
19+
thiserror = "1"
20+
tokio = { version = "^1.19", features = ["full"] }
21+
tracing = "0.1.29"
2422

2523
[dev-dependencies]
2624
rand = "0.8"

quickwit-aws/Cargo.toml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
[package]
22
name = "quickwit-aws"
33
version = "0.3.0"
4-
authors = ['Quickwit, Inc. <[email protected]>']
4+
authors = ["Quickwit, Inc. <[email protected]>"]
55
edition = "2021"
66
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
77
description = "Utilities for working with AWS."
88
repository = "https://github.com/quickwit-oss/quickwit"
99
homepage = "https://quickwit.io/"
1010
documentation = "https://quickwit.io/docs/"
1111

12-
1312
[dependencies]
1413
anyhow = "1"
1514
futures = "0.3"
15+
hyper-rustls = "0.23"
1616
once_cell = "1"
1717
rand = "0.8"
18-
rusoto_core = {version = "0.48", default-features = false, features = ["rustls"]}
19-
rusoto_kinesis = { version = "0.48", default-features = false, features = ["rustls"], optional = true }
20-
rusoto_s3 = { version = "0.48", default-features = false, features = ["rustls"] }
18+
rusoto_core = { version = "0.48", default-features = false, features = [
19+
"rustls"
20+
] }
21+
rusoto_kinesis = { version = "0.48", default-features = false, features = [
22+
"rustls"
23+
], optional = true }
24+
rusoto_s3 = { version = "0.48", default-features = false, features = [
25+
"rustls"
26+
] }
2127
tokio = "1.19"
2228
tracing = "0.1"
23-
hyper-rustls = "0.23"
2429

2530
[features]
2631
kinesis = ["rusoto_kinesis"]

quickwit-cli/Cargo.toml

Lines changed: 47 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -19,58 +19,75 @@ name = "generate_markdown"
1919
path = "src/generate_markdown.rs"
2020

2121
[dependencies]
22-
async-trait = "0.1"
2322
anyhow = "1"
23+
async-trait = "0.1"
24+
atty = "0.2"
2425
byte-unit = { version = "4", default-features = false, features = ["serde"] }
2526
clap = { version = "= 3.1", features = ["yaml", "env"] }
27+
colored = "2.0.0"
28+
console-subscriber = { version = "0.1.0", optional = true }
29+
futures = "0.3"
30+
humansize = "1.1.1"
31+
humantime = "2.1.0"
32+
itertools = "0.10.3"
33+
once_cell = "1"
34+
openssl-probe = { version = "0.1.4", optional = true }
35+
opentelemetry = { version = "0.17", features = ["rt-tokio"] }
36+
opentelemetry-jaeger = { version = "0.16", features = ["rt-tokio"] }
2637
quickwit-actors = { version = "0.3.0", path = "../quickwit-actors" }
27-
quickwit-core = { version = "0.3.0", path = "../quickwit-core" }
28-
quickwit-directories = { version = "0.3.0", path = "../quickwit-directories" }
38+
quickwit-cluster = { version = "0.3.0", path = "../quickwit-cluster" }
2939
quickwit-common = { version = "0.3.0", path = "../quickwit-common" }
3040
quickwit-config = { version = "0.3.0", path = "../quickwit-config" }
31-
quickwit-metastore = { version = "0.3.0", path = "../quickwit-metastore" }
32-
quickwit-storage = { version = "0.3.0", path = "../quickwit-storage" }
41+
quickwit-core = { version = "0.3.0", path = "../quickwit-core" }
42+
quickwit-directories = { version = "0.3.0", path = "../quickwit-directories" }
3343
quickwit-doc-mapper = { version = "0.3.0", path = "../quickwit-doc-mapper" }
3444
quickwit-indexing = { version = "0.3.0", path = "../quickwit-indexing" }
3545
quickwit-ingest-api = { version = "0.3.0", path = "../quickwit-ingest-api" }
46+
quickwit-metastore = { version = "0.3.0", path = "../quickwit-metastore" }
47+
quickwit-proto = { version = "0.3.0", path = "../quickwit-proto" }
3648
quickwit-search = { version = "0.3.0", path = "../quickwit-search" }
3749
quickwit-serve = { version = "0.3.0", path = "../quickwit-serve" }
50+
quickwit-storage = { version = "0.3.0", path = "../quickwit-storage" }
3851
quickwit-telemetry = { version = "0.3.0", path = "../quickwit-telemetry" }
39-
quickwit-proto = { version = "0.3.0", path = "../quickwit-proto" }
40-
quickwit-cluster = { version = "0.3.0", path = "../quickwit-cluster" }
41-
tabled = "0.7"
42-
tracing = "0.1.29"
43-
tracing-subscriber = {version = "0.3", features = ["time", "std", "env-filter"] }
44-
tracing-opentelemetry = "0.17"
45-
opentelemetry = { version = "0.17", features = ["rt-tokio"] }
46-
opentelemetry-jaeger = { version = "0.16", features = ["rt-tokio"] }
47-
tokio = { version = "1", features = ["full"] }
48-
tokio-util = { version = "0.7", features = ["full"] }
49-
atty = "0.2"
50-
once_cell = "1"
52+
regex = "1.5.4"
5153
serde_json = "1.0"
54+
tabled = "0.7"
5255
tempfile = "3"
53-
humansize = "1.1.1"
54-
openssl-probe = { version = "0.1.4", optional = true }
55-
itertools = "0.10.3"
56-
colored = "2.0.0"
57-
futures = "0.3"
58-
regex = "1.5.4"
56+
thousands = "0.2.0"
5957
time = { version = "0.3.5", features = ["macros"] }
60-
console-subscriber = { version = "0.1.0", optional = true }
58+
tokio = { version = "1", features = ["full"] }
59+
tokio-util = { version = "0.7", features = ["full"] }
6160
toml = "0.5.8"
62-
humantime = "2.1.0"
63-
thousands = "0.2.0"
61+
tracing = "0.1.29"
62+
tracing-opentelemetry = "0.17"
63+
tracing-subscriber = { version = "0.3", features = [
64+
"time",
65+
"std",
66+
"env-filter"
67+
] }
6468

6569
[dev-dependencies]
6670
assert_cmd = "2"
6771
predicates = "2"
68-
reqwest = { version = "0.11", default-features=false, features = ["json", "rustls-tls"] }
72+
reqwest = { version = "0.11", default-features = false, features = [
73+
"json",
74+
"rustls-tls"
75+
] }
6976
serial_test = "0.7.0"
7077

7178
[features]
7279
ci-test = []
73-
tokio-console = ["console-subscriber"]
7480
openssl-support = ["openssl-probe"]
75-
release-feature-set = ["quickwit-metastore/postgres", "quickwit-indexing/kafka", "quickwit-indexing/kinesis", "openssl-support"]
76-
release-feature-vendored-set = ["quickwit-metastore/postgres", "quickwit-indexing/vendored-kafka", "quickwit-indexing/kinesis", "openssl-support"]
81+
tokio-console = ["console-subscriber"]
82+
release-feature-set = [
83+
"quickwit-metastore/postgres",
84+
"quickwit-indexing/kafka",
85+
"quickwit-indexing/kinesis",
86+
"openssl-support"
87+
]
88+
release-feature-vendored-set = [
89+
"quickwit-metastore/postgres",
90+
"quickwit-indexing/vendored-kafka",
91+
"quickwit-indexing/kinesis",
92+
"openssl-support"
93+
]

quickwit-cluster/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "quickwit-cluster"
33
version = "0.3.0"
4-
authors = ['Quickwit, Inc. <[email protected]>']
4+
authors = ["Quickwit, Inc. <[email protected]>"]
55
edition = "2021"
66
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
77
description = "Quickwit's cluster membership"
@@ -12,19 +12,19 @@ documentation = "https://quickwit.io/docs/"
1212
[dependencies]
1313
anyhow = "1.0"
1414
async-trait = "0.1"
15+
chitchat = "0.4"
1516
flume = "0.10"
16-
quickwit-common = { version = "0.3.0", path = "../quickwit-common"}
17-
quickwit-config = { version = "0.3.0", path = "../quickwit-config"}
17+
itertools = "0.10"
18+
quickwit-common = { version = "0.3.0", path = "../quickwit-common" }
19+
quickwit-config = { version = "0.3.0", path = "../quickwit-config" }
20+
quickwit-proto = { version = "0.3.0", path = "../quickwit-proto" }
1821
serde = { version = "1.0", features = ["derive"] }
1922
serde_json = "1.0"
2023
thiserror = "1.0"
21-
tokio = { version = "1.19", features = [ "full" ] }
22-
tokio-stream = { version = "0.1", features = [ "sync" ] }
24+
tokio = { version = "1.19", features = ["full"] }
25+
tokio-stream = { version = "0.1", features = ["sync"] }
2326
tracing = "0.1.29"
2427
uuid = { version = "1.1", features = ["v4", "serde"] }
25-
quickwit-proto = { version = "0.3.0", path = "../quickwit-proto"}
26-
chitchat = "0.4"
27-
itertools = '0.10'
2828

2929
[dev-dependencies]
3030
tempfile = "3"

quickwit-common/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "quickwit-common"
33
version = "0.3.0"
4-
authors = ['Quickwit, Inc. <[email protected]>']
4+
authors = ["Quickwit, Inc. <[email protected]>"]
55
edition = "2021"
66
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
77
description = "Util crate of quickwit"
@@ -22,7 +22,7 @@ regex = "1"
2222
serde = "1.0"
2323
tokio = { version = "1", features = ["fs", "macros", "rt"] }
2424
tracing = "0.1.29"
25-
warp = '0.3'
25+
warp = "0.3"
2626

2727
[dev-dependencies]
2828
serde_json = "1.0"

quickwit-core/Cargo.toml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,36 @@ repository = "https://github.com/quickwit-oss/quickwit"
99
homepage = "https://quickwit.io/"
1010
documentation = "https://quickwit.io/docs/"
1111

12-
1312
[dependencies]
1413
anyhow = "1.0"
1514
async-trait = "0.1"
1615
byte-unit = { version = "4", default-features = false, features = ["serde"] }
16+
futures = "0.3"
17+
futures-util = { version = "0.3.1", default-features = false }
1718
quickwit-actors = { version = "0.3.0", path = "../quickwit-actors" }
18-
quickwit-indexing = { version = "0.3.0", path = "../quickwit-indexing" }
1919
quickwit-common = { version = "0.3.0", path = "../quickwit-common" }
20+
quickwit-config = { version = "0.3.0", path = "../quickwit-config" }
21+
quickwit-directories = { version = "0.3.0", path = "../quickwit-directories" }
2022
quickwit-doc-mapper = { version = "0.3.0", path = "../quickwit-doc-mapper" }
23+
quickwit-indexing = { version = "0.3.0", path = "../quickwit-indexing" }
2124
quickwit-metastore = { version = "0.3.0", path = "../quickwit-metastore" }
22-
quickwit-directories = { version = "0.3.0", path = "../quickwit-directories" }
2325
quickwit-storage = { version = "0.3.0", path = "../quickwit-storage" }
24-
quickwit-config = { version = "0.3.0", path = "../quickwit-config" }
25-
tokio = { version = "1", features = ["full"] }
26-
tokio-util = { version = "0.7", features = ["full"] }
2726
rand = "0.8"
28-
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa", default-features=false, features = ["mmap", "lz4-compression", "zstd-compression", "quickwit"] }
29-
futures = "0.3"
30-
futures-util = { version = "0.3.1", default-features = false }
31-
uuid = { version = "1.1", features = ["v4", "serde"] }
3227
serde = { version = "1.0", features = ["derive"] }
3328
serde_json = "1.0"
34-
tracing = "0.1.29"
35-
tokio-stream = "0.1"
36-
tempfile = '3'
29+
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa", default-features = false, features = [
30+
"mmap",
31+
"lz4-compression",
32+
"zstd-compression",
33+
"quickwit"
34+
] }
35+
tempfile = "3"
3736
thiserror = "1"
37+
tokio = { version = "1", features = ["full"] }
38+
tokio-stream = "0.1"
39+
tokio-util = { version = "0.7", features = ["full"] }
40+
tracing = "0.1.29"
41+
uuid = { version = "1.1", features = ["v4", "serde"] }
3842

3943
[dev-dependencies]
4044
mockall = "0.11"

quickwit-directories/Cargo.toml

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,35 @@
11
[package]
2-
name = 'quickwit-directories'
2+
name = "quickwit-directories"
33
version = "0.3.0"
4-
authors = ['Quickwit, Inc. <[email protected]>']
5-
edition = '2021'
6-
license = 'AGPL-3.0-or-later' # For a commercial, license, contact [email protected]
4+
authors = ["Quickwit, Inc. <[email protected]>"]
5+
edition = "2021"
6+
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
77
description = "Crate containing all of the custom tantivy Directory used in quickwit"
88
repository = "https://github.com/quickwit-oss/quickwit"
99
homepage = "https://quickwit.io/"
1010
documentation = "https://quickwit.io/docs/"
1111

12-
1312
[dependencies]
13+
anyhow = "1"
14+
async-trait = "0.1"
1415
crossbeam = "0.8"
1516
futures = "0.3"
17+
once_cell = "1"
18+
quickwit-storage = { version = "0.3.0", path = "../quickwit-storage" }
1619
serde = "1"
1720
serde_cbor = "0.11"
1821
serde_json = "1"
19-
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa", default-features=false, features = ["mmap", "lz4-compression", "zstd-compression", "quickwit"] }
20-
quickwit-storage = { version = "0.3.0", path = "../quickwit-storage" }
21-
uuid = { version = "1.1", features = ["v4", "serde"] }
22-
once_cell = "1"
23-
tokio = { version = "1", features = ["sync"] }
24-
tracing = "0.1.29"
22+
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa", default-features = false, features = [
23+
"mmap",
24+
"lz4-compression",
25+
"zstd-compression",
26+
"quickwit"
27+
] }
2528
thiserror = "1"
26-
anyhow = "1"
27-
async-trait = "0.1"
2829
time = { version = "0.3.9", features = ["std"] }
30+
tokio = { version = "1", features = ["sync"] }
31+
tracing = "0.1.29"
32+
uuid = { version = "1.1", features = ["v4", "serde"] }
2933

3034
[dev-dependencies]
31-
tempfile = '3'
35+
tempfile = "3"

quickwit-doc-mapper/Cargo.toml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "quickwit-doc-mapper"
33
version = "0.3.0"
44
authors = ["Quickwit, Inc. <[email protected]>"]
55
edition = "2021"
6-
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
6+
license = "AGPL-3.0-or-later" # For a commercial, license, contact [email protected]
77
description = "Quickwit index configuration"
88
repository = "https://github.com/quickwit-oss/quickwit"
99
homepage = "https://quickwit.io/"
@@ -13,32 +13,29 @@ documentation = "https://quickwit.io/docs/"
1313
anyhow = "1"
1414
base64 = "0.13"
1515
dyn-clone = "1.0.4"
16-
itertools = '0.10'
16+
fnv = "1"
17+
itertools = "0.10"
1718
once_cell = "1.12"
1819
regex = "1"
1920
serde = { version = "1.0", features = ["derive"] }
2021
serde_json = "1.0"
21-
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa", default-features=false, features = ["mmap", "lz4-compression", "zstd-compression", "quickwit"] }
22-
tantivy-query-grammar = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa"}
22+
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa", default-features = false, features = [
23+
"mmap",
24+
"lz4-compression",
25+
"zstd-compression",
26+
"quickwit"
27+
] }
28+
tantivy-query-grammar = { git = "https://github.com/quickwit-oss/tantivy/", rev = "88054aa" }
2329
thiserror = "1.0"
2430
tracing = "0.1.29"
2531
typetag = "0.1"
26-
fnv = "1"
27-
28-
[dependencies.quickwit-proto]
29-
version = "0.3"
30-
path = '../quickwit-proto'
31-
32-
[dependencies.mockall]
33-
version = "0.11"
34-
optional = true
32+
quickwit-proto = { version = "0.3", path = "../quickwit-proto" }
33+
mockall = { version = "0.11", optional = true }
3534

3635
[dev-dependencies]
37-
mockall = "0.11"
3836
criterion = "0.3"
39-
40-
[dev-dependencies.matches]
41-
version = "0.1.8"
37+
matches = "0.1.8"
38+
mockall = "0.11"
4239

4340
[features]
4441
testsuite = ["mockall"]

0 commit comments

Comments
 (0)