mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-06 08:02:36 +00:00
Update deps
This commit is contained in:
1 parent
d4cb1c9a3a
commit
e8a7eb9a3f
5 files changed
+13
-26
No files matched your search
+2
-2
@@ -136,7 +136,7 @@ ctrlc = ["tokio/signal"]
|
||||
[dependencies]
|
||||
# Common
|
||||
tokio = { version = "1", features = ["sync", "io-util", "net", "time", "rt", "rt-multi-thread"] }
|
||||
protobuf = "=3.4.0"
|
||||
protobuf = "=3.6.0"
|
||||
thiserror = "1.0"
|
||||
futures = "0.3"
|
||||
async-trait = "0.1"
|
||||
@@ -270,4 +270,4 @@ tokio = { version = "1", features = ["fs", "sync", "io-util", "net", "time", "rt
|
||||
[build-dependencies]
|
||||
cc = "1.0"
|
||||
bindgen = "0.69"
|
||||
protobuf-codegen = "=3.4.0"
|
||||
protobuf-codegen = "=3.6.0"
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file is generated by rust-protobuf 3.4.0. Do not edit
|
||||
// .proto file is parsed by protoc 26.1
|
||||
// This file is generated by rust-protobuf 3.6.0. Do not edit
|
||||
// .proto file is parsed by protoc 28.1
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
@@ -9,7 +9,6 @@
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(box_pointers)]
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
@@ -24,7 +23,7 @@
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_6_0;
|
||||
|
||||
// @@protoc_insertion_point(message:SelectorCache)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file is generated by rust-protobuf 3.4.0. Do not edit
|
||||
// .proto file is parsed by protoc 26.1
|
||||
// This file is generated by rust-protobuf 3.6.0. Do not edit
|
||||
// .proto file is parsed by protoc 28.1
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
@@ -9,7 +9,6 @@
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(box_pointers)]
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
@@ -24,7 +23,7 @@
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_6_0;
|
||||
|
||||
// @@protoc_insertion_point(message:Domain)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// This file is generated by rust-protobuf 3.4.0. Do not edit
|
||||
// .proto file is parsed by protoc 26.1
|
||||
// This file is generated by rust-protobuf 3.6.0. Do not edit
|
||||
// .proto file is parsed by protoc 28.1
|
||||
// @generated
|
||||
|
||||
// https://github.com/rust-lang/rust-clippy/issues/702
|
||||
@@ -9,7 +9,6 @@
|
||||
#![allow(unused_attributes)]
|
||||
#![cfg_attr(rustfmt, rustfmt::skip)]
|
||||
|
||||
#![allow(box_pointers)]
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs)]
|
||||
#![allow(non_camel_case_types)]
|
||||
@@ -24,7 +23,7 @@
|
||||
|
||||
/// Generated files are compatible only with the same version
|
||||
/// of protobuf runtime.
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
|
||||
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_6_0;
|
||||
|
||||
// @@protoc_insertion_point(message:Dns)
|
||||
#[derive(PartialEq,Clone,Default,Debug)]
|
||||
|
||||
@@ -174,12 +174,7 @@ pub fn new(
|
||||
.destination(&*option::DEFAULT_TUN_IPV4_GW)
|
||||
.mtu(1500);
|
||||
|
||||
#[cfg(not(any(
|
||||
target_arch = "mips",
|
||||
target_arch = "mips64",
|
||||
target_arch = "mipsel",
|
||||
target_arch = "mipsel64",
|
||||
)))]
|
||||
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
|
||||
{
|
||||
cfg.netmask(&*option::DEFAULT_TUN_IPV4_MASK);
|
||||
}
|
||||
@@ -191,12 +186,7 @@ pub fn new(
|
||||
.destination(settings.gateway)
|
||||
.mtu(settings.mtu);
|
||||
|
||||
#[cfg(not(any(
|
||||
target_arch = "mips",
|
||||
target_arch = "mips64",
|
||||
target_arch = "mipsel",
|
||||
target_arch = "mipsel64",
|
||||
)))]
|
||||
#[cfg(not(any(target_arch = "mips", target_arch = "mips64")))]
|
||||
{
|
||||
cfg.netmask(settings.netmask);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user