Skip to content

Commit f17f89f

Browse files
committed
feat: revamp && init add WASM frameworks support && add all MDN input attributes (#11)
1 parent 43fe98f commit f17f89f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1966
-1962
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ jobs:
1919
- name: Build
2020
run: cargo build --verbose
2121
- name: Run tests
22-
run: cargo test --verbose
22+
run: cargo test --all-features --verbose

Cargo.toml

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,38 @@
11
[package]
2-
name = "input_yew"
3-
version = "0.1.10"
4-
description = "A feature-rich, accessible, highly customizable, functional, reusable input component for the Yew framework."
2+
name = "input-rs"
3+
version = "0.2.0"
4+
edition = "2021"
5+
rust-version = "1.79"
6+
description = "A feature-rich, accessible, highly customizable, functional, reusable input component for Wasm Frameworks."
57
license = "Apache-2.0"
6-
keywords = ["input", "yew", "rust", "input_yew"]
7-
repository = "https://github.com/wiseaidev/input-yew"
8-
documentation = "https://docs.rs/input_yew/"
8+
keywords = ["input", "yew", "dioxus", "leptos", "input-rs"]
9+
categories = ["web-programming", "science"]
10+
repository = "https://github.com/opensass/input-rs"
11+
documentation = "https://docs.rs/input-rs/"
912
authors = ["Mahmoud Harmouch <[email protected]>"]
10-
edition = "2021"
11-
exclude = ["/assets", "/examples"]
13+
exclude = ["assets", "examples"]
1214

1315
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1416

1517
[dependencies]
1618
web-sys = { version = "0.3.64", default-features = false }
17-
yew = { version = "0.21.0", default-features = false }
19+
yew = { version = "0.21.0", default-features = false, optional = true }
1820

1921
[dev-dependencies]
2022
regex = "1.10.2"
2123
serde = { version = "1.0.193", features = ["derive"] }
2224

25+
[features]
26+
yew = ["dep:yew"]
27+
2328
[profile.release]
24-
codegen-units = 1
2529
opt-level = "z"
30+
debug = false
2631
lto = "thin"
32+
codegen-units = 1
33+
panic = "abort"
2734
strip = "symbols"
35+
incremental = false
36+
37+
[badges]
38+
maintenance = { status = "actively-developed" }

README.md

Lines changed: 142 additions & 98 deletions
Large diffs are not rendered by default.

assets/favicon.ico

15 KB
Binary file not shown.

assets/logo.png

-206 KB
Loading

examples/tailwind/src/components/contact_form_one.rs

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)