dtolnay/gflags

Add build option to use C++ gflags as backend

オープン

#6 opened on 2019/04/20

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Rust (6 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (55 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

The pure Rust implementation is good as a default, but it would be amazing to also provide:

[dependencies]
gflags = { version = "0.N", features = ["interop"] }

in which everything looks and behaves the same at the Rust source code level but the implementation switches to exactly the one used by C++ gflags, so that flags defined in Rust are seen by a C++ main function and vice versa.

Unsure whether this is possible.

コントリビューターガイド