diff --git a/data/Cargo.toml b/data/Cargo.toml index 6a61061..001a6f2 100644 --- a/data/Cargo.toml +++ b/data/Cargo.toml @@ -7,7 +7,7 @@ description = "DataChannel in Rust" license = "MIT/Apache-2.0" [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = ["marshal"] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = ["marshal"] } sctp = { path = "../sctp", package = "sctp" } bytes = "1" diff --git a/dtls/Cargo.toml b/dtls/Cargo.toml index b8a4597..36bfcc7 100644 --- a/dtls/Cargo.toml +++ b/dtls/Cargo.toml @@ -7,7 +7,7 @@ description = "DTLS in Rust" license = "MIT/Apache-2.0" [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = ["crypto", "replay"] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = ["crypto", "replay"] } retty = "0.24" bytes = "1.4" byteorder = "1" diff --git a/dtls/examples_wip/hub/Cargo.toml b/dtls/examples_wip/hub/Cargo.toml index ffb1580..47e90cc 100644 --- a/dtls/examples_wip/hub/Cargo.toml +++ b/dtls/examples_wip/hub/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" [dependencies] util = { version = "0.7.0", package = "webrtc-util", default-features = false, features = ["conn"] } -shared = { path = "../../../shared", package = "shared", default-features = false, features = [] } +shared = { path = "../../../shared", package = "rtc-shared", default-features = false, features = [] } dtls = { package = "dtls", path = "../../" } tokio = { version = "1", features = ["full"] } diff --git a/rtcp/Cargo.toml b/rtcp/Cargo.toml index 6f6da68..2676114 100644 --- a/rtcp/Cargo.toml +++ b/rtcp/Cargo.toml @@ -7,7 +7,7 @@ description = "RTCP in Rust" license = "MIT/Apache-2.0" [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = ["marshal"] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = ["marshal"] } bytes = "1" thiserror = "1.0" diff --git a/rtp/Cargo.toml b/rtp/Cargo.toml index 1d34e68..2036a10 100644 --- a/rtp/Cargo.toml +++ b/rtp/Cargo.toml @@ -7,7 +7,7 @@ description = "RTP in Rust" license = "MIT/Apache-2.0" [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = ["marshal"] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = ["marshal"] } bytes = "1" rand = "0.8.5" diff --git a/sctp/Cargo.toml b/sctp/Cargo.toml index 6babc66..622e120 100644 --- a/sctp/Cargo.toml +++ b/sctp/Cargo.toml @@ -7,7 +7,7 @@ description = "SCTP in Rust" license = "MIT/Apache-2.0" [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = [] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = [] } retty = "0.24.0" bytes = "1.4.0" diff --git a/shared/Cargo.toml b/shared/Cargo.toml index 1f048af..03e9c86 100644 --- a/shared/Cargo.toml +++ b/shared/Cargo.toml @@ -1,6 +1,6 @@ [package] -name = "shared" -version = "0.0.0" +name = "rtc-shared" +version = "0.1.0" authors = ["Rain Liu "] edition = "2021" description = "Shared in Rust" diff --git a/srtp/Cargo.toml b/srtp/Cargo.toml index 49fbd9d..5d8b77b 100644 --- a/srtp/Cargo.toml +++ b/srtp/Cargo.toml @@ -7,7 +7,7 @@ description = "SRTP in Rust" license = "MIT/Apache-2.0" [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = ["crypto", "marshal", "replay"] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = ["crypto", "marshal", "replay"] } rtp = { path = "../rtp", package = "rtp" } rtcp = { path = "../rtcp", package = "rtcp" } diff --git a/stun/Cargo.toml b/stun/Cargo.toml index 1d3ac54..ff62196 100644 --- a/stun/Cargo.toml +++ b/stun/Cargo.toml @@ -11,7 +11,7 @@ default = [] bench = [] [dependencies] -shared = { path = "../shared", package = "shared", default-features = false, features = [] } +shared = { path = "../shared", package = "rtc-shared", default-features = false, features = [] } retty = "0.24" bytes = "1.4"