# 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 = "hai_pal" version = "0.7.0" authors = ["Icemic "] description = "Platform abstraction layer for Hai." license = "Apache-2.0" repository = "https://github.com/Icemic/hai" [dependencies.anyhow] version = "1.0" [dependencies.console_error_panic_hook] version = "0.1" optional = true [dependencies.console_log] version = "0.2.0" features = ["color"] optional = true [dependencies.dotenv] version = "0.15.0" optional = true [dependencies.env_logger] version = "0.11" optional = true [dependencies.envy] version = "0.4" [dependencies.log] version = "0.4" [dependencies.node-resolve] version = "2.2" optional = true [dependencies.once_cell] version = "1.16" [dependencies.parking_lot] version = "0.12" optional = true [dependencies.reqwest] version = "0.12" features = [ "rustls-tls", "gzip", "deflate", "brotli", ] default-features = false [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.url] version = "2.2" [features] default = ["desktop"] desktop = [ "dotenv", "env_logger", "node-resolve", "parking_lot", "tokio", "parking_lot/hardware-lock-elision", ] web = [ "console_error_panic_hook", "console_log", "parking_lot", ]