Skip to content

Commit

Permalink
Upgrade project deps to latest; use semver, not wildcard nor tilde (#494
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jpschorr committed Sep 17, 2024
1 parent 83efb7f commit 7a8a028
Show file tree
Hide file tree
Showing 20 changed files with 163 additions and 189 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_build_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-06-09
toolchain: nightly-2024-08-06
- uses: actions/cache@v3
id: restore-build
with:
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Rust Toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-06-09
toolchain: nightly-2024-08-06
- uses: actions/cache@v3
id: restore-build-and-conformance
with:
Expand Down
32 changes: 2 additions & 30 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
# More documentation for the advisories section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/advisories/cfg.html
[advisories]
vulnerability = "deny"
unsound = "deny"
unmaintained = "deny"
yanked = "deny"
notice = "warn"
version = 2

ignore = [
# Advisory: https://rustsec.org/advisories/RUSTSEC-2021-0145
Expand All @@ -28,8 +24,7 @@ ignore = [
# More documentation for the licenses section can be found here:
# https://embarkstudios.github.io/cargo-deny/checks/licenses/cfg.html
[licenses]
# The lint level for crates which do not have a detectable license
unlicensed = "deny"
version = 2
# ignores workspace crates that aren't published, or are only published to private registries.
private = { ignore = true }

Expand Down Expand Up @@ -62,29 +57,6 @@ exceptions = [
{ allow = ["Unicode-DFS-2016"], name = "unicode-ident" },
]

# Lint level for licenses considered copyleft
copyleft = "deny"

# List of explicitly disallowed licenses
# See https://spdx.org/licenses/ for list of possible licenses
# [possible values: any SPDX 3.11 short identifier (+ optional exception)].
deny = [
]

# Blanket approval or denial for OSI-approved or FSF Free/Libre licenses
# * both - The license will be approved if it is both OSI-approved *AND* FSF
# * either - The license will be approved if it is either OSI-approved *OR* FSF
# * osi-only - The license will be approved if is OSI-approved *AND NOT* FSF
# * fsf-only - The license will be approved if is FSF *AND NOT* OSI-approved
# * neither - This predicate is ignored and the default lint level is used
allow-osi-fsf-free = "neither"

# Lint level used when no other predicates are matched
# 1. License isn't in the allow or deny lists
# 2. License isn't copyleft
# 3. License isn't OSI/FSF, or allow-osi-fsf-free = "neither"
default = "deny"

# The confidence threshold for detecting a license from license text.
# The higher the value, the more closely the license text must be to the
# canonical license text of a valid SPDX license file.
Expand Down
8 changes: 4 additions & 4 deletions extension/partiql-extension-ddl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository.workspace = true
license = "Apache-2.0"
readme = "../../README.md"
keywords = ["sql", "ddl", "definition-language", "compilers", "interpreters"]
categories = ["database", "compilers",]
categories = ["database", "compilers", ]
exclude = [
"**/.git/**",
"**/.github/**",
Expand All @@ -24,13 +24,13 @@ bench = false
partiql-types = { path = "../../partiql-types", version = "0.10.*" }

thiserror = "1.0"
miette = { version = "7.2", features = ["fancy"] }
miette = { version = "7", features = ["fancy"] }
time = { version = "0.3", features = ["formatting", "parsing", "serde"] }

indexmap = "2.2"
indexmap = "2.5"

[dev-dependencies]
criterion = "0.4"
criterion = "0.5"

[features]
default = []
29 changes: 15 additions & 14 deletions extension/partiql-extension-ion-functions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ readme = "../../README.md"
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
]
version.workspace = true
edition.workspace = true
Expand All @@ -21,27 +21,28 @@ edition.workspace = true
bench = false

[dependencies]
partiql-extension-ion = {path = "../partiql-extension-ion", version = "0.10.*" }
partiql-extension-ion = { path = "../partiql-extension-ion", version = "0.10.*" }
partiql-value = { path = "../../partiql-value", version = "0.10.*" }
partiql-catalog = { path = "../../partiql-catalog", version = "0.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }

ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.26"
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.36"
ion-rs_old = { version = "0.18", package = "ion-rs" }
ion-rs = { version = "1.0.0-rc.7", features = ["experimental"] }
time = { version = "0.3", features = ["macros"] }
once_cell = "1"
regex = "1.7"
regex = "1.10"
thiserror = "1.0"
delegate = "0.9"
zstd = "0.12"
delegate = "0.13"
zstd = "0.13"
flate2 = "1.0"

[dev-dependencies]
criterion = "0.4"
criterion = "0.5"
partiql-parser = { path = "../../partiql-parser", version = "0.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }
partiql-logical-planner = { path = "../../partiql-logical-planner", version = "0.10.*" }
Expand Down
25 changes: 13 additions & 12 deletions extension/partiql-extension-ion/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ readme = "../../README.md"
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
]
version.workspace = true
edition.workspace = true
Expand All @@ -22,20 +22,21 @@ bench = false

[dependencies]
partiql-value = { path = "../../partiql-value", version = "0.10.*" }
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.26"
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
rust_decimal_macros = "1.36"
ion-rs_old = { version = "0.18", package = "ion-rs" }
ion-rs = { version = "1.0.0-rc.7", features = ["experimental"] }
time = { version = "0.3", features = ["macros"] }
once_cell = "1"
regex = "1.7"
regex = "1.10"
thiserror = "1.0"
delegate = "0.9"
delegate = "0.13"

[dev-dependencies]
criterion = "0.4"
criterion = "0.5"

[features]
default = []
16 changes: 8 additions & 8 deletions extension/partiql-extension-visualize/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ readme = "../../README.md"
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
]
version.workspace = true
edition.workspace = true
Expand All @@ -24,12 +24,12 @@ bench = false
partiql-ast = { path = "../../partiql-ast", version = "0.10.*" }
partiql-logical = { path = "../../partiql-logical", version = "0.10.*" }

dot-writer = { version = "0.1.*", optional = true }
itertools = { version = "0.10.*", optional = true }
dot-writer = { version = "0.1", optional = true }
itertools = { version = "0.13", optional = true }

[features]
default = []
visualize-dot = [
"dep:dot-writer",
"dep:itertools",
"dep:dot-writer",
"dep:itertools",
]
8 changes: 4 additions & 4 deletions partiql-ast-passes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ readme = "../README.md"
keywords = ["sql", "ast", "compilers", "visitors", "passes"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.git/**",
"**/.github/**",
]
version.workspace = true
edition.workspace = true
Expand All @@ -25,9 +25,9 @@ partiql-catalog = { path = "../partiql-catalog", version = "0.10.*" }
partiql-common = { path = "../partiql-common", version = "0.10.*" }
partiql-types = { path = "../partiql-types", version = "0.10.*" }

assert_matches = "1.5.*"
assert_matches = "1"
fnv = "1"
indexmap = "2.2"
indexmap = "2.5"
thiserror = "1.0"

[dev-dependencies]
Expand Down
6 changes: 3 additions & 3 deletions partiql-ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ bench = false

[dependencies]
partiql-common = { path = "../partiql-common", version = "0.10.*" }
indexmap = "2.2"
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
serde = { version = "1.*", features = ["derive"], optional = true }
indexmap = "2.5"
rust_decimal = { version = "1.36.0", default-features = false, features = ["std"] }
serde = { version = "1", features = ["derive"], optional = true }
pretty = "0.12"
thiserror = "1.0"

Expand Down
6 changes: 3 additions & 3 deletions partiql-ast/partiql-ast-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bench = false

[dependencies]
quote = "1.0"
syn = {version="2.0", default-features = true, features=["full"]}
proc-macro2 = "1.0.*"
syn = { version = "2.0", default-features = true, features = ["full"] }
proc-macro2 = "1"
darling = "0.20"
Inflector = "0.11.*"
Inflector = "0.11"
16 changes: 8 additions & 8 deletions partiql-catalog/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ readme = "../README.md"
keywords = ["sql", "parser", "query", "compilers", "interpreters"]
categories = ["database", "compilers"]
exclude = [
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
"**/.git/**",
"**/.github/**",
"**/.travis.yml",
"**/.appveyor.yml",
]
version.workspace = true
edition.workspace = true
Expand All @@ -27,9 +27,9 @@ partiql-logical = { path = "../partiql-logical", version = "0.10.*" }
partiql-types = { path = "../partiql-types", version = "0.10.*" }

thiserror = "1.0"
ordered-float = "3.*"
itertools = "0.10.*"
unicase = "2.6"
ordered-float = "4"
itertools = "0.13"
unicase = "2.7"

[dev-dependencies]
criterion = "0.4"
criterion = "0.5"
10 changes: 5 additions & 5 deletions partiql-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ path = "src/lib.rs"
bench = false

[dependencies]
indexmap = "2.2"
indexmap = "2.5"
pretty = "0.12"
serde = { version = "1.*", features = ["derive"], optional = true }
rust_decimal = { version = "1.25.0", default-features = false, features = ["std"] }
smallvec = { version = "1.*" }
thiserror = "1.0"
serde = { version = "1", features = ["derive"], optional = true }
rust_decimal = { version = "1.36", default-features = false, features = ["std"] }
smallvec = { version = "1" }
thiserror = "1"

[features]
default = []
Expand Down
10 changes: 5 additions & 5 deletions partiql-conformance-test-generator/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ edition.workspace = true
bench = false

[dependencies]
walkdir = "2.3"
walkdir = "2.5"
ion-rs_old = { version = "0.18", package = "ion-rs" }
codegen = "0.2.*"
Inflector = "0.11.*"
miette = "5.*"
codegen = "0.2"
Inflector = "0.11"
miette = { version = "7", features = ["fancy"] }
thiserror = "1.0"
quote = "1.*"
quote = "1"
10 changes: 5 additions & 5 deletions partiql-conformance-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ required-features = ["report_tool"]
bench = false

[build-dependencies]
miette = { version = "5.*", features = ["fancy"] }
miette = { version = "7", features = ["fancy"] }
partiql-conformance-test-generator = { path = "../partiql-conformance-test-generator", version = "0.10.*" }

[dependencies]
Expand All @@ -44,15 +44,15 @@ partiql-extension-ion = { path = "../extension/partiql-extension-ion", version =

ion-rs_old = { version = "0.18", package = "ion-rs" }

regex = "1.7"
regex = "1.10"
once_cell = "1"

rust_decimal = "1.27"
rust_decimal = "1.36"

thiserror = "1.0"

serde = { version = "1.*", features = ["derive"], optional = true }
serde_json = { version = "1.*", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
serde_json = { version = "1", optional = true }

[features]
default = ["base"]
Expand Down
Loading

0 comments on commit 7a8a028

Please sign in to comment.