Update gir version
This commit is contained in:
1 parent
7f61aeb779
commit
75ce6dfcac
12 files changed
+88
-49
No files matched your search
@@ -62,3 +62,6 @@ repository = "https://gitlab.com/fkrull/ostree-rs"
|
||||
version = "0.4.0"
|
||||
[package.metadata.docs.rs]
|
||||
features = ["dox"]
|
||||
|
||||
["package.metadata.docs.rs"]
|
||||
features = ["dox", "v2019_2"]
|
||||
@@ -2,14 +2,24 @@
|
||||
// from gir-files (https://github.com/gtk-rs/gir-files)
|
||||
// DO NOT EDIT
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
extern crate pkg_config;
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
use pkg_config::{Config, Error};
|
||||
#[cfg(not(feature = "dox"))]
|
||||
use std::env;
|
||||
#[cfg(not(feature = "dox"))]
|
||||
use std::io::prelude::*;
|
||||
#[cfg(not(feature = "dox"))]
|
||||
use std::io;
|
||||
#[cfg(not(feature = "dox"))]
|
||||
use std::process;
|
||||
|
||||
#[cfg(feature = "dox")]
|
||||
fn main() {} // prevent linking libraries to avoid documentation failure
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
fn main() {
|
||||
if let Err(s) = find() {
|
||||
let _ = writeln!(io::stderr(), "{}", s);
|
||||
@@ -17,6 +27,7 @@ fn main() {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "dox"))]
|
||||
fn find() -> Result<(), Error> {
|
||||
let package_name = "ostree-1";
|
||||
let shared_libs = ["ostree-1"];
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ 20feecf)
|
||||
Generated by gir (https://github.com/gtk-rs/gir @ c0f523f)
|
||||
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
|
||||
Reference in new issue
Block a user