pesde/Cargo.toml

107 lines
3.4 KiB
TOML
Raw Permalink Normal View History

2024-03-04 20:18:49 +00:00
[package]
name = "pesde"
version = "0.5.0-rc.16"
2024-03-04 20:18:49 +00:00
edition = "2021"
license = "MIT"
authors = ["daimond113 <contact@daimond113.com>"]
2024-09-28 23:04:35 +01:00
description = "A package manager for the Luau programming language, supporting multiple runtimes including Roblox and Lune"
2024-03-04 20:18:49 +00:00
homepage = "https://pesde.daimond113.com"
2024-11-27 20:08:33 +00:00
repository = "https://github.com/pesde-pkg/pesde"
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "LICENSE", "CHANGELOG.md"]
2024-03-04 20:18:49 +00:00
[features]
2024-07-26 17:47:53 +01:00
bin = [
2024-11-28 21:44:42 +00:00
"dep:clap",
"dep:dirs",
"dep:pretty_env_logger",
2024-07-26 17:47:53 +01:00
"reqwest/json",
2024-11-28 21:44:42 +00:00
"dep:indicatif",
"dep:indicatif-log-bridge",
"dep:inquire",
"dep:toml_edit",
"dep:colored",
"dep:anyhow",
"dep:keyring",
"dep:open",
2024-07-26 17:47:53 +01:00
"gix/worktree-mutation",
2024-11-28 21:44:42 +00:00
"dep:serde_json",
"dep:winreg",
2024-11-05 19:44:24 +00:00
"fs-err/expose_original_error",
"tokio/rt",
"tokio/rt-multi-thread",
"tokio/macros",
2024-07-26 17:47:53 +01:00
]
2024-11-28 21:44:42 +00:00
wally-compat = ["dep:async_zip", "dep:serde_json"]
patches = ["dep:git2"]
2024-09-28 23:37:38 +01:00
version-management = ["bin"]
2024-03-04 20:18:49 +00:00
[[bin]]
name = "pesde"
path = "src/main.rs"
required-features = ["bin"]
2024-07-22 15:41:45 +01:00
[lints.clippy]
uninlined_format_args = "warn"
2024-03-04 20:18:49 +00:00
[dependencies]
2024-11-28 21:44:42 +00:00
serde = { version = "1.0.215", features = ["derive"] }
2024-08-08 16:59:59 +01:00
toml = "0.8.19"
2024-10-14 19:16:15 +01:00
serde_with = "3.11.0"
2024-11-28 21:44:42 +00:00
gix = { version = "0.68.0", default-features = false, features = ["blocking-http-transport-reqwest-rust-tls", "revparse-regex", "credentials", "parallel"] }
2024-07-12 23:09:37 +01:00
semver = { version = "1.0.23", features = ["serde"] }
2024-11-10 16:20:03 +00:00
reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls"] }
2024-11-05 19:44:24 +00:00
tokio-tar = "0.3.1"
2024-11-28 21:44:42 +00:00
async-compression = { version = "0.4.18", features = ["tokio", "gzip"] }
pathdiff = "0.2.3"
2024-07-12 23:09:37 +01:00
relative-path = { version = "1.9.3", features = ["serde"] }
log = "0.4.22"
2024-12-08 12:16:21 +00:00
thiserror = "2.0.5"
tokio = { version = "1.42.0", features = ["process"] }
tokio-util = "0.7.13"
2024-11-05 19:44:24 +00:00
async-stream = "0.3.6"
futures = "0.3.31"
2024-11-28 21:44:42 +00:00
full_moon = { version = "1.1.2", features = ["luau"] }
url = { version = "2.5.4", features = ["serde"] }
2024-07-12 23:09:37 +01:00
chrono = { version = "0.4.38", features = ["serde"] }
2024-07-28 17:19:54 +01:00
sha2 = "0.10.8"
2024-11-10 16:20:03 +00:00
tempfile = "3.14.0"
2024-11-24 19:21:16 +00:00
wax = { version = "0.6.0", default-features = false }
2024-11-05 19:44:24 +00:00
fs-err = { version = "3.0.0", features = ["tokio"] }
2024-07-23 23:53:34 +01:00
# TODO: remove this when gitoxide adds support for: committing, pushing, adding
git2 = { version = "0.19.0", optional = true }
2024-11-05 19:44:24 +00:00
async_zip = { version = "0.0.17", features = ["tokio", "deflate", "deflate64", "tokio-fs"], optional = true }
2024-11-28 21:44:42 +00:00
serde_json = { version = "1.0.133", optional = true }
2024-03-04 20:18:49 +00:00
2024-12-08 12:16:21 +00:00
anyhow = { version = "1.0.94", optional = true }
2024-11-28 21:44:42 +00:00
open = { version = "5.3.1", optional = true }
2024-11-10 16:20:03 +00:00
keyring = { version = "3.6.1", features = ["crypto-rust", "windows-native", "apple-native", "async-secret-service", "async-io"], optional = true }
2024-07-12 23:09:37 +01:00
colored = { version = "2.1.0", optional = true }
2024-09-28 23:44:39 +01:00
toml_edit = { version = "0.22.22", optional = true }
2024-12-08 12:16:21 +00:00
clap = { version = "4.5.23", features = ["derive"], optional = true }
2024-07-26 17:47:53 +01:00
dirs = { version = "5.0.1", optional = true }
2024-03-04 20:18:49 +00:00
pretty_env_logger = { version = "0.5.0", optional = true }
2024-11-28 21:44:42 +00:00
indicatif = { version = "0.17.9", optional = true }
indicatif-log-bridge = { version = "0.2.3", optional = true }
2024-07-12 23:09:37 +01:00
inquire = { version = "0.7.5", optional = true }
2024-03-04 20:18:49 +00:00
2024-07-26 17:47:53 +01:00
[target.'cfg(target_os = "windows")'.dependencies]
winreg = { version = "0.52.0", optional = true }
2024-03-04 20:18:49 +00:00
[workspace]
resolver = "2"
2024-07-30 11:37:54 +01:00
members = ["registry"]
2024-03-04 20:18:49 +00:00
[profile.dev.package.full_moon]
2024-07-12 23:09:37 +01:00
opt-level = 3
[profile.release]
opt-level = "s"
lto = true
incremental = true
codegen-units = 1
[profile.release.package.pesde-registry]
# add debug symbols for Sentry stack traces
debug = "full"