Skip to content

Commit dbafae1

Browse files
committed
Downgrade dependencies to minimum compatible version of current major/minor branch
Uses latest major for versions >= 1, latest minor for versions < 1, i.e. the minimum semver-compatible one with the last released branch. This increases compatibility with user dependencies, while still serving the latest versions (with bugfixes/improvements) to users by default. Also updates parking_lot (0.11 -> 0.12) and glam (0.19 -> 0.20).
1 parent 039efac commit dbafae1

File tree

14 files changed

+49
-47
lines changed

14 files changed

+49
-47
lines changed

examples/array_export/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "array_export"
33
version = "0.1.0"
44
authors = ["The godot-rust developers"]
5-
publish = false
65
edition = "2018"
76
license = "MIT"
7+
publish = false
88

99
[lib]
1010
crate-type = ["cdylib"]

examples/dodge_the_creeps/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ crate-type = ["cdylib"]
1111

1212
[dependencies]
1313
gdnative = { path = "../../gdnative" }
14-
rand = "0.8.4"
14+
rand = "0.8"

examples/native_plugin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "native_plugin"
33
version = "0.1.0"
44
authors = ["The godot-rust developers"]
5-
publish = false
65
edition = "2018"
76
license = "MIT"
7+
publish = false
88

99
[lib]
1010
crate-type = ["cdylib"]

examples/scene_create/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ crate-type = ["cdylib"]
1111

1212
[dependencies]
1313
gdnative = { path = "../../gdnative" }
14-
glam = "0.19.0"

examples/signals/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name = "signals"
33
version = "0.1.0"
44
authors = ["The godot-rust developers"]
55
edition = "2018"
6-
publish = false
76
license = "MIT"
7+
publish = false
88

99
[lib]
1010
crate-type = ["cdylib"]

examples/spinning_cube/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
name = "spinning_cube"
33
version = "0.1.0"
44
authors = ["The godot-rust developers"]
5-
publish = false
65
edition = "2018"
76
license = "MIT"
7+
publish = false
88

99
[lib]
1010
crate-type = ["cdylib"]

gdnative-async/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ edition = "2018"
1616
gdnative-derive = { path = "../gdnative-derive", version = "=0.9.3" }
1717
gdnative-core = { path = "../gdnative-core", version = "=0.9.3" }
1818
gdnative-bindings = { path = "../gdnative-bindings", version = "=0.9.3" }
19-
futures-task = "0.3.17"
20-
atomic-waker = "1.0.0"
21-
once_cell = "1.8.0"
22-
parking_lot = "0.11.2"
23-
crossbeam-channel = "0.5.1"
24-
crossbeam-utils = "0.8.5"
19+
atomic-waker = "1"
20+
crossbeam-channel = "0.5"
21+
crossbeam-utils = "0.8"
22+
futures-task = "0.3"
23+
once_cell = "1"
24+
parking_lot = "0.12"
2525

2626
[build-dependencies]

gdnative-bindings/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ custom-godot = ["gdnative_bindings_generator/custom-godot"]
1818
[dependencies]
1919
gdnative-sys = { path = "../gdnative-sys" }
2020
gdnative-core = { path = "../gdnative-core" }
21-
libc = "0.2.104"
22-
bitflags = "1.3.2"
21+
bitflags = "1"
22+
libc = "0.2"
2323

2424
[build-dependencies]
2525
gdnative_bindings_generator = { path = "../bindings_generator" }

gdnative-core/Cargo.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ type-tag-fallback = []
1919
gdnative-sys = { path = "../gdnative-sys", version = "0.9.3" }
2020
gdnative-impl-proc-macros = { path = "../impl/proc_macros", version = "=0.9.3" }
2121
ahash = "0.7.6"
22-
approx = "0.5.0"
23-
atomic-take = "1.0.0"
24-
bitflags = { version = "1.3.2" }
25-
glam = "0.19.0"
26-
indexmap = "1.7.0"
27-
libc = "0.2.104"
28-
once_cell = "1.8.0"
29-
parking_lot = { version = "0.11.2" }
30-
serde = { version = "1.0.130", features = ["derive"], optional = true }
22+
approx = "0.5"
23+
atomic-take = "1"
24+
bitflags = "1"
25+
glam = "0.20"
26+
indexmap = "1"
27+
libc = "0.2"
28+
once_cell = "1"
29+
parking_lot = "0.12"
30+
serde = { version = "1", features = ["derive"], optional = true }
3131

3232
[dev-dependencies]
3333
gdnative = { path = "../gdnative", version = "0.9.3" } # for doc-tests

gdnative-derive/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ edition = "2018"
1414
proc-macro = true
1515

1616
[dependencies]
17-
syn = { version = "1.0.80", features = ["full", "extra-traits", "visit"] }
18-
quote = "1.0.10"
19-
proc-macro2 = "1.0.30"
17+
syn = { version = "1", features = ["full", "extra-traits", "visit"] }
18+
quote = "1"
19+
proc-macro2 = "1"
2020

2121
[dev-dependencies]
2222
# This is included for the doc tests.

0 commit comments

Comments
 (0)