Comments (4)
clap3.0.0がリリースされたため、 #9 でバージョンを最新版に固定し、ソースコードの関連箇所も修正したものを公開しました。
from rustbook.
ご連絡ありがとうございます。
clap
からの依存関係で取得される clap_derive
のバージョンが 3.0.0-beta.4
になってしまったので不整合が起きているようです。
対処方法としてはご指摘の通り明示的に 3.0.0-beta.2
の追加で問題ないと思います。
from rustbook.
ちなみにclapに関して10/18にも更新があり、最新のbeta版が3.0.0-beta.5になった様です。
これはclap_deriveも同様でした。
https://github.com/clap-rs/clap/blob/master/CHANGELOG.md
また更新内容確認すると
・Renamed Traits
clap::Clap => clap::Parser
となっており、どうやらトレートの名前がClapからParserに変更になった様です。
こちらのissueで起きていた現象について、私の環境でも発生していましたが、
試しにコード中の「Clap」という文字を「Parser」という文字に置き換えることで、最新のbeta版(3.0.0-beta.5)でも動作するようになりました。
from rustbook.
ご返信ありがとうございます。
対処方法についても問題ないとのことで安心しました。
from rustbook.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustbook.