# 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 = "fastsim-core" version = "0.1.7" authors = ["NREL/MTES/CIMS/MBAP Group "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Core FASTSim models for vehicle energy usage simulation" homepage = "https://www.nrel.gov/transportation/fastsim.html" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/NREL/fastsim" [package.metadata] include = [ "resources/longparams.json", "resources/udds.csv", "resources/hwfet.csv", "build.rs", "../../NOTICE", ] [lib] name = "fastsim_core" path = "src/lib.rs" [[test]] name = "integration-tests" path = "tests/integration-tests.rs" [dependencies.anyhow] version = "1.0.57" [dependencies.argmin] version = "0.7.0" optional = true [dependencies.argmin-math] version = "0.2.1" features = ["ndarray_latest-nolinalg-serde"] optional = true [dependencies.bincode] version = "1.3.3" optional = true [dependencies.csv] version = "1.1" [dependencies.curl] version = "0.4.44" optional = true [dependencies.directories] version = "5.0.1" optional = true [dependencies.fastsim-proc-macros] version = "0.1.5" package = "fastsim-proc-macros" [dependencies.include_dir] version = "0.7.3" optional = true [dependencies.isahc] version = "1.7.2" [dependencies.itertools] version = "0.12.0" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.17" optional = true [dependencies.ndarray] version = "0.15.4" features = ["serde"] [dependencies.pyo3] version = "0.19" features = [ "extension-module", "anyhow", ] optional = true [dependencies.rayon] version = "1.7.0" [dependencies.regex] version = "1.7.1" [dependencies.serde] version = "1.0.143" features = ["derive"] [dependencies.serde_json] version = "1.0.81" [dependencies.serde_yaml] version = "0.9.22" [dependencies.tempfile] version = "3.8.1" [dependencies.toml] version = "0.8.12" [dependencies.ureq] version = "2.9.1" [dependencies.url] version = "2.5.0" [dependencies.validator] version = "0.16" features = ["derive"] optional = true [dependencies.zip] version = "0.6.6" [features] bincode = ["dep:bincode"] default = [ "dep:argmin", "dep:argmin-math", "dep:directories", "logging", "resources", "simdrivelabel", "validation", "vehicle-import", ] logging = ["dep:log"] pyo3 = ["dep:pyo3"] resources = ["dep:include_dir"] simdrivelabel = ["resources"] validation = ["dep:validator"] vehicle-import = ["dep:curl"]