diff --git a/Cargo.toml b/Cargo.toml index 36cb413..8c91335 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,29 +1,46 @@ [package] -name = "consensus" -version = "6.7.1" -authors = ["Rivtower Technologies "] -edition = "2021" +name = 'consensus' +version = '6.7.1-beta1' +edition = '2021' +authors = ['Rivtower Technologies '] [dependencies] -clap = { version = "4.3", features = ["cargo"] } -tonic = "0.9" -toml = "0.7" -rand = "0.8" -# `release_max_level_trace` enables configuring log level at runtime. -slog = { version = "2.7", features = ["release_max_level_trace"] } -sloggers = "2.1" -log = "0.4" -hex = "0.4" -raft = { git = "https://github.com/cita-cloud/raft-rs", version = "0.6.0", default-features = false, features = ["prost-codec"] } -prost = "0.11" -tokio = { version = "1.29", features = ["fs", "io-util", "rt", "macros"] } -serde = "1.0" -bytes = "1.4" -tower = "0.4" -flume = "0.10" +tonic = '0.9' +toml = '0.7' +rand = '0.8' +sloggers = '2.1' +log = '0.4' +hex = '0.4' +prost = '0.11' +serde = '1.0' +bytes = '1.4' +tower = '0.4' +flume = '0.10' +cloud-util = '=0.7.1-beta1' +cita_cloud_proto = '=6.7.1-beta1' -cloud-util = { package = "cloud-util", git = "https://github.com/cita-cloud/cloud-common-rs.git" } -cita_cloud_proto = { package = "cita_cloud_proto", git = "https://github.com/cita-cloud/cloud-common-rs.git" } +[dependencies.clap] +version = '4.3' +features = ['cargo'] + +[dependencies.slog] +version = '2.7' +features = ['release_max_level_trace'] + +[dependencies.raft] +git = 'https://github.com/cita-cloud/raft-rs' +version = '0.6.0' +default-features = false +features = ['prost-codec'] + +[dependencies.tokio] +version = '1.29' +features = [ + 'fs', + 'io-util', + 'rt', + 'macros', +] [dev-dependencies] -tempfile = "3.6" +tempfile = '3.6'