# 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 = "ubi" version = "0.2.4" authors = ["Dave Rolsky "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "The Universal Binary Installer library" readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/houseabsolute/ubi" [lib] name = "ubi" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.93" [dependencies.binstall-tar] version = "0.4.42" [dependencies.bzip2] version = "0.4.4" [dependencies.document-features] version = "0.2" [dependencies.fern] version = "0.7.0" features = ["colored"] optional = true [dependencies.flate2] version = "1.0.35" [dependencies.itertools] version = "0.13.0" [dependencies.lazy-regex] version = "3.3.0" [dependencies.log] version = "0.4.22" [dependencies.platforms] version = "3.5.0" [dependencies.regex] version = "1.11.1" [dependencies.reqwest] version = "0.12.9" features = [ "gzip", "json", ] default-features = false [dependencies.serde] version = "1.0.215" features = ["derive"] [dependencies.strum] version = "0.26.3" features = ["derive"] [dependencies.tempfile] version = "3.14.0" [dependencies.thiserror] version = "2.0.3" [dependencies.url] version = "2.5.4" features = ["serde"] [dependencies.which] version = "7.0.0" [dependencies.xz2] version = "0.1.7" [dependencies.zip] version = "2.2.1" features = [ "aes-crypto", "bzip2", "deflate", "deflate64", "lzma", "zstd", ] default-features = false [dev-dependencies.fern] version = "0.7.0" features = ["colored"] [dev-dependencies.mockito] version = "1.6.1" [dev-dependencies.test-case] version = "3.3.1" [dev-dependencies.test-log] version = "0.2.16" [dev-dependencies.tokio] version = "1.41.1" features = [ "macros", "rt", ] default-features = false [features] default = ["rustls-tls"] logging = ["dep:fern"] native-tls = ["reqwest/native-tls"] native-tls-vendored = ["reqwest/native-tls-vendored"] rustls-tls = ["reqwest/rustls-tls"] rustls-tls-native-roots = ["reqwest/rustls-tls-native-roots"]