bodil / typed-html

Type checked JSX for Rust
Mozilla Public License 2.0
1.87k stars 62 forks source link

typed-html broken on stable (rust 1.49.0) #120

Open elidupree opened 3 years ago

elidupree commented 3 years ago

If I create a fresh repo, add typed-html = "0.2.2" to my dependencies, and cargo build, I get this error while compiling typed-html:

error: overflow representing the type `Option<&T>`

This is distressing, because typed-html is a great library that I'm hoping to continue relying on!

elidupree commented 3 years ago

Update: Using the latest git version works. Also, this seems to be a semi-duplicate of this previous issue – it looks like the same error. The fault is on Rust's end, I guess? But it seems important to have an open issue to get out a version of typed-html that is not broken out-of-the-box, alas

KisaragiEffective commented 2 years ago

same in Rust 1.57.0, even there's no usage.

0rphon commented 2 years ago

is something blocking this? its been fixed on master but why was the fixed version never published to crates.io?

dgellow commented 2 years ago

@0rphon The project isn't maintained anymore

hadronized commented 2 years ago

a

:eyes:

paolobettelini commented 2 years ago

a

:eyes:

@phaazon just do this

[dependencies]
typed-html = { git = "https://github.com/bodil/typed-html" }
dullbananas commented 2 years ago

You should specify the commit:

typed-html = { git = "https://github.com/bodil/typed-html", rev = "4c13ecca" }