[package]
edition = "2024"
rust-version = "1.98"
name = "prime-steps"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "prime-rs: Steps component (PrimeNG port)"
homepage = "https://anton-avramchuk.github.io/prime-rs/"
readme = false
license = "MIT"
repository = "https://github.com/anton-avramchuk/prime-rs"
[features]
default = []
hydrate = [
"leptos/hydrate",
"prime-rs-core/hydrate",
]
ssr = [
"leptos/ssr",
"prime-rs-core/ssr",
]
[lib]
name = "prime_steps"
path = "src/lib.rs"
[[test]]
name = "ssr"
path = "tests/ssr.rs"
[[test]]
name = "web"
path = "tests/web.rs"
[dependencies.leptos]
version = "0.8.22"
default-features = false
[dependencies.prime-rs-core]
version = "0.1.0"
[dependencies.wasm-bindgen]
version = "0.2"
[dependencies.web-sys]
version = "0.3"
features = [
"Event",
"KeyboardEvent",
"MouseEvent",
"HtmlElement",
"Element",
"HtmlCollection",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.leptos]
version = "0.8.22"
features = ["ssr"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.js-sys]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.leptos]
version = "0.8.22"
features = ["csr"]
default-features = false
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-futures]
version = "0.4"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test]
version = "0.3"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies.web-sys]
version = "0.3"
features = [
"Document",
"Window",
"Element",
"HtmlElement",
"Event",
"KeyboardEvent",
"KeyboardEventInit",
"MouseEvent",
"MouseEventInit",
"HtmlAnchorElement",
"DomTokenList",
]
default-features = false
[lints.clippy.all]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"