Cargo.toml
author jugglinmike <mike@mikepennisi.com>
Tue, 05 Mar 2019 12:16:27 +0000
changeset 464560 8dab7dd839f49f3e4d9fd02e5b2f468632fe8f0d
parent 463762 123ecc5c9586791c2ebae62c4a4e3cb600274975
child 465893 0b463e85dfe44a65dace0c816b084fe1332d53f1
permissions -rw-r--r--
Bug 1464538 [wpt PR 11173] - [testdriver] Enable manual interaction, a=testonly Automatic update from web-platform-tests [testdriver] Enable manual interaction (#11173) The testdriver.js utility allows tests which require user input to be fully automated. It requires that the browser be under the control of a WebDriver server in order to do this. In test maintenance contexts, this requirement can slow development because a new browsing session must be created for each trial, and debugging tools such as the developer's console cannot be used. This requirement also limits the tests' value to a larger audience when published online. Visitors to sites like w3c-test.org are interested in observing test results experimentally, but although they may be capable of providing the expected input, the hard requirement on WebDriver will cause tests to fail unconditionally. Extend the framework to accept traditional human input if the test is being run without the WebDriver technology. This allows test authors to debug tests and other interested parties to verify results in browsers of their choosing. It does not interfere with fully-automated test execution. -- wpt-commits: bfd9504d321d35ebfbbe56ab6c7f5c0642495719 wpt-pr: 11173

[workspace]

# These are the "root" crates, which we build and test as top-level targets.
# Their transitive dependencies and dev-dependencies are included automatically
# and do not need to be listed here. Their external dependencies are vendored
# into `third_party/rust` by `mach vendor rust`.
members = [
  "js/src",
  "js/src/rust",
  "js/src/wasm/cranelift",
  "js/rust",
  "js/src/frontend/binast", # Code generator.
  "testing/geckodriver",
  "toolkit/crashreporter/rust",
  "toolkit/library/gtest/rust",
  "toolkit/library/rust/",
]

# Excluded crates may be built as dependencies, but won't be considered members
# of the workspace and their dev-dependencies won't be included.
exclude = [
  # Exclude third-party code vendored into mozilla-central.
  "servo",
  "third_party/rust",

  # Excluded because these crates have their own Cargo workspaces so they can't
  # be included in the top-level one.
  "gfx/wr",
  "media/audioipc",
  "media/cubeb-rs",

  # Excluded because they are used only as dependencies, not top-level targets,
  # so we don't need to vendor their dev-dependencies.
  "dom/webauthn/u2f-hid-rs",
  "gfx/webrender_bindings",
  "media/mp4parse-rust/mp4parse",
  "media/mp4parse-rust/mp4parse_capi",
  "media/mp4parse-rust/mp4parse_fallible",
  "xpcom/rust/gkrust_utils",
]

# Explicitly specify what our profiles use.  The opt-level setting here is
# a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
# opt-level setting will be as a result of various other configure flags.
[profile.dev]
opt-level = 1
rpath = false
lto = false
debug-assertions = true
panic = "abort"

[profile.release]
opt-level = 2
rpath = false
debug-assertions = false
panic = "abort"
codegen-units = 1

[patch.crates-io]
libudev-sys = { path = "dom/webauthn/libudev-sys" }
serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums9" }
winapi = { git = "https://github.com/froydnj/winapi-rs", branch = "aarch64" }
cc = { git = "https://github.com/glandium/cc-rs", branch = "1.0.23-clang-cl-aarch64" }