dtolnay/gflags

Add build option to use C++ gflags as backend

Aberta

#6 aberto em 20 de abr. de 2019

 (1 comentário) (0 reação) (0 responsável)Rust (6 forks)github user discovery
help wanted

Métricas do repositório

Stars
 (55 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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.

Guia do colaborador