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.

贡献者指南