Coder Social home page Coder Social logo

Publish on crates.io about mdsycx HOT 4 CLOSED

danielnehrig avatar danielnehrig commented on June 19, 2024
Publish on crates.io

from mdsycx.

Comments (4)

lukechu10 avatar lukechu10 commented on June 19, 2024 1

Yes I'm planning to publish a release soon but there are a few things I wish to finish up. Also it currently relies on an unpublished version of sycamore so I will need to publish that first.

If you want to use this, you could rely on a git dependency for now.

from mdsycx.

lukechu10 avatar lukechu10 commented on June 19, 2024 1

i've tried that but adding the crate results in a error for me

error[E0599]: no method named `to_web_sys` found for type parameter `G` in the current scope
   --> /Users/dNehrig/.cargo/git/checkouts/mdsycx-fc781c53a3901389/2bd0e21/mdsycx/src/components.rs:124:45
    |
92  | fn events_to_view<'a, G: Html>(
    |                       - method `to_web_sys` not found for this type parameter
...
124 |                             let node = node.to_web_sys();
    |                                             ^^^^^^^^^^ method not found in `G`

to be fair im using perseus for building my app

Yes because we are relying on unpublished version of sycamore. You'll need to patch sycamore like here:

mdsycx/Cargo.toml

Lines 4 to 5 in 2bd0e21

[patch.crates-io]
sycamore = { git = "https://github.com/sycamore-rs/sycamore", rev = "2a7d015" }

from mdsycx.

danielnehrig avatar danielnehrig commented on June 19, 2024

i've tried that but adding the crate results in a error for me

error[E0599]: no method named `to_web_sys` found for type parameter `G` in the current scope
   --> /Users/dNehrig/.cargo/git/checkouts/mdsycx-fc781c53a3901389/2bd0e21/mdsycx/src/components.rs:124:45
    |
92  | fn events_to_view<'a, G: Html>(
    |                       - method `to_web_sys` not found for this type parameter
...
124 |                             let node = node.to_web_sys();
    |                                             ^^^^^^^^^^ method not found in `G`

to be fair im using perseus for building my app

from mdsycx.

lukechu10 avatar lukechu10 commented on June 19, 2024

This crate is now published!

from mdsycx.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.