diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-10-29 21:37:59 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-10-29 21:37:59 +0900 |
commit | 8087d83158f1d80a308a50c2faafacc138c4a7a8 (patch) | |
tree | 06494ae0aad20f23b83b58152d9734d1e6e741b3 | |
parent | 4851ca15db70f7d163ece4d8ebe442a82c73e518 (diff) | |
download | hinawa-rs-8087d83158f1d80a308a50c2faafacc138c4a7a8.tar.gz |
change directory layout for hinawa-sys crate according to convention in gtk-rs project
In gtk-rs project, glib crate version 0.14 or later uses directory layout
different from the previous releases. It is preferable to use the same
layout in hinawa crate.
This commit uses the same layout.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.rst | 2 | ||||
-rw-r--r-- | hinawa/Cargo.toml | 2 | ||||
-rw-r--r-- | hinawa/sys/Cargo.toml (renamed from hinawa-sys/Cargo.toml) | 0 | ||||
-rw-r--r-- | hinawa/sys/Gir.toml (renamed from hinawa-sys/Gir.toml) | 0 | ||||
-rw-r--r-- | hinawa/sys/README.md (renamed from hinawa-sys/README.md) | 0 | ||||
-rw-r--r-- | hinawa/sys/build.rs (renamed from hinawa-sys/build.rs) | 0 | ||||
-rw-r--r-- | hinawa/sys/src/lib.rs (renamed from hinawa-sys/src/lib.rs) | 0 | ||||
-rw-r--r-- | hinawa/sys/tests/abi.rs (renamed from hinawa-sys/tests/abi.rs) | 0 | ||||
-rw-r--r-- | hinawa/sys/tests/constant.c (renamed from hinawa-sys/tests/constant.c) | 0 | ||||
-rw-r--r-- | hinawa/sys/tests/layout.c (renamed from hinawa-sys/tests/layout.c) | 0 | ||||
-rw-r--r-- | hinawa/sys/tests/manual.h (renamed from hinawa-sys/tests/manual.h) | 0 | ||||
-rw-r--r-- | hinawa/sys/versions.txt (renamed from hinawa-sys/versions.txt) | 0 |
13 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ [workspace] members = [ - "hinawa-sys", + "hinawa/sys", "hinawa", ] @@ -31,7 +31,7 @@ API bindings for safe and high-level abstractions `FFI bindings <https://doc.rust-lang.org/cargo/reference/build-scripts.html#-sys-packages>`_ -------------------------------------------------------------------------------------------- -* `hinawa-sys crate <hinawa-sys/README.md>`_ +* `hinawa-sys crate <hinawa/sys/README.md>`_ License ======= diff --git a/hinawa/Cargo.toml b/hinawa/Cargo.toml index 063f731..62229b5 100644 --- a/hinawa/Cargo.toml +++ b/hinawa/Cargo.toml @@ -22,7 +22,7 @@ name = "hinawa" [dependencies] libc = "0.2" glib = "0.15" -ffi = {package = "hinawa-sys", path = "../hinawa-sys", version = "0.8.1"} +ffi = {package = "hinawa-sys", path = "sys", version = "0.8.1"} [dev-dependencies] gir-format-check = "^0.1" diff --git a/hinawa-sys/Cargo.toml b/hinawa/sys/Cargo.toml index 0cb7dd8..0cb7dd8 100644 --- a/hinawa-sys/Cargo.toml +++ b/hinawa/sys/Cargo.toml diff --git a/hinawa-sys/Gir.toml b/hinawa/sys/Gir.toml index 82f53a4..82f53a4 100644 --- a/hinawa-sys/Gir.toml +++ b/hinawa/sys/Gir.toml diff --git a/hinawa-sys/README.md b/hinawa/sys/README.md index 23e8581..23e8581 100644 --- a/hinawa-sys/README.md +++ b/hinawa/sys/README.md diff --git a/hinawa-sys/build.rs b/hinawa/sys/build.rs index 2737436..2737436 100644 --- a/hinawa-sys/build.rs +++ b/hinawa/sys/build.rs diff --git a/hinawa-sys/src/lib.rs b/hinawa/sys/src/lib.rs index b3eb349..b3eb349 100644 --- a/hinawa-sys/src/lib.rs +++ b/hinawa/sys/src/lib.rs diff --git a/hinawa-sys/tests/abi.rs b/hinawa/sys/tests/abi.rs index b784982..b784982 100644 --- a/hinawa-sys/tests/abi.rs +++ b/hinawa/sys/tests/abi.rs diff --git a/hinawa-sys/tests/constant.c b/hinawa/sys/tests/constant.c index fa2b2b1..fa2b2b1 100644 --- a/hinawa-sys/tests/constant.c +++ b/hinawa/sys/tests/constant.c diff --git a/hinawa-sys/tests/layout.c b/hinawa/sys/tests/layout.c index 6dbc21a..6dbc21a 100644 --- a/hinawa-sys/tests/layout.c +++ b/hinawa/sys/tests/layout.c diff --git a/hinawa-sys/tests/manual.h b/hinawa/sys/tests/manual.h index 199b2f2..199b2f2 100644 --- a/hinawa-sys/tests/manual.h +++ b/hinawa/sys/tests/manual.h diff --git a/hinawa-sys/versions.txt b/hinawa/sys/versions.txt index 4bb7a0b..4bb7a0b 100644 --- a/hinawa-sys/versions.txt +++ b/hinawa/sys/versions.txt |