dtolnay/gflags

Add build option to use C++ gflags as backend

Offen

#6 geöffnet am 20.04.2019

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (6 Forks)github user discovery
help wanted

Repository-Metriken

Stars
 (55 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide