# 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.77.0" name = "trunk" version = "0.21.4" authors = [ "Anthony Dodd ", "Jens Reimann ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Build, bundle & ship your Rust WASM application to the web." readme = "README.md" keywords = [ "wasm", "bundler", "web", "build-tool", "compiler", ] categories = [ "command-line-utilities", "wasm", "web-programming", ] license = "MIT/Apache-2.0" repository = "https://github.com/trunk-rs/trunk" [profile.release] lto = "fat" codegen-units = 1 panic = "abort" [[bin]] name = "trunk" path = "src/main.rs" [dependencies.anyhow] version = "1" [dependencies.axum] version = "0.7" features = ["ws"] [dependencies.axum-server] version = "0.7" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.cargo-lock] version = "10" [dependencies.cargo_metadata] version = "0.18.1" [dependencies.clap] version = "4" features = [ "derive", "env", ] [dependencies.console] version = "0.15" [dependencies.crates_io_api] version = "0.11" optional = true default-features = false [dependencies.directories] version = "5" [dependencies.dunce] version = "1" [dependencies.flate2] version = "1" [dependencies.futures-util] version = "0.3" features = ["sink"] default-features = false [dependencies.hickory-resolver] version = "0.24.1" features = ["system-config"] [dependencies.homedir] version = "0.3.3" [dependencies.htmlescape] version = "0.3.1" [dependencies.http] version = "1.1" [dependencies.humantime] version = "2" [dependencies.humantime-serde] version = "1" [dependencies.lightningcss] version = "=1.0.0-alpha.60" [dependencies.local-ip-address] version = "0.6.1" [dependencies.lol_html] version = "1.2.1" [dependencies.mime_guess] version = "2.0.4" [dependencies.minify-html] version = "0.15.0" [dependencies.minify-js] version = "0.5.6" [dependencies.notify] version = "6" [dependencies.notify-debouncer-full] version = "0.3" [dependencies.once_cell] version = "1" [dependencies.open] version = "5" [dependencies.openssl] version = "0.10" optional = true default-features = false [dependencies.oxipng] version = "9" [dependencies.parking_lot] version = "0.12" [dependencies.rand] version = "0.8.5" [dependencies.remove_dir_all] version = "0.8" [dependencies.reqwest] version = "0.12" features = [ "stream", "trust-dns", ] default-features = false [dependencies.schemars] version = "0.8" features = ["derive"] [dependencies.seahash] version = "4" features = ["use_std"] [dependencies.semver] version = "1" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_yaml] version = "=0.9.33" [dependencies.sha2] version = "0.10" [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.tar] version = "0.4" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3" features = ["serde-well-known"] [dependencies.tokio] version = "1" features = ["full"] default-features = false [dependencies.tokio-stream] version = "0.1" features = [ "fs", "sync", ] default-features = false [dependencies.tokio-tungstenite] version = "0.24" [dependencies.toml] version = "0.8" [dependencies.tower-http] version = "0.6.1" features = [ "fs", "trace", "set-header", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dependencies.which] version = "7" [dependencies.zip] version = "2" [dev-dependencies.rstest] version = "0.23" [dev-dependencies.tempfile] version = "3" [features] default = [ "update_check", "native-tls", ] native-tls = [ "openssl", "axum-server/tls-openssl", "reqwest/native-tls", "tokio-tungstenite/native-tls", ] rustls = [ "axum-server/tls-rustls", "crates_io_api/rustls", "reqwest/rustls-tls", "reqwest/rustls-tls-native-roots", "tokio-tungstenite/rustls", "tokio-tungstenite/rustls-tls-native-roots", ] update_check = ["crates_io_api"] vendored = ["openssl?/vendored"] [target."cfg(windows)".dependencies.nu-ansi-term] version = "0.46"