Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies to bring in line with mozilla-central #2649

Merged
merged 4 commits into from
Oct 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ jobs:
resource_class: "medium+"
steps:
- test-rust:
rust-version: "1.62.0"
rust-version: "1.63.0"

Generate Rust documentation:
docker:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cargo-vet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
name: Vet Dependencies
runs-on: ubuntu-latest
env:
CARGO_VET_VERSION: 0.6.1
CARGO_VET_VERSION: 0.8.0
steps:
- uses: actions/checkout@master
- name: Install Rust
Expand Down
136 changes: 48 additions & 88 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ The code in this repository is organized as follows:
* [./glean-core/ios](glean-core/ios) contains the Swift bindings for use by iOS applications.
* [./glean-core/python](glean-core/python) contains Python bindings.

**Note: The Glean SDK requires at least [Rust 1.62.0](https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html). Older versions are untested.**
**Note: The Glean SDK requires at least [Rust 1.63.0](https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html). Older versions are untested.**

## Contact

Expand Down
16 changes: 6 additions & 10 deletions deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,15 @@ skip = [
# wasi 0.10 and 0.11 are allowed
# (m-c patches 0.10 to 0.11)
{ name = "wasi", version = "0.11.0" },
# bitflags 1.3.2 is a dependency of lmdb-rkv,
# with bitflags in use by others.
# This is overriden in m-c
{ name = "bitflags", version = "1.3.2" },
]

# Avoid certain crates
deny = [
# 0.42 allowed as part of env_logger, which is now optionally included
# and only used in Android dev builds
# done in order to stay compatible with mozilla-central
# see https://searchfox.org/mozilla-central/rev/47aea2f603cc18144afcedbd604a418f11e90f9b/python/mozbuild/mozbuild/vendor/vendor_rust.py#78-92
{ name = "windows-sys", version = "> 0.42" },
{ name = "windows_aarch64_msvc", version = "> 0.42" },
{ name = "windows_i686_gnu", version = "> 0.42" },
{ name = "windows_i686_msvc", version = "> 0.42" },
{ name = "windows_x86_64_gnu", version = "> 0.42" },
{ name = "windows_x86_64_msvc", version = "> 0.42" },
# We can allow the windows-sys and windows_$arch crates,
# now that m-c allows them (and potentially overrides some uses)
{ name = "windows", version = "*" },
]
6 changes: 3 additions & 3 deletions glean-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ include = [
"/uniffi.toml",
"/build.rs",
]
rust-version = "1.62"
rust-version = "1.63"

[package.metadata.glean]
glean-parser = "10.0.0"
Expand Down Expand Up @@ -51,8 +51,8 @@ android_logger = { version = "0.12.0", default-features = false }
oslog = { version = "0.1.0", default-features = false, features = ["logger"] }

[dev-dependencies]
env_logger = { version = "0.10.0", default-features = false, features = ["auto-color", "humantime"] }
tempfile = "3.1.0"
env_logger = { version = "0.10.0", default-features = false, features = ["humantime"] }
tempfile = "3.8.0"
iso8601 = "0.4"
ctor = "0.2.2"

Expand Down
2 changes: 1 addition & 1 deletion glean-core/build/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include = [
"/src",
"/Cargo.toml",
]
rust-version = "1.62"
rust-version = "1.63"

[dependencies]
xshell-venv = "1.1.0"
4 changes: 2 additions & 2 deletions glean-core/rlb/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ include = [
"/tests",
"/Cargo.toml",
]
rust-version = "1.62"
rust-version = "1.63"

[badges]
circle-ci = { repository = "mozilla/glean", branch = "main" }
Expand All @@ -39,7 +39,7 @@ time = "0.1.40"
whatsys = "0.3.0"

[dev-dependencies]
env_logger = { version = "0.10.0", default-features = false, features = ["auto-color", "humantime"] }
env_logger = { version = "0.10.0", default-features = false, features = ["humantime"] }
tempfile = "3.1.0"
jsonschema-valid = "0.5.0"
flate2 = "1.0.19"
Expand Down
2 changes: 1 addition & 1 deletion samples/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ publish = false
license = "MIT"

[dependencies]
env_logger = { version = "0.10.0", default-features = false, features = ["auto-color", "humantime"] }
env_logger = { version = "0.10.0", default-features = false, features = ["humantime"] }
glean = { path = "../../glean-core/rlb" }
tempfile = "3.3.0"

Expand Down
Loading
Loading