-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
115 lines (105 loc) · 3.71 KB
/
Cargo.toml
File metadata and controls
115 lines (105 loc) · 3.71 KB
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[workspace]
resolver = "2"
members = [
".",
"browser",
"cloudflare-worker-client",
"config",
"tui",
]
[workspace.package]
version = "0.2.0"
authors = ["hyper.video <info@hyper.video>"]
edition = "2021"
homepage = "https://github.com/hypervideo/browser-simulator"
repository = "https://github.com/hypervideo/browser-simulator"
[workspace.dependencies]
better-panic = "0.3.0"
# TODO: fix for https://github.com/mattsse/chromiumoxide/issues/243
chromiumoxide = { git = "https://github.com/caido/dependency-chromiumoxide", branch = "ef-json-parsing", features = ["tokio-runtime", "bytes"], default-features = false }
chrono = { version = "0.4.41", features = ["serde"] }
clap = { version = "4.5.37", features = ["derive", "env", "cargo", "string"] }
color-eyre = "0.6.3"
config = { version = "0.15.11", default-features = false, features = ["yaml", "convert-case", "async"] }
crossterm = { version = "0.28.1", features = ["serde", "event-stream"] }
derive_more = { version = "2.0.1", default-features = false, features = ["deref", "deref_mut", "debug", "display"] }
directories = "6.0.0"
eyre = "0.6.12"
futures = "0.3.31"
human-panic = "2.0.2"
lazy_static = "1.5.0"
libc = "0.2.161"
maybe-backoff = "0.5.0"
pretty_assertions = "1.4.1"
random_name_generator = "0.3.6"
ratatui = { version = "0.29.0", features = ["serde", "macros"] }
reqwest = { version = "0.12.15", features = ["cookies", "json", "blocking"] }
serde = { version = "1.0.211", features = ["derive"] }
serde_json = "1.0.132"
serde_yml = "0.0.12"
sha1 = "0.10.6"
signal-hook = "0.3.17"
strip-ansi-escapes = "0.2.0"
strum = { version = "0.27.1", features = ["derive"] }
temp-dir = "0.1.16"
tokio = { version = "1.46.1", default-features = false, features = ["macros", "rt-multi-thread", "sync", "signal"] }
tokio-util = "0.7.12"
tracing = "0.1.41"
tracing-error = "0.2.0"
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "serde"] }
tui-logger = { version = "0.17.2", features = ["crossterm", "tracing", "tracing-subscriber", "tracing-support"] }
tui-textarea = "0.7.0"
url = { version = "2.5.4", features = ["serde"] }
which = "8.0.0"
client-simulator-browser = { path = "./browser" }
client-simulator-config = { path = "./config" }
client-simulator-tui = { path = "./tui" }
cloudflare-worker-client = { path = "./cloudflare-worker-client" }
[workspace.lints.clippy]
# Allows for simpler exports.
module_inception = "allow"
# E.g. when using `Rc<RefCell<···>>`, the type complexity lint is quite
# counterproductive since factoring out the type would hide cruciual semantics.
type_complexity = "allow"
# We can decide on a case-by-case basis if arguments should be refactored.
too_many_arguments = "allow"
# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[package]
name = "hyper-client-simulator"
version.workspace = true
authors.workspace = true
edition.workspace = true
description = "A Rust TUI for simulating Chromium-backed browser participants against hyper.video sessions."
homepage.workspace = true
repository.workspace = true
[dependencies]
better-panic.workspace = true
clap.workspace = true
client-simulator-browser.workspace = true
client-simulator-config.workspace = true
client-simulator-tui.workspace = true
color-eyre.workspace = true
eyre.workspace = true
human-panic.workspace = true
libc.workspace = true
serde_json.workspace = true
strip-ansi-escapes.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-error.workspace = true
tracing-subscriber.workspace = true
url.workspace = true
[package.metadata.cargo-udeps.ignore]
normal = [
"human-panic",
]
development = [
# Used conditionally in development mode.
"better-panic",
]
[lints]
workspace = true
# The profile that 'dist' will build with
[profile.dist]
inherits = "release"
lto = "thin"