Skip to content

Commit

Permalink
Merge pull request #19 from kyrias/semver-incompatible-upgrades
Browse files Browse the repository at this point in the history
Upgrade all dependencies
  • Loading branch information
kyrias authored Aug 19, 2024
2 parents fc9eb1a + e5a7871 commit a807f1a
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 9 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- Upgrade all dependencies. ([#19](https://github.com/kyrias/sqlx-conditional-queries/pull/19))


## [0.1.4] - 2024-03-27

### Deprecated
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ categories = ["database"]
features = ["postgres"]

[dependencies]
futures-core = "0.3.25"
futures-core = "0.3.30"
sqlx-conditional-queries-macros = { path = "macros", version = "0.1" }

[features]
Expand Down
10 changes: 5 additions & 5 deletions core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ repository = "https://github.com/kyrias/sqlx-conditional-queries"
license = "MIT OR Apache-2.0"

[dependencies]
itertools = "0.10.5"
proc-macro2 = "1.0.49"
quote = "1.0.23"
syn = { version = "1.0.107", features = ["extra-traits", "full"] }
thiserror = "1.0.38"
itertools = "0.13.0"
proc-macro2 = "1.0.86"
quote = "1.0.36"
syn = { version = "2.0.75", features = ["extra-traits", "full"] }
thiserror = "1.0.63"

[features]
mysql = []
Expand Down
4 changes: 2 additions & 2 deletions core/src/parse.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ impl Parse for ParsedConditionalQueryAs {
let content;
let paren_token = parenthesized!(content in input);
OneOrPunctuated::Punctuated(
content.parse_terminated(syn::Ident::parse)?,
paren_token.span,
content.parse_terminated(syn::Ident::parse, syn::token::Comma)?,
paren_token.span.join(),
)
} else {
// Otherwise we only parse a single ident.
Expand Down
2 changes: 1 addition & 1 deletion macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ proc-macro = true

[dependencies]
proc-macro-error = "1.0.4"
proc-macro2 = "1.0.49"
proc-macro2 = "1.0.86"
sqlx-conditional-queries-core = { path = "../core", version = "0.1" }

[features]
Expand Down

0 comments on commit a807f1a

Please sign in to comment.