leptos/leptos_dom/Cargo.toml

156 lines
3.2 KiB
TOML
Raw Normal View History

2022-07-31 20:46:14 +00:00
[package]
name = "leptos_dom"
version = { workspace = true }
2022-07-31 20:46:14 +00:00
edition = "2021"
2022-10-07 10:50:21 +00:00
authors = ["Greg Johnston"]
license = "MIT"
repository = "https://github.com/leptos-rs/leptos"
2022-10-07 10:50:21 +00:00
description = "DOM operations for the Leptos web framework."
2022-07-31 20:46:14 +00:00
[dependencies]
async-recursion = "1"
2022-11-24 20:45:31 +00:00
cfg-if = "1"
2023-01-02 15:01:57 +00:00
drain_filter_polyfill = "0.1"
2022-11-24 20:45:31 +00:00
educe = "0.4"
2022-12-12 14:26:46 +00:00
futures = "0.3"
2022-12-05 20:09:04 +00:00
html-escape = "0.2"
indexmap = "1.9"
itertools = "0.10"
2022-07-31 20:46:14 +00:00
js-sys = "0.3"
leptos_reactive = { workspace = true }
2023-01-02 15:01:57 +00:00
once_cell = "1"
2022-12-11 18:43:58 +00:00
pad-adapter = "0.1"
2022-11-25 03:35:40 +00:00
paste = "1"
rustc-hash = "1.1.0"
2022-12-12 14:26:46 +00:00
serde_json = "1"
2022-11-25 23:39:42 +00:00
smallvec = "1"
tracing = "0.1"
wasm-bindgen = { version = "0.2", features = ["enable-interning"] }
2022-07-31 20:46:14 +00:00
wasm-bindgen-futures = "0.4.31"
[dev-dependencies]
leptos = { path = "../leptos" }
2022-07-31 20:46:14 +00:00
[dependencies.web-sys]
version = "0.3"
features = [
"console",
2022-11-24 20:45:31 +00:00
"Comment",
2023-01-28 13:19:13 +00:00
"Document",
2022-11-27 22:56:20 +00:00
"DomTokenList",
2023-01-28 13:19:13 +00:00
"Location",
"Range",
2022-11-24 20:45:31 +00:00
"Text",
2022-12-26 03:53:52 +00:00
"HtmlCollection",
"TreeWalker",
# Events we cast to in leptos_macro -- added here so we don't force users to import them
2022-12-04 23:22:03 +00:00
"AnimationEvent",
2022-12-05 17:12:31 +00:00
"BeforeUnloadEvent",
2022-12-04 23:22:03 +00:00
"ClipboardEvent",
"CompositionEvent",
2022-12-05 17:12:31 +00:00
"DeviceMotionEvent",
"DeviceOrientationEvent",
"DragEvent",
2023-01-28 13:19:13 +00:00
"ErrorEvent",
"FocusEvent",
2022-12-05 17:12:31 +00:00
"GamepadEvent",
"HashChangeEvent",
2022-12-04 23:22:03 +00:00
"InputEvent",
"KeyboardEvent",
2022-12-04 23:22:03 +00:00
"MouseEvent",
2022-12-05 17:12:31 +00:00
"PageTransitionEvent",
2022-12-04 23:22:03 +00:00
"PointerEvent",
2022-12-05 17:12:31 +00:00
"PopStateEvent",
"ProgressEvent",
2022-12-05 17:12:31 +00:00
"PromiseRejectionEvent",
"SecurityPolicyViolationEvent",
"StorageEvent",
"SubmitEvent",
"TouchEvent",
"TransitionEvent",
2022-12-05 17:12:31 +00:00
"UiEvent",
2022-12-04 23:22:03 +00:00
"WheelEvent",
2022-12-22 01:37:15 +00:00
# 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",
2023-01-02 21:35:00 +00:00
"HtmlOptionElement",
2022-07-31 20:46:14 +00:00
]
2022-09-01 14:39:04 +00:00
[features]
2023-01-06 18:24:24 +00:00
default = []
web = ["leptos_reactive/csr"]
ssr = ["leptos_reactive/ssr"]
2022-11-24 20:45:31 +00:00
stable = ["leptos_reactive/stable"]
[package.metadata.cargo-all-features]
denylist = ["stable"]
skip_feature_sets = [["web", "ssr"]]