Repository: oxidecomputer/typify
Pull request #474 (2024-01-06 08:10:32)

make dep specification more consistent


Patch:
diff --git a/Cargo.lock b/Cargo.lock
index 63f642b..bb147b2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -253,7 +253,7 @@ dependencies = [
  "heck",
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
@@ -381,7 +381,7 @@ dependencies = [
  "schemars",
  "serde",
  "serde_json",
- "syn 2.0.43",
+ "syn 2.0.48",
  "typify",
 ]
 
@@ -685,28 +685,28 @@ dependencies = [
 
 [[package]]
 name = "prettyplease"
-version = "0.2.15"
+version = "0.2.16"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d"
+checksum = "a41cf62165e97c7f814d2221421dbb9afcbcdb0a88068e5ea206e19951c2cbb5"
 dependencies = [
  "proc-macro2",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
 name = "proc-macro2"
-version = "1.0.73"
+version = "1.0.76"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2dd5e8a1f1029c43224ad5898e50140c2aebb1705f19e67c918ebf5b9e797fe1"
+checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c"
 dependencies = [
  "unicode-ident",
 ]
 
 [[package]]
 name = "quote"
-version = "1.0.34"
+version = "1.0.35"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "22a37c9326af5ed140c86a46655b5278de879853be5573c01df185b6f49a580a"
+checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef"
 dependencies = [
  "proc-macro2",
 ]
@@ -861,7 +861,7 @@ dependencies = [
  "proc-macro2",
  "quote",
  "schema-derive",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
@@ -873,7 +873,7 @@ dependencies = [
  "paste",
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
@@ -909,22 +909,22 @@ checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090"
 
 [[package]]
 name = "serde"
-version = "1.0.193"
+version = "1.0.195"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89"
+checksum = "63261df402c67811e9ac6def069e4786148c4563f4b50fd4bf30aa370d626b02"
 dependencies = [
  "serde_derive",
 ]
 
 [[package]]
 name = "serde_derive"
-version = "1.0.193"
+version = "1.0.195"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3"
+checksum = "46fe8f8603d81ba86327b23a2e9cdf49e1255fb94a4c5f297f6ee0547178ea2c"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
@@ -940,9 +940,9 @@ dependencies = [
 
 [[package]]
 name = "serde_json"
-version = "1.0.109"
+version = "1.0.111"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cb0652c533506ad7a2e353cce269330d6afd8bdfb6d75e0ace5b35aacbd7b9e9"
+checksum = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4"
 dependencies = [
  "itoa",
  "ryu",
@@ -967,7 +967,7 @@ dependencies = [
  "proc-macro2",
  "quote",
  "serde",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
@@ -1004,9 +1004,9 @@ dependencies = [
 
 [[package]]
 name = "syn"
-version = "2.0.43"
+version = "2.0.48"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53"
+checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f"
 dependencies = [
  "proc-macro2",
  "quote",
@@ -1053,22 +1053,22 @@ checksum = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
 
 [[package]]
 name = "thiserror"
-version = "1.0.53"
+version = "1.0.56"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b2cd5904763bad08ad5513ddbb12cf2ae273ca53fa9f68e843e236ec6dfccc09"
+checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad"
 dependencies = [
  "thiserror-impl",
 ]
 
 [[package]]
 name = "thiserror-impl"
-version = "1.0.53"
+version = "1.0.56"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3dcf4a824cce0aeacd6f38ae6f24234c8e80d68632338ebaa1443b5df9e29e19"
+checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
 
 [[package]]
@@ -1221,7 +1221,7 @@ dependencies = [
  "schemars",
  "serde",
  "serde_json",
- "syn 2.0.43",
+ "syn 2.0.48",
  "thiserror",
  "unicode-ident",
  "uuid",
@@ -1237,7 +1237,7 @@ dependencies = [
  "serde",
  "serde_json",
  "serde_tokenstream",
- "syn 2.0.43",
+ "syn 2.0.48",
  "typify-impl",
 ]
 
@@ -1251,7 +1251,7 @@ dependencies = [
  "schemars",
  "serde",
  "serde_json",
- "syn 2.0.43",
+ "syn 2.0.48",
  "typify",
 ]
 
@@ -1340,7 +1340,7 @@ dependencies = [
  "once_cell",
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
  "wasm-bindgen-shared",
 ]
 
@@ -1362,7 +1362,7 @@ checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
  "wasm-bindgen-backend",
  "wasm-bindgen-shared",
 ]
@@ -1637,5 +1637,5 @@ checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a"
 dependencies = [
  "proc-macro2",
  "quote",
- "syn 2.0.43",
+ "syn 2.0.48",
 ]
diff --git a/example-build/Cargo.toml b/example-build/Cargo.toml
index 361ffbe..ca9a9d4 100644
--- a/example-build/Cargo.toml
+++ b/example-build/Cargo.toml
@@ -5,11 +5,11 @@ edition = "2021"
 
 [dependencies]
 serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0.109"
+serde_json = "1.0"
 
 [build-dependencies]
 prettyplease = "0.2"
 schemars = "0.8"
-serde_json = "1.0.109"
-syn = "2.0.43"
+serde_json = "1.0"
+syn = "2.0"
 typify = { path = "../typify" }
diff --git a/typify-impl/Cargo.toml b/typify-impl/Cargo.toml
index 7aab1ca..c873d1f 100644
--- a/typify-impl/Cargo.toml
+++ b/typify-impl/Cargo.toml
@@ -9,23 +9,24 @@ readme = "../README.md"
 
 [dependencies]
 heck = "0.4.1"
-log = "0.4"
-proc-macro2 = "1.0"
-quote = "1.0"
+log = "0.4.20"
+proc-macro2 = "1.0.76"
+quote = "1.0.35"
 regress = "0.7.1"
 schemars = "0.8.16"
-serde_json = "1.0"
-syn = { version = "2.0", features = ["full"] }
-thiserror = "1.0"
+serde_json = "1.0.111"
+syn = { version = "2.0.48", features = ["full"] }
+thiserror = "1.0.56"
 unicode-ident = "1.0.12"
 
+
 [dev-dependencies]
 env_logger = "0.10.1"
-expectorate = "1.1"
-paste = "1.0"
-rustfmt-wrapper = "0.2"
+expectorate = "1.1.0"
+paste = "1.0.14"
+rustfmt-wrapper = "0.2.1"
 schema = "0.1.0"
 schemars = { version = "0.8.16", features = ["uuid1"] }
-serde = "1.0"
-syn = { version = "2.0", features = ["full", "extra-traits"] }
+serde = "1.0.109"
+syn = { version = "2.0.48", features = ["full", "extra-traits"] }
 uuid = "1.6.1"
diff --git a/typify-macro/Cargo.toml b/typify-macro/Cargo.toml
index ac27089..1c0a3d6 100644
--- a/typify-macro/Cargo.toml
+++ b/typify-macro/Cargo.toml
@@ -11,11 +11,11 @@ readme = "../README.md"
 proc-macro = true
 
 [dependencies]
-proc-macro2 = "1.0"
-quote = "1.0"
+proc-macro2 = "1.0.76"
+quote = "1.0.35"
 schemars = "0.8.16"
-serde = { version = "1.0", features = ["derive"] }
-serde_json = "1.0"
+serde = "1.0.195"
+serde_json = "1.0.109"
 serde_tokenstream = "0.2.0"
 syn = { version = "2.0", features = ["full", "extra-traits"] }
 typify-impl = { version = "0.0.15", path = "../typify-impl" }


Test patch:
diff --git a/typify-test/Cargo.toml b/typify-test/Cargo.toml
index 37a6c4b..b44fb14 100644
--- a/typify-test/Cargo.toml
+++ b/typify-test/Cargo.toml
@@ -10,7 +10,7 @@ serde_json = "1.0.109"
 
 [build-dependencies]
 ipnetwork = { version = "0.20.0", features = ["schemars"] }
-prettyplease = "0.2"
+prettyplease = "0.2.16"
 schemars = "0.8.16"
 serde = "1.0.193"
 syn = "2.0.43"