-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
94 lines (88 loc) · 2.43 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
name = "cardamon"
version = "0.2.0"
edition = "2021"
authors = [
"Oliver Winks <oliver@paperplane.software>",
"William Kimbell <will@kimbell.uk>",
]
description = "Cardamon is a tool to help development teams measure the power consumption and carbon emissions of their software."
license-file = "LICENSE"
repository = "https://github.com/Root-Branch/cardamon"
documentation = "https://docs.rs/cardamon"
homepage = "https://github.com/Root-Branch/cardamon"
keywords = ["green-software", "environmental", "sustainability"]
categories = [
"command-line-utilities",
"development-tools",
"development-tools::profiling",
]
readme = "README.md"
include = ["src/**/*.rs", "src/public", "src/templates"]
default-run = "cardamon"
[package.metadata.binstall.overrides.x86_64-pc-windows-msvc]
pkg-fmt = "zip"
[[bin]]
name = "cardamon"
path = "src/main.rs"
[[bin]]
name = "migrator"
path = "src/migrator.rs"
[dependencies]
anyhow = { version = "1.0.75", features = ["std"] }
async-trait = "0.1.81"
axum = { version = "0.7.1", features = ["json", "macros"] }
bollard = "0.17.1"
bytes = "1.6.0"
chrono = { version = "0.4.31", features = ["serde"] }
clap = { version = "4.4.10", features = ["derive"] }
colored = "2.1.0"
ctrlc = "3.4.5"
dotenvy = "0.15.7"
futures-util = "0.3.30"
http = "1.1.0"
itertools = "0.13.0"
mime_guess = { version = "2.0.5" }
num_cpus = "1.16.0"
phf = { version = "0.11", features = ["macros"] }
reqwest = { version = "0.12.7", features = ["json"] }
rust-embed = "8.5.0"
sea-orm = { version = "1.0.0", features = [
"sqlx-sqlite",
"sqlx-postgres",
"sqlx-mysql",
"runtime-tokio-rustls",
"macros",
"tests-cfg",
] }
sea-orm-macros = { version = "1.0.0" }
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.117"
shlex = "1.3.0"
subprocess = "0.2.9"
sysinfo = "0.31.2"
tar = "0.4.41"
term-table = "1.4.0"
textplots = "0.8.6"
# textplots = "0.8.6"
# time = "0.3.36"
tokio = { version = "1.37.0", features = ["full"] }
tokio-util = "0.7.11"
toml = "0.8.12"
tower-http = { version = "0.5.2", features = ["cors", "fs"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = [
"registry",
"env-filter",
] }
[dependencies.sea-orm-migration]
version = "1.0.0" # sea-orm-migration version
features = [
# Enable following runtime and db backend features if you want to run migration via CLI
"runtime-tokio-rustls",
"sqlx-postgres",
"sqlx-sqlite",
"sqlx-mysql",
]
[dev-dependencies]
nanoid = "0.4.0"