From d3a9bbfa3a1907cc597b1b81648fcb53502c1b16 Mon Sep 17 00:00:00 2001 From: HarlanC Date: Sat, 16 Mar 2024 00:15:18 +0800 Subject: [PATCH] fix build error in github actions --- confs/online/httpflv.Cargo.toml | 1 + confs/online/rtsp.Cargo.toml | 5 +++++ confs/online/streamhub.Cargo.toml | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/confs/online/httpflv.Cargo.toml b/confs/online/httpflv.Cargo.toml index eb7c03c0..5e6ced6a 100644 --- a/confs/online/httpflv.Cargo.toml +++ b/confs/online/httpflv.Cargo.toml @@ -17,6 +17,7 @@ failure = "0.1.8" log = "0.4" axum = { version = "0.7.4" } futures = "0.3" +chrono = "0.4" streamhub = "0.2.2" xflv = "0.4.2" diff --git a/confs/online/rtsp.Cargo.toml b/confs/online/rtsp.Cargo.toml index 9182d6d3..a38a2189 100644 --- a/confs/online/rtsp.Cargo.toml +++ b/confs/online/rtsp.Cargo.toml @@ -23,6 +23,11 @@ chrono = "0.4" async-trait = "0.1.70" base64 = "0.21.2" hex = "0.4.3" +serde_json = { version = "1", default-features = false, features = [ + "alloc", + "raw_value", + "std", +] } bytesio = "0.3.2" streamhub = "0.2.2" diff --git a/confs/online/streamhub.Cargo.toml b/confs/online/streamhub.Cargo.toml index ef2cc141..a26af923 100644 --- a/confs/online/streamhub.Cargo.toml +++ b/confs/online/streamhub.Cargo.toml @@ -15,10 +15,10 @@ byteorder = "1.4.2" bytes = "1.0.0" rand = "0.8" log = "0.4" -chrono = "0.4" +chrono = { version = "0.4", features = ["serde"] } indexmap = "1.9.3" #use vendored feature to enable cross compile for openssl -reqwest = {version = "0.11.24",features = ["native-tls-vendored"]} +reqwest = { version = "0.11.24", features = ["native-tls-vendored"] } async-trait = "0.1.70" serde_json = { version = "1", default-features = false, features = [ "alloc",