[package] name = "dom_testing_library" license.workspace = true version.workspace = true edition.workspace = true authors.workspace = true repository.workspace = true readme = "../README.md" description = "dom_testing_library is a lightweight front end testing toolkit for the rust frontend ecosystem. Heavily inspired by https://testing-library.com/ , write wasm_bindgen tests for your rust front end framework the same way your users will use it." homepage.workspace = true [target.wasm32-unknown-unknown] runner = 'wasm-bindgen-test-runner' [dependencies] thiserror = "1.0.56" wasm-bindgen = { workspace = true } web-sys= {version="0.3.0",features=["HtmlCollection","NodeList","Window", "HtmlElement","Document","HtmlLabelElement","HtmlTextAreaElement","HtmlInputElement","HtmlSelectElement"]} [dev-dependencies] wasm-bindgen-test = { workspace = true } console_error_panic_hook = "0.1.7" [features] # my vscode rust analyzer needs this and I don't know why. leptos=[] # we need to feature gate unit tests because it seems wasm-pack test can only test one at a time, integration or unit test. Not both like normal. unit_tests=[]