2024-02-05 12:33:43 +00:00
|
|
|
[package]
|
|
|
|
name = "tachys"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
[dependencies]
|
2024-03-28 01:41:49 +00:00
|
|
|
any_error = { workspace = true }
|
2024-02-17 01:37:59 +00:00
|
|
|
any_spawner = { workspace = true }
|
2024-02-05 12:33:43 +00:00
|
|
|
const_str_slice_concat = { workspace = true }
|
2024-02-26 13:51:41 +00:00
|
|
|
either_of = { workspace = true }
|
2024-02-05 12:33:43 +00:00
|
|
|
next_tuple = { path = "../next_tuple" }
|
|
|
|
reactive_graph = { workspace = true, optional = true }
|
|
|
|
slotmap = { version = "1", optional = true }
|
2024-03-13 23:55:36 +00:00
|
|
|
oco = { workspace = true, optional = true }
|
2024-02-05 12:33:43 +00:00
|
|
|
once_cell = "1"
|
|
|
|
paste = "1"
|
|
|
|
wasm-bindgen = "0.2"
|
2024-03-19 23:58:04 +00:00
|
|
|
html-escape = "0.2"
|
2024-02-05 12:33:43 +00:00
|
|
|
js-sys = "0.3"
|
|
|
|
web-sys = { version = "0.3", features = [
|
|
|
|
"Window",
|
|
|
|
"Document",
|
|
|
|
"HtmlElement",
|
|
|
|
"HtmlInputElement",
|
|
|
|
"Element",
|
|
|
|
"Event",
|
|
|
|
"console",
|
|
|
|
"Comment",
|
|
|
|
"Text",
|
|
|
|
"Node",
|
|
|
|
"HtmlTemplateElement",
|
|
|
|
"DocumentFragment",
|
|
|
|
"DomTokenList",
|
|
|
|
"CssStyleDeclaration",
|
|
|
|
"ShadowRoot",
|
|
|
|
|
|
|
|
# Events we cast to in leptos_macro -- added here so we don't force users to import them
|
|
|
|
"AddEventListenerOptions",
|
|
|
|
"AnimationEvent",
|
|
|
|
"BeforeUnloadEvent",
|
|
|
|
"ClipboardEvent",
|
|
|
|
"CompositionEvent",
|
|
|
|
"CustomEvent",
|
|
|
|
"DeviceMotionEvent",
|
|
|
|
"DeviceOrientationEvent",
|
|
|
|
"DragEvent",
|
|
|
|
"ErrorEvent",
|
|
|
|
"Event",
|
|
|
|
"FocusEvent",
|
|
|
|
"GamepadEvent",
|
|
|
|
"HashChangeEvent",
|
|
|
|
"InputEvent",
|
|
|
|
"KeyboardEvent",
|
|
|
|
"MessageEvent",
|
|
|
|
"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",
|
|
|
|
] }
|
|
|
|
drain_filter_polyfill = "0.1"
|
|
|
|
indexmap = "2"
|
|
|
|
rustc-hash = "1"
|
|
|
|
futures = "0.3"
|
|
|
|
parking_lot = "0.12"
|
|
|
|
itertools = "0.12"
|
|
|
|
send_wrapper = "0.6"
|
2024-03-23 18:59:10 +00:00
|
|
|
linear-map = "1.2.0"
|
|
|
|
sledgehammer_bindgen = { version = "0.4", features = ["web"], optional = true }
|
|
|
|
sledgehammer_utils = { version = "0.2", optional = true }
|
2024-02-05 12:33:43 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tokio-test = "0.4"
|
|
|
|
tokio = { version = "1", features = ["rt", "macros"] }
|
|
|
|
|
|
|
|
[features]
|
|
|
|
default = ["testing"]
|
|
|
|
delegation = [] # enables event delegation
|
2024-03-30 14:39:17 +00:00
|
|
|
error-hook = []
|
2024-02-05 12:33:43 +00:00
|
|
|
hydrate = []
|
|
|
|
islands = []
|
|
|
|
ssr = []
|
|
|
|
nightly = ["reactive_graph/nightly"]
|
|
|
|
testing = ["dep:slotmap"]
|
|
|
|
reactive_graph = ["dep:reactive_graph"]
|
2024-03-23 18:59:10 +00:00
|
|
|
sledgehammer = ["dep:sledgehammer_bindgen", "dep:sledgehammer_utils"]
|