# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "carbond-lib" version = "0.1.0" authors = [ "Andreas Schmidt ", "Robin Ohs ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Type-safe interface to the managed information provided by the system daemon 'carbond' for Rust." readme = "README.md" keywords = [ "carbon", "carbond", "linux", "emissions", ] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/sustainable-computing-systems/carbond" [lib] name = "carbond_lib" path = "src/lib.rs" [[example]] name = "carbon_emission" path = "examples/carbon_emission.rs" [[example]] name = "carbon_emission_mock" path = "examples/carbon_emission_mock.rs" [[example]] name = "carbond_track" path = "examples/carbond_track.rs" [[example]] name = "carbond_track_benchmark" path = "examples/carbond_track_benchmark.rs" [[example]] name = "cpu_embodied_emission" path = "examples/cpu_embodied_emission.rs" [[example]] name = "load_grid_intensity" path = "examples/load_grid_intensity.rs" [[example]] name = "load_grid_intensity_sync" path = "examples/load_grid_intensity_sync.rs" [[example]] name = "load_psu_efficiency" path = "examples/load_psu_efficiency.rs" [[example]] name = "load_psu_efficiency_sync" path = "examples/load_psu_efficiency_sync.rs" [[example]] name = "load_system_intensity" path = "examples/load_system_intensity.rs" [[example]] name = "load_system_intensity_sync" path = "examples/load_system_intensity_sync.rs" [dependencies.async-trait] version = "0.1" [dependencies.const_format] version = "0.2" [dependencies.core_affinity] version = "0.8" [dependencies.log] version = "0.4" [dependencies.proc-macro-error] version = "1.0" [dependencies.proc-macro2] version = "1.0" [dependencies.quote] version = "1.0" [dependencies.rand] version = "0.8.5" [dependencies.syn] version = "2.0" features = ["full"] [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1.36.0" features = ["full"] [dependencies.uom] version = "0.36.0" [dev-dependencies.assert-tokenstreams-eq] version = "0.1" [dev-dependencies.color-eyre] version = "0.6" [dev-dependencies.powercap] version = "0.3" features = ["mock"] [dev-dependencies.tempfile] version = "3.9"