summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2022-07-18 07:34:28 +0300
committerYuval Adam <_@yuv.al>2022-07-18 07:34:28 +0300
commit50fdaad132b2939d8fc935cfa68df74497a6f4b5 (patch)
tree782ef23b1adb739af6af330b6cef333e5504273e
parent992cdcb4ae5156efb61b754e6f0f3692314f1a8a (diff)
Move to workspace file structure
-rw-r--r--Cargo.toml14
-rw-r--r--codec2-sys/Cargo.toml11
-rw-r--r--codec2-sys/build.rs (renamed from build.rs)0
-rw-r--r--codec2-sys/src/lib.rs (renamed from src/lib.rs)0
-rw-r--r--codec2-sys/src/wrapper.h (renamed from src/wrapper.h)0
5 files changed, 15 insertions, 10 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 9e4794f..56d630f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,11 +1,5 @@
-[package]
-name = "codec2-sys"
-description = "System bindings for codec2"
-version = "1.0.0"
-edition = "2021"
-repository = "https://github.com/yuvadm/codec2-sys"
-license = "LGPL-2.1"
-readme = "README.md"
+[workspace]
-[build-dependencies]
-bindgen = "0.60.1"
+members = [
+ "codec2-sys",
+] \ No newline at end of file
diff --git a/codec2-sys/Cargo.toml b/codec2-sys/Cargo.toml
new file mode 100644
index 0000000..7950644
--- /dev/null
+++ b/codec2-sys/Cargo.toml
@@ -0,0 +1,11 @@
+[package]
+name = "codec2-sys"
+description = "System bindings for codec2"
+version = "1.0.0"
+edition = "2021"
+repository = "https://github.com/yuvadm/codec2.rs"
+license = "LGPL-2.1"
+readme = "README.md"
+
+[build-dependencies]
+bindgen = "0.60.1"
diff --git a/build.rs b/codec2-sys/build.rs
index 9fbac37..9fbac37 100644
--- a/build.rs
+++ b/codec2-sys/build.rs
diff --git a/src/lib.rs b/codec2-sys/src/lib.rs
index 1a1db18..1a1db18 100644
--- a/src/lib.rs
+++ b/codec2-sys/src/lib.rs
diff --git a/src/wrapper.h b/codec2-sys/src/wrapper.h
index ae333d5..ae333d5 100644
--- a/src/wrapper.h
+++ b/codec2-sys/src/wrapper.h