-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (72 loc) · 1.7 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
[package]
name = "streamserver"
version = "0.1.0"
edition = "2021"
[workspace]
members = ["libs/rtmp", "libs/webrtc", "libs/streamhub", "libs/flv", "."]
[workspace.dependencies]
bytesio = "0.3.4"
streamhub = { path = "./libs/streamhub" }
h264-decoder = "0.2.4"
xflv = { path = "./libs/flv" }
commonlib = "0.1.2"
auth = { path = "./libs/auth" }
tokio = { version = "1.42" }
indexmap = "2.7.0"
serde = "1.0.217"
[dependencies]
anyhow = { version = "1.0.95", features = ["backtrace"] }
clap = { version = "4.5.23", features = ["derive"] }
config = { version = "0.15.4", features = ["toml"] }
dirs = "5.0.1"
serde = { workspace = true, features = ["derive"] }
tokio = { workspace = true, features = [
"macros",
"rt-multi-thread",
"sync",
"io-std",
"io-util",
"tracing",
] }
tonic = "0.12.3"
tracing = "0.1.41"
tracing-appender = "0.2.3"
tracing-subscriber = { version = "0.3.19", features = [
"json",
"local-time",
"env-filter",
"chrono",
] }
# rsmpeg = { version = "0.14.2", features = ["ffmpeg6"] }
rtmp = { path = "./libs/rtmp" }
xwebrtc = { path = "./libs/webrtc" }
auth = { path = "./libs/auth" }
streamhub = { workspace = true }
thiserror = "2.0.9"
url = "2.5.4"
tracing-log = "0.2.0"
prost = "0.13.4"
[build-dependencies]
tonic-build = "0.12.3"
# [package.metadata.vcpkg]
# dependencies = ["ffmpeg[avformat,avcodec,vpx,x264,x265]"]
# git = "https:/
[profile.release]
opt-level = 3
debug = false
debug-assertions = false
overflow-checks = false
lto = true
panic = 'abort'
incremental = false
codegen-units = 256
[profile.test]
opt-level = 3
debug = true
debug-assertions = true
overflow-checks = true
lto = false
panic = 'unwind'
incremental = false
codegen-units = 256
# rev = "master"