Skip to content

Commit

Permalink
update project file for bytesio
Browse files Browse the repository at this point in the history
  • Loading branch information
harlanc committed Aug 11, 2024
1 parent e5a2e53 commit dffca6e
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 7 deletions.
27 changes: 27 additions & 0 deletions confs/online/bytesio.Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[package]
name = "bytesio"
version = "0.3.4"
authors = ["HarlanC <[email protected]>"]
edition = "2018"
description = "a network io library using tokio."
license = "MIT"
repository = "https://github.com/harlanc/xiu"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
byteorder = "1.4.2"
bytes = "1.0.0"
rand = "0.3"
failure = "0.1.8"
tokio-util = { version = "0.6.5", features = ["codec"] }
futures = "0.3.5"
tokio-stream = { version = "0.1" }
log = "0.4"
async-trait = "0.1.70"

[dependencies.tokio]
version = "1.4.0"
default-features = false
#features = ["rt-core", "rt-threaded", "macros", "time","sync"]
features = ["full"]
2 changes: 1 addition & 1 deletion confs/online/flv.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ serde = { version = "1.0", features = ["derive", "rc"] }
log = "0.4"
indexmap = "1.9.3"

bytesio = "0.3.3"
bytesio = "0.3.4"
h264-decoder = "0.2.4"

2 changes: 1 addition & 1 deletion confs/online/h264.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ bytes = "1.0.0"
log = "0.4"
failure = "0.1.8"

bytesio = "0.3.3"
bytesio = "0.3.4"

2 changes: 1 addition & 1 deletion confs/online/mpegts.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ byteorder = "1.4.2"
bytes = "1.0.0"
failure = "0.1.8"

bytesio = "0.3.3"
bytesio = "0.3.4"
2 changes: 1 addition & 1 deletion confs/online/rtmp.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ serde = { version = "1.0", features = ["derive", "rc"] }

streamhub = "0.2.4"
xflv = "0.4.4"
bytesio = "0.3.3"
bytesio = "0.3.4"
h264-decoder = "0.2.4"
commonlib = "0.1.2"

Expand Down
2 changes: 1 addition & 1 deletion confs/online/rtsp.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ serde_json = { version = "1", default-features = false, features = [
"std",
] }

bytesio = "0.3.3"
bytesio = "0.3.4"
streamhub = "0.2.4"
commonlib = "0.1.2"
2 changes: 1 addition & 1 deletion confs/online/streamhub.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ serde_json = { version = "1", default-features = false, features = [
serde = { version = "1.0", features = ["derive", "rc"] }

xflv = "0.4.4"
bytesio = "0.3.3"
bytesio = "0.3.4"

[dependencies.tokio]
version = "1.4.0"
Expand Down
2 changes: 1 addition & 1 deletion confs/online/webrtc.Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async-trait = "0.1.70"
fdk-aac = "0.6.0"
audiopus = "0.3.0-rc.0"

bytesio = "0.3.3"
bytesio = "0.3.4"
streamhub = "0.2.4"
xflv = "0.4.4"
commonlib = "0.1.2"
1 change: 1 addition & 0 deletions confs/update_project_conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ MODE=$1

copy_conf_files() {

cp ./$MODE/bytesio.Cargo.toml "../library/bytesio/Cargo.toml"
cp ./$MODE/common.Cargo.toml "../library/common/Cargo.toml"
cp ./$MODE/h264.Cargo.toml "../library/codec/h264/Cargo.toml"
cp ./$MODE/mpegts.Cargo.toml "../library/container/mpegts/Cargo.toml"
Expand Down

0 comments on commit dffca6e

Please sign in to comment.