From 45d3dfa6dca2fa59a1d5d097953926bfcad52160 Mon Sep 17 00:00:00 2001 From: yngrtc Date: Sat, 2 Mar 2024 13:28:32 -0800 Subject: [PATCH] bump rtc-datachannel to v0.1.0 --- Cargo.toml | 2 +- data/Cargo.toml | 19 --------------- {data => rtc-datachannel}/.gitignore | 0 {data => rtc-datachannel}/CHANGELOG.md | 0 rtc-datachannel/Cargo.toml | 22 ++++++++++++++++++ {data => rtc-datachannel}/LICENSE-APACHE | 0 {data => rtc-datachannel}/LICENSE-MIT | 0 {data => rtc-datachannel}/README.md | 0 {data => rtc-datachannel}/codecov.yml | 0 {data => rtc-datachannel}/doc/webrtc.rs.png | Bin .../src/data_channel/data_channel_test.rs | 0 .../src/data_channel/mod.rs | 0 {data => rtc-datachannel}/src/lib.rs | 0 .../src/message/message_channel_ack.rs | 0 .../src/message/message_channel_open.rs | 0 .../src/message/message_test.rs | 0 .../src/message/message_type.rs | 0 {data => rtc-datachannel}/src/message/mod.rs | 0 18 files changed, 23 insertions(+), 20 deletions(-) delete mode 100644 data/Cargo.toml rename {data => rtc-datachannel}/.gitignore (100%) rename {data => rtc-datachannel}/CHANGELOG.md (100%) create mode 100644 rtc-datachannel/Cargo.toml rename {data => rtc-datachannel}/LICENSE-APACHE (100%) rename {data => rtc-datachannel}/LICENSE-MIT (100%) rename {data => rtc-datachannel}/README.md (100%) rename {data => rtc-datachannel}/codecov.yml (100%) rename {data => rtc-datachannel}/doc/webrtc.rs.png (100%) rename {data => rtc-datachannel}/src/data_channel/data_channel_test.rs (100%) rename {data => rtc-datachannel}/src/data_channel/mod.rs (100%) rename {data => rtc-datachannel}/src/lib.rs (100%) rename {data => rtc-datachannel}/src/message/message_channel_ack.rs (100%) rename {data => rtc-datachannel}/src/message/message_channel_open.rs (100%) rename {data => rtc-datachannel}/src/message/message_test.rs (100%) rename {data => rtc-datachannel}/src/message/message_type.rs (100%) rename {data => rtc-datachannel}/src/message/mod.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index e4bc4e7..bd8d011 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [workspace] members = [ - "data", + "rtc-datachannel", "rtc-dtls", "rtc", "rtc-rtcp", diff --git a/data/Cargo.toml b/data/Cargo.toml deleted file mode 100644 index 6464f90..0000000 --- a/data/Cargo.toml +++ /dev/null @@ -1,19 +0,0 @@ -[package] -name = "data" -version = "0.0.0" -authors = ["Rain Liu "] -edition = "2021" -description = "DataChannel in Rust" -license = "MIT/Apache-2.0" - -[dependencies] -shared = { path = "../rtc-shared", package = "rtc-shared", default-features = false, features = ["marshal"] } -sctp = { path = "../rtc-sctp", package = "rtc-sctp" } - -bytes = "1" -log = "0.4.16" -thiserror = "1.0" - -[dev-dependencies] -env_logger = "0.11" -chrono = "0.4.23" diff --git a/data/.gitignore b/rtc-datachannel/.gitignore similarity index 100% rename from data/.gitignore rename to rtc-datachannel/.gitignore diff --git a/data/CHANGELOG.md b/rtc-datachannel/CHANGELOG.md similarity index 100% rename from data/CHANGELOG.md rename to rtc-datachannel/CHANGELOG.md diff --git a/rtc-datachannel/Cargo.toml b/rtc-datachannel/Cargo.toml new file mode 100644 index 0000000..c74080f --- /dev/null +++ b/rtc-datachannel/Cargo.toml @@ -0,0 +1,22 @@ +[package] +name = "rtc-datachannel" +version = "0.1.0" +authors = ["Rain Liu "] +edition = "2021" +description = "RTC DataChannel in Rust" +license = "MIT/Apache-2.0" +documentation = "https://docs.rs/rtc-datachannel" +homepage = "https://webrtc.rs" +repository = "https://github.com/webrtc-rs/rtc" + +[dependencies] +shared = { version = "0.1", path = "../rtc-shared", package = "rtc-shared", default-features = false, features = ["marshal"] } +sctp = { version = "0.1", path = "../rtc-sctp", package = "rtc-sctp" } + +bytes = "1" +log = "0.4" +thiserror = "1" + +[dev-dependencies] +env_logger = "0.11" +chrono = "0.4" diff --git a/data/LICENSE-APACHE b/rtc-datachannel/LICENSE-APACHE similarity index 100% rename from data/LICENSE-APACHE rename to rtc-datachannel/LICENSE-APACHE diff --git a/data/LICENSE-MIT b/rtc-datachannel/LICENSE-MIT similarity index 100% rename from data/LICENSE-MIT rename to rtc-datachannel/LICENSE-MIT diff --git a/data/README.md b/rtc-datachannel/README.md similarity index 100% rename from data/README.md rename to rtc-datachannel/README.md diff --git a/data/codecov.yml b/rtc-datachannel/codecov.yml similarity index 100% rename from data/codecov.yml rename to rtc-datachannel/codecov.yml diff --git a/data/doc/webrtc.rs.png b/rtc-datachannel/doc/webrtc.rs.png similarity index 100% rename from data/doc/webrtc.rs.png rename to rtc-datachannel/doc/webrtc.rs.png diff --git a/data/src/data_channel/data_channel_test.rs b/rtc-datachannel/src/data_channel/data_channel_test.rs similarity index 100% rename from data/src/data_channel/data_channel_test.rs rename to rtc-datachannel/src/data_channel/data_channel_test.rs diff --git a/data/src/data_channel/mod.rs b/rtc-datachannel/src/data_channel/mod.rs similarity index 100% rename from data/src/data_channel/mod.rs rename to rtc-datachannel/src/data_channel/mod.rs diff --git a/data/src/lib.rs b/rtc-datachannel/src/lib.rs similarity index 100% rename from data/src/lib.rs rename to rtc-datachannel/src/lib.rs diff --git a/data/src/message/message_channel_ack.rs b/rtc-datachannel/src/message/message_channel_ack.rs similarity index 100% rename from data/src/message/message_channel_ack.rs rename to rtc-datachannel/src/message/message_channel_ack.rs diff --git a/data/src/message/message_channel_open.rs b/rtc-datachannel/src/message/message_channel_open.rs similarity index 100% rename from data/src/message/message_channel_open.rs rename to rtc-datachannel/src/message/message_channel_open.rs diff --git a/data/src/message/message_test.rs b/rtc-datachannel/src/message/message_test.rs similarity index 100% rename from data/src/message/message_test.rs rename to rtc-datachannel/src/message/message_test.rs diff --git a/data/src/message/message_type.rs b/rtc-datachannel/src/message/message_type.rs similarity index 100% rename from data/src/message/message_type.rs rename to rtc-datachannel/src/message/message_type.rs diff --git a/data/src/message/mod.rs b/rtc-datachannel/src/message/mod.rs similarity index 100% rename from data/src/message/mod.rs rename to rtc-datachannel/src/message/mod.rs