Skip to content

Commit 676d136

Browse files
authored
Merge pull request #12 from plule/tp-upgrade
deps upgrade
2 parents 2215b73 + 5d85a18 commit 676d136

15 files changed

+38
-48
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
1111
### Changed
1212

1313
- All the request now return a reply that contain both the data and the corresponding text fragments
14+
- General dependency update
1415

1516
### Removed
1617

Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,21 @@ categories = ["api-bindings", "game-development", "games"]
1818
exclude = ["images/"]
1919

2020
[dependencies]
21-
protobuf = "=3.4.0"
21+
protobuf = "=3.7.2"
2222
byteorder = "1.5.0"
23-
num_enum = "0.7.1"
24-
log = "0.4.20"
25-
derive_more = "0.99.17"
23+
num_enum = "0.7.3"
24+
log = "0.4.26"
25+
derive_more = { version = "2.0", features = ["display"] }
2626
dfhack-proto = { version = "0.9.0", path = "dfhack-proto" }
27-
thiserror = "1.0.50"
27+
thiserror = "2"
2828

2929

3030
[dev-dependencies]
3131
bmp = "0.5.0"
32-
ctor = "0.2.5"
33-
lazy_static = "1.4.0"
34-
rand = "0.8.5"
35-
env_logger = "0.11.2"
32+
ctor = "0.4.1"
33+
lazy_static = "1.5.0"
34+
rand = "0.9.0"
35+
env_logger = "0.11.7"
3636

3737

3838
[features]

dfhack-proto/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ categories = ["api-bindings", "game-development", "games"]
1313
reflection = []
1414

1515
[dependencies]
16-
protobuf = "=3.4.0"
16+
protobuf = "=3.7.2"
1717

1818
[build-dependencies]
19-
protobuf-codegen = "=3.4.0"
20-
protobuf = "=3.4.0"
19+
protobuf-codegen = "=3.7.2"
20+
protobuf = "=3.7.2"
2121
dfhack-proto-srcs = { version = "0.9.0", path = "../dfhack-proto-srcs" }
2222
regex = "1"
2323
heck = "0.5.0"

dfhack-proto/src/generated/messages/AdventureControl.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322
2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
// @@protoc_insertion_point(message:AdventureControl.MoveCommandParams)
2928
#[derive(PartialEq,Clone,Default,Debug)]

dfhack-proto/src/generated/messages/Basic.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322
2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
// @@protoc_insertion_point(message:dfproto.EnumItemName)
2928
#[derive(PartialEq,Clone,Default,Debug)]

dfhack-proto/src/generated/messages/BasicApi.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322
2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
// @@protoc_insertion_point(message:dfproto.GetWorldInfoOut)
2928
#[derive(PartialEq,Clone,Default,Debug)]

dfhack-proto/src/generated/messages/CoreProtocol.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322
2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
// @@protoc_insertion_point(message:dfproto.CoreTextFragment)
2928
#[derive(PartialEq,Clone,Default,Debug)]

dfhack-proto/src/generated/messages/DwarfControl.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322
2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
// @@protoc_insertion_point(message:DwarfControl.SidebarState)
2928
#[derive(PartialEq,Clone,Default,Debug)]

dfhack-proto/src/generated/messages/ItemdefInstrument.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322
2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
// @@protoc_insertion_point(message:ItemdefInstrument.InstrumentFlags)
2928
#[derive(PartialEq,Clone,Default,Debug)]

dfhack-proto/src/generated/messages/RemoteFortressReader.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// This file is generated by rust-protobuf 3.4.0. Do not edit
1+
// This file is generated by rust-protobuf 3.7.2. Do not edit
22
// .proto file is parsed by pure
33
// @generated
44

@@ -9,7 +9,6 @@
99
#![allow(unused_attributes)]
1010
#![cfg_attr(rustfmt, rustfmt::skip)]
1111

12-
#![allow(box_pointers)]
1312
#![allow(dead_code)]
1413
#![allow(missing_docs)]
1514
#![allow(non_camel_case_types)]
@@ -23,7 +22,7 @@
2322

2423
/// Generated files are compatible only with the same version
2524
/// of protobuf runtime.
26-
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_4_0;
25+
const _PROTOBUF_VERSION_CHECK: () = ::protobuf::VERSION_3_7_2;
2726

2827
#[derive(Hash, Eq)]
2928
// @@protoc_insertion_point(message:RemoteFortressReader.Coord)

0 commit comments

Comments
 (0)