Files
tubestation/toolkit/library/rust/Cargo.toml
Mike Hommey 9ff04b3b5a Bug 1940857 - Make cargo aware of our MSRV. r=firefox-build-system-reviewers,sergesanspaille
without a rust-version somewhere, cargo thinks it can just bump
everything it can, and bumps the Cargo.lock version to 4 when vendoring
new crates, which  doesn't work with our MSRV.

As far as experimentation goes, it doesn't seem we need rust-version set
in all our root crates.

Differential Revision: https://phabricator.services.mozilla.com/D233802
2025-01-14 21:20:01 +00:00

33 lines
814 B
TOML

[package]
edition = "2015"
name = "gkrust"
version = "0.1.0"
authors = ["The Mozilla Project Developers"]
license = "MPL-2.0"
description = "Rust code for libxul"
rust-version.workspace = true
[dependencies]
gkrust-shared = { path = "shared" }
mozilla-central-workspace-hack = { version = "0.1", features = ["gkrust"], optional = true }
# Workarounds for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../mozglue/static/rust" }
swgl = { path = "../../../gfx/wr/swgl" }
lmdb-rkv-sys = "0.11"
[dev-dependencies]
stylo_tests = { path = "../../../servo/ports/geckolib/tests/" }
[lib]
path = "lib.rs"
crate-type = ["staticlib"]
test = false
doctest = false
bench = false
doc = false
harness = false
[package.metadata.cargo-udeps.ignore]
normal = ["mozilla-central-workspace-hack"]