155 lines
3.2 KiB
TOML
155 lines
3.2 KiB
TOML
[package]
|
|
name = "leptos_dom"
|
|
version = { workspace = true }
|
|
edition = "2021"
|
|
authors = ["Greg Johnston"]
|
|
license = "MIT"
|
|
repository = "https://github.com/leptos-rs/leptos"
|
|
description = "DOM operations for the Leptos web framework."
|
|
|
|
[dependencies]
|
|
cfg-if = "1"
|
|
drain_filter_polyfill = "0.1"
|
|
educe = "0.4"
|
|
futures = "0.3"
|
|
html-escape = "0.2"
|
|
indexmap = "1.9"
|
|
itertools = "0.10"
|
|
js-sys = "0.3"
|
|
leptos_reactive = { workspace = true }
|
|
once_cell = "1"
|
|
pad-adapter = "0.1"
|
|
paste = "1"
|
|
rustc-hash = "1.1.0"
|
|
serde_json = "1"
|
|
smallvec = "1"
|
|
tracing = "0.1"
|
|
wasm-bindgen = { version = "0.2", features = ["enable-interning"] }
|
|
wasm-bindgen-futures = "0.4.31"
|
|
|
|
[dev-dependencies]
|
|
leptos = { path = "../leptos" }
|
|
|
|
[dependencies.web-sys]
|
|
version = "0.3"
|
|
features = [
|
|
"console",
|
|
"Comment",
|
|
"Document",
|
|
"DomTokenList",
|
|
"Location",
|
|
"Range",
|
|
"Text",
|
|
"HtmlCollection",
|
|
"TreeWalker",
|
|
|
|
# Events we cast to in leptos_macro -- added here so we don't force users to import them
|
|
"AnimationEvent",
|
|
"BeforeUnloadEvent",
|
|
"ClipboardEvent",
|
|
"CompositionEvent",
|
|
"DeviceMotionEvent",
|
|
"DeviceOrientationEvent",
|
|
"DragEvent",
|
|
"ErrorEvent",
|
|
"FocusEvent",
|
|
"GamepadEvent",
|
|
"HashChangeEvent",
|
|
"InputEvent",
|
|
"KeyboardEvent",
|
|
"MouseEvent",
|
|
"PageTransitionEvent",
|
|
"PointerEvent",
|
|
"PopStateEvent",
|
|
"ProgressEvent",
|
|
"PromiseRejectionEvent",
|
|
"SecurityPolicyViolationEvent",
|
|
"StorageEvent",
|
|
"SubmitEvent",
|
|
"TouchEvent",
|
|
"TransitionEvent",
|
|
"UiEvent",
|
|
"WheelEvent",
|
|
|
|
# HTML Element Types
|
|
"HtmlHtmlElement",
|
|
"HtmlBaseElement",
|
|
"HtmlHeadElement",
|
|
"HtmlLinkElement",
|
|
"HtmlMetaElement",
|
|
"HtmlStyleElement",
|
|
"HtmlTitleElement",
|
|
"HtmlBodyElement",
|
|
"HtmlHeadingElement",
|
|
"HtmlQuoteElement",
|
|
"HtmlDivElement",
|
|
"HtmlDListElement",
|
|
"HtmlHrElement",
|
|
"HtmlLiElement",
|
|
"HtmlOListElement",
|
|
"HtmlParagraphElement",
|
|
"HtmlPreElement",
|
|
"HtmlUListElement",
|
|
"HtmlAnchorElement",
|
|
"HtmlBrElement",
|
|
"HtmlDataElement",
|
|
"HtmlQuoteElement",
|
|
"HtmlSpanElement",
|
|
"HtmlTimeElement",
|
|
"HtmlAreaElement",
|
|
"HtmlAudioElement",
|
|
"HtmlImageElement",
|
|
"HtmlMapElement",
|
|
"HtmlTrackElement",
|
|
"HtmlVideoElement",
|
|
"HtmlEmbedElement",
|
|
"HtmlIFrameElement",
|
|
"HtmlObjectElement",
|
|
"HtmlParamElement",
|
|
"HtmlPictureElement",
|
|
"HtmlSourceElement",
|
|
"SvgElement",
|
|
"HtmlCanvasElement",
|
|
"HtmlScriptElement",
|
|
"HtmlModElement",
|
|
"HtmlTableCaptionElement",
|
|
"HtmlTableColElement",
|
|
"HtmlTableColElement",
|
|
"HtmlTableElement",
|
|
"HtmlTableSectionElement",
|
|
"HtmlTableCellElement",
|
|
"HtmlTableSectionElement",
|
|
"HtmlTableCellElement",
|
|
"HtmlTableSectionElement",
|
|
"HtmlTableRowElement",
|
|
"HtmlButtonElement",
|
|
"HtmlDataListElement",
|
|
"HtmlFieldSetElement",
|
|
"HtmlFormElement",
|
|
"HtmlInputElement",
|
|
"HtmlLabelElement",
|
|
"HtmlLegendElement",
|
|
"HtmlMeterElement",
|
|
"HtmlOptGroupElement",
|
|
"HtmlOutputElement",
|
|
"HtmlProgressElement",
|
|
"HtmlSelectElement",
|
|
"HtmlTextAreaElement",
|
|
"HtmlDetailsElement",
|
|
"HtmlDialogElement",
|
|
"HtmlMenuElement",
|
|
"HtmlSlotElement",
|
|
"HtmlTemplateElement",
|
|
"HtmlOptionElement",
|
|
]
|
|
|
|
[features]
|
|
default = []
|
|
web = ["leptos_reactive/csr"]
|
|
ssr = ["leptos_reactive/ssr"]
|
|
stable = ["leptos_reactive/stable"]
|
|
|
|
[package.metadata.cargo-all-features]
|
|
denylist = ["stable"]
|
|
skip_feature_sets = [["web", "ssr"]]
|