pub fn version() -> VersionExpand description
The version of the igraph C library in use (at run time).
This is the library actually loaded by the dynamic linker, which may
differ from the one whose headers the crate was compiled against (e.g.
when LD_LIBRARY_PATH points to another build): this crate targets
igraph 1.0.1.
Binds igraph_version.
ยงExamples
let v = igraph::misc::version();
assert!(v.triple() >= (1, 0, 0));
assert!(v.to_string().starts_with(&format!("{}.{}.{}", v.major, v.minor, v.patch)));