gecko-dev/dom/base/rust/Cargo.toml
Emilio Cobos Álvarez 255763ef57 Bug 1773070 - Unify Gecko and Servo EventState/ElementState bits. r=smaug
Add a dom/base/rust crate called just "dom" where we can share these.

Most of the changes are automatic:

  s/mozilla::EventStates/mozilla::dom::ElementState/
  s/EventStates/ElementState/
  s/NS_EVENT_STATE_/ElementState::/
  s/NS_DOCUMENT_STATE_/DocumentState::/

And so on. This requires a new cbindgen version to avoid ugly casts for
large shifts.

Differential Revision: https://phabricator.services.mozilla.com/D148537
2022-06-07 23:09:52 +00:00

15 lines
194 B
TOML

[package]
name = "dom"
version = "0.1.0"
edition = "2021"
authors = [
"Emilio Cobos Álvarez <emilio@crisal.io>",
]
license = "MPL-2.0"
[lib]
path = "lib.rs"
[dependencies]
bitflags = "1.0"