dtolnay/gflags

Add build option to use C++ gflags as backend

開放

#6 建立於 2019年4月20日

 (1 則留言) (0 個反應) (0 位負責人)Rust (6 個分叉)github user discovery
help wanted

倉庫指標

星標
 (55 顆星)
PR 合併指標
 (30 天內沒有已合併 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.

貢獻者指南