diff --git a/rust-bindings/rust/.gitlab-ci.yml b/rust-bindings/rust/.gitlab-ci.yml index 9222ef76..ccadfe42 100644 --- a/rust-bindings/rust/.gitlab-ci.yml +++ b/rust-bindings/rust/.gitlab-ci.yml @@ -16,19 +16,19 @@ stages: libostree-sys: stage: build script: - - cargo test --verbose --manifest-path libostree-sys/Cargo.toml + - cargo test --verbose --manifest-path sys/Cargo.toml libostree-sys_nightly: stage: build image: rustlang/rust:nightly script: - - cargo test --verbose --manifest-path libostree-sys/Cargo.toml + - cargo test --verbose --manifest-path sys/Cargo.toml allow_failure: true publish_libostree-sys: stage: publish script: - - cargo publish --verbose --manifest-path libostree-sys/Cargo.toml --token $CRATES_IO_TOKEN + - cargo publish --verbose --manifest-path sys/Cargo.toml --token $CRATES_IO_TOKEN when: manual # libostree diff --git a/rust-bindings/rust/Cargo.toml b/rust-bindings/rust/Cargo.toml index ee277297..94c2d187 100644 --- a/rust-bindings/rust/Cargo.toml +++ b/rust-bindings/rust/Cargo.toml @@ -14,7 +14,7 @@ readme = "README.md" exclude = [ "conf/**", "gir-files/**", - "libostree-sys/**", + "sys/**", ".gitlab-ci.yml", ] @@ -36,7 +36,7 @@ gio = "0.5" glib-sys = "0.7" gobject-sys = "0.7" gio-sys = "0.7" -libostree-sys = { version = "0.1", path = "libostree-sys" } +libostree-sys = { version = "0.1", path = "sys" } [dev-dependencies] tempfile = "3" diff --git a/rust-bindings/rust/conf/libostree-sys.toml b/rust-bindings/rust/conf/libostree-sys.toml index 23d352ca..900b0451 100644 --- a/rust-bindings/rust/conf/libostree-sys.toml +++ b/rust-bindings/rust/conf/libostree-sys.toml @@ -2,7 +2,7 @@ work_mode = "sys" library = "OSTree" version = "1.0" -target_path = "../libostree-sys" +target_path = "../sys" external_libraries = [ "GLib", "GObject", diff --git a/rust-bindings/rust/libostree-sys/Cargo.toml b/rust-bindings/rust/sys/Cargo.toml similarity index 100% rename from rust-bindings/rust/libostree-sys/Cargo.toml rename to rust-bindings/rust/sys/Cargo.toml diff --git a/rust-bindings/rust/libostree-sys/build.rs b/rust-bindings/rust/sys/build.rs similarity index 100% rename from rust-bindings/rust/libostree-sys/build.rs rename to rust-bindings/rust/sys/build.rs diff --git a/rust-bindings/rust/libostree-sys/src/lib.rs b/rust-bindings/rust/sys/src/lib.rs similarity index 100% rename from rust-bindings/rust/libostree-sys/src/lib.rs rename to rust-bindings/rust/sys/src/lib.rs diff --git a/rust-bindings/rust/libostree-sys/src/manual.rs b/rust-bindings/rust/sys/src/manual.rs similarity index 100% rename from rust-bindings/rust/libostree-sys/src/manual.rs rename to rust-bindings/rust/sys/src/manual.rs diff --git a/rust-bindings/rust/libostree-sys/tests/abi.rs b/rust-bindings/rust/sys/tests/abi.rs similarity index 100% rename from rust-bindings/rust/libostree-sys/tests/abi.rs rename to rust-bindings/rust/sys/tests/abi.rs diff --git a/rust-bindings/rust/libostree-sys/tests/constant.c b/rust-bindings/rust/sys/tests/constant.c similarity index 100% rename from rust-bindings/rust/libostree-sys/tests/constant.c rename to rust-bindings/rust/sys/tests/constant.c diff --git a/rust-bindings/rust/libostree-sys/tests/layout.c b/rust-bindings/rust/sys/tests/layout.c similarity index 100% rename from rust-bindings/rust/libostree-sys/tests/layout.c rename to rust-bindings/rust/sys/tests/layout.c diff --git a/rust-bindings/rust/libostree-sys/tests/manual.h b/rust-bindings/rust/sys/tests/manual.h similarity index 100% rename from rust-bindings/rust/libostree-sys/tests/manual.h rename to rust-bindings/rust/sys/tests/manual.h