GithubHelp home page GithubHelp logo

Comments (10)

PureWhiteWu avatar PureWhiteWu commented on June 11, 2024 1

你好,你可以把 async-broadcast 版本降低到 0.6 再试试看,非 main 分支上的版本依赖的还是 0.6

from volo.

brian-god avatar brian-god commented on June 11, 2024

我也尝试指定自己定义的结构体为key,但还是能解决,求大佬帮忙
1710499217086

from volo.

PureWhiteWu avatar PureWhiteWu commented on June 11, 2024

你看下你的 async_broadcast 的版本是否一致

from volo.

brian-god avatar brian-god commented on June 11, 2024

你看下你的 async_broadcast 的版本是否一致

大佬您好,我看了一下,版本都是0.7

from volo.

brian-god avatar brian-god commented on June 11, 2024

aaaa1710726272722

from volo.

Millione avatar Millione commented on June 11, 2024

@PureWhiteWu 我们是不是把 async-broadcast 的依赖版本改成用 *或0 比较好,这样应该就可以保证和用户依赖到的版本一致?

from volo.

PureWhiteWu avatar PureWhiteWu commented on June 11, 2024

@Millione 不太合适,主要原因有几个:

  1. 带有版本为 * 的依赖是无法 publish 到 crates 上的;
  2. 写 0 的话,不能保证用户也用的 “0”,而且这样也很容易产生 break change;
  3. 更好的方案还是 re-export 一下

from volo.

PureWhiteWu avatar PureWhiteWu commented on June 11, 2024

或者可以看看这里能不能改成用 tokio 的实现

from volo.

iamazy avatar iamazy commented on June 11, 2024

@Millione 不太合适,主要原因有几个:

  1. 带有版本为 * 的依赖是无法 publish 到 crates 上的;
  2. 写 0 的话,不能保证用户也用的 “0”,而且这样也很容易产生 break change;
  3. 更好的方案还是 re-export 一下

改为 async-broadcast=">=0.6"

from volo.

PureWhiteWu avatar PureWhiteWu commented on June 11, 2024

@iamazy 还是问题 2,比如如果 async-broadcast 发了一个版本 0.8 产生了 break change,那用户就会编译失败。

from volo.

Related Issues (20)

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.