diff --git a/Cargo.lock b/Cargo.lock index 61809772..54f54396 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -482,22 +482,22 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" [[package]] name = "serde" -version = "1.0.145" +version = "1.0.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "728eb6351430bccb993660dfffc5a72f91ccc1295abaa8ce19b27ebe4f75568b" +checksum = "9e8c8cf938e98f769bc164923b06dce91cea1751522f46f8466461af04c9027d" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.145" +version = "1.0.164" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "81fa1584d3d1bcacd84c277a0dfe21f5b0f6accf4a23d04d4c6d61f1af522b4c" +checksum = "d9735b638ccc51c28bf6914d90a2e9725b377144fc612c49a611fddd1b631d68" dependencies = [ "proc-macro2", "quote", - "syn 1.0.100", + "syn 2.0.18", ] [[package]] @@ -556,22 +556,22 @@ checksum = "949517c0cf1bf4ee812e2e07e08ab448e3ae0d23472aee8a06c985f0c8815b16" [[package]] name = "thiserror" -version = "1.0.35" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c53f98874615aea268107765aa1ed8f6116782501d18e53d08b471733bea6c85" +checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.35" +version = "1.0.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8b463991b4eab2d801e724172285ec4195c650e8ec79b149e6c2a8e6dd3f783" +checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" dependencies = [ "proc-macro2", "quote", - "syn 1.0.100", + "syn 2.0.18", ] [[package]] @@ -607,7 +607,7 @@ name = "typeshare-annotation" version = "1.0.2" dependencies = [ "quote", - "syn 1.0.100", + "syn 2.0.18", ] [[package]] diff --git a/annotation/Cargo.toml b/annotation/Cargo.toml index cad2d2d3..cf30a27a 100644 --- a/annotation/Cargo.toml +++ b/annotation/Cargo.toml @@ -11,5 +11,5 @@ repository = "https://github.com/1Password/typeshare" proc-macro = true [dependencies] -syn = { version = "1.0", features = ["parsing", "proc-macro"] } +syn = { version = "2.0.18", features = ["parsing", "proc-macro"] } quote = "1.0" diff --git a/annotation/src/lib.rs b/annotation/src/lib.rs index 996b50d8..71d9a0d5 100644 --- a/annotation/src/lib.rs +++ b/annotation/src/lib.rs @@ -54,7 +54,7 @@ fn strip_configuration_attribute(item: &mut DeriveInput) { fn remove_configuration_from_attributes(attributes: &mut Vec) { const CONFIG_ATTRIBUTE_NAME: &str = "typeshare"; - attributes.retain(|x| x.path.to_token_stream().to_string() != CONFIG_ATTRIBUTE_NAME); + attributes.retain(|x| x.path().to_token_stream().to_string() != CONFIG_ATTRIBUTE_NAME); } fn remove_configuration_from_fields(fields: &mut Fields) { diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 58b4940c..b9647dc0 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -21,6 +21,6 @@ clap_complete_command = "0.3" ignore = "0.4" once_cell = "1" rayon = "1.5" -serde = { version = "1.0", features = ["derive"] } +serde = { version = "1.0.164", features = ["derive"] } toml = "0.5" typeshare-core = { path = "../core", version = "1.6.0" } diff --git a/core/Cargo.toml b/core/Cargo.toml index 1bdb1e7a..efe4c94d 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -11,7 +11,7 @@ repository = "https://github.com/1Password/typeshare" proc-macro2 = "1" quote = "1" syn = { version = "2.0.18", features = ["full"] } -thiserror = "1" +thiserror = "1.0.40" itertools = "0.10" lazy_format = "1.8" joinery = "2" diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 425afa89..085f5934 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -10,6 +10,6 @@ repository = "https://github.com/1Password/typeshare" [dependencies] chrono = { version = "0.4", default-features = false, features = ["clock", "std", "wasmbind"] } -serde = { version = "1", features = ["derive"] } +serde = { version = "1.0.164", features = ["derive"] } serde_json = "1" typeshare-annotation = { path = "../annotation", version = "1.0.0" }