[package] name = "cardamon" version = "0.2.0" edition = "2021" authors = [ "Oliver Winks ", "William Kimbell ", ] 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"