-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
93 lines (80 loc) · 4.46 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[package]
name = "tikv-importer"
version = "5.0.6"
authors = ["The TiKV Authors"]
description = "Tool to help ingesting large number of KV pairs into TiKV cluster"
license = "Apache-2.0"
repository = "https://github.com/tikv/importer/"
edition = "2018"
publish = false
[lib]
name = "tikv_importer"
[[bin]]
name = "tikv-importer"
[[test]]
name = "integrations"
path = "tests/integrations/import/mod.rs"
[dependencies]
clap = "2.33"
cmd = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false, features = ["prost-codec"] }
crc32fast = "1.2"
async-channel = "1.5"
engine_rocks = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false, features = ["prost-codec"] }
engine_traits = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
futures = { version = "0.3", features = ["thread-pool"] }
grpcio = { version = "0.8", default-features = false, features = ["openssl-vendored"] }
keys = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
kvproto = { branch = "release-5.0", git = "https://github.com/pingcap/kvproto.git", default-features = false, features = ["prost-codec"] }
lazy_static = "1.4"
log_wrappers = { version = "0.0.1", git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
pd_client = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
prometheus = { version = "0.8", features = ["nightly", "push"] }
thiserror = "1.0"
raftstore = { version = "0.0.1", git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false, features = ["prost-codec"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
slog = { version = "2.5", features = ["max_level_trace", "release_max_level_debug"] }
slog-global = { version = "0.1", git = "https://github.com/breeswish/slog-global.git", rev = "0e23a5baff302a9d7bccd85f8f31e43339c2f2c1" }
tikv = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false, features = ["prost-codec", "test-engines-rocksdb"] }
tikv_util = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
security = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
txn_types = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
tipb = { git = "https://github.com/pingcap/tipb.git", default-features = false, features = ["prost-codec"] }
toml = "0.4"
uuid = { version = "0.7", features = [ "serde", "v4" ] }
hex = "0.3"
collections = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
futures-timer = "3"
# make sure this is the same as TiKV's Cargo.lock
openssl-src = "=111.10.2+1.1.1g"
[dependencies.engine_rocksdb]
git = "https://github.com/tikv/rust-rocksdb.git"
package = "rocksdb"
features = ["encryption", "static_libcpp"]
branch = "tikv-5.0"
[dev-dependencies]
tempdir = "0.3"
rand = "0.7"
test_util = { git = "https://github.com/tikv/tikv.git", branch = "release-5.0", default-features = false }
[features]
tcmalloc = ['tikv/tcmalloc']
jemalloc = ['tikv/jemalloc', 'engine_rocks/jemalloc']
portable = ['tikv/portable']
sse = ['tikv/sse']
mem-profiling = ['tikv/mem-profiling']
[patch.crates-io]
# TODO: remove this when new raft-rs is published.
raft = { git = "https://github.com/tikv/raft-rs", branch = "master", default-features = false }
raft-proto = { git = "https://github.com/tikv/raft-rs", branch = "master", default-features = false }
protobuf = { git = "https://github.com/pingcap/rust-protobuf", rev = "65e9df20fbcbcf2409d5ee86a2332ecd04c534f8" }
# TODO: remove this replacement after rusoto_s3 truly supports virtual-host style (https://github.com/rusoto/rusoto/pull/1823).
rusoto_core = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
rusoto_credential = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
rusoto_kms = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles", features = ["serialize_structs"] }
rusoto_mock = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
rusoto_s3 = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
rusoto_sts = { git = "https://github.com/tikv/rusoto", branch = "gh1482-s3-addr-styles" }
[profile.dev]
panic = "abort"
[profile.release]
panic = "abort"