# 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" rust-version = "1.80" name = "carbonintensity-api" version = "0.3.0" authors = ["Julien Nioche "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Provides a client for the UK National Grid Carbon Intensity API" readme = "README.md" keywords = [ "carbon-intensity-api", "energy", "api", "national-grid", ] license = "Apache-2.0" repository = "https://github.com/jnioche/carbonintensity-api" [lib] name = "carbonintensity" path = "src/lib.rs" [[bin]] name = "carbonintensity-api" path = "src/main.rs" [dependencies.chrono] version = "0.4.31" [dependencies.clap] version = "4.4.8" features = ["derive"] [dependencies.futures] version = "0.3" [dependencies.reqwest] version = "0.12" features = ["json"] [dependencies.serde] version = "1.0.108" features = ["derive"] [dependencies.serde_json] version = "1.0.108" [dependencies.serde_with] version = "1.0.108" [dependencies.thiserror] version = "1.0.50" [dependencies.tokio] version = "1.33.0" features = [ "macros", "rt-multi-thread", ] [dependencies.url] version = "2.4.1"