Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

29 changes: 16 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["rust-tests", "crates/rattler_build_recipe_generator"]
members = ["rust-tests", "crates/rattler_build_recipe_generator", "crates/rattler_build_script"]

[workspace.package]
authors = ["rattler-build contributors <[email protected]>"]
Expand All @@ -12,16 +12,20 @@ repository = "https://github.com/prefix-dev/rattler-build"
async-once-cell = "0.5.4"
async-recursion = "1.1.1"
clap = { version = "4.5.45", features = ["derive"] }
console = { version = "0.16.1", features = ["windows-console-colors"] }
flate2 = "1.1.2"
fs-err = "3.1.1"
futures = "0.3.31"
indexmap = "2.11.4"
insta = "1.41.1"
itertools = "0.14.0"
miette = "7.6.0"
minijinja = { version = "2.11.0", features = ["unstable_machinery", "custom_syntax"] }
rattler_conda_types = { version = "0.40.0", default-features = false }
rattler_digest = { version = "1.1.5", default-features = false, features = [
"serde",
] }
rattler_shell = { version = "0.25.2", default-features = false, features = ["sysinfo"] }
regex = "1.11.1"
reqwest = { version = "0.12.23", default-features = false, features = ["json"] }
serde = { version = "1.0.219", features = ["derive"] }
Expand All @@ -31,10 +35,13 @@ serde_yaml = "0.9.34"
sha2 = "0.10.9"
tar = "0.4.44"
tempfile = "3.21.0"
thiserror = "2.0.17"
tokio = { version = "1.47.1", features = ["rt", "macros"] }
tokio-util = { version = "0.7.16", features = ["codec", "compat"] }
toml = "0.9.5"
tracing = "0.1.41"
url = "2.5.4"
which = "8.0.0"
zip = { version = "5.1.1", default-features = false, features = ["deflate"] }

[package]
Expand Down Expand Up @@ -111,10 +118,7 @@ serde_with = { workspace = true }
url = { workspace = true }
tracing = { workspace = true }
clap = { workspace = true, features = ["env", "cargo"] }
minijinja = { version = "2.11.0", features = [
"unstable_machinery",
"custom_syntax",
] }
minijinja = { workspace = true }
tracing-subscriber = { version = "0.3.19", features = [
"env-filter",
"fmt",
Expand All @@ -128,10 +132,10 @@ goblin = "0.10.1"
scroll = "0.13.0"
pathdiff = "0.2.3"
comfy-table = "7.1.4"
futures = "0.3.31"
futures = { workspace = true }
indicatif = { version = "0.18.0", features = ["in_memory"] }
console = { version = "0.16.1", features = ["windows-console-colors"] }
thiserror = "2.0.17"
console = { workspace = true }
thiserror = { workspace = true }
tempfile = { workspace = true }
chrono = "0.4.41"
sha1 = "0.10.6"
Expand All @@ -144,10 +148,10 @@ petgraph = "0.8.2"
indexmap = { workspace = true }
dunce = "1.0.5"
fs-err = { workspace = true }
which = "8.0.0"
which = { workspace = true }
clap_complete = "4.5.57"
clap_complete_nushell = "4.5.8"
tokio-util = { version = "0.7.16", features = ["codec", "compat"] }
tokio-util = { workspace = true }

tar = { workspace = true }
zip = { workspace = true }
Expand Down Expand Up @@ -196,9 +200,7 @@ rattler_redaction = { version = "0.1.12" }
rattler_repodata_gateway = { version = "0.24.7", default-features = false, features = [
"gateway",
] }
rattler_shell = { version = "0.25.2", default-features = false, features = [
"sysinfo",
] }
rattler_shell = { workspace = true }
rattler_solve = { version = "3.0.5", default-features = false, features = [
"resolvo",
"serde",
Expand All @@ -223,6 +225,7 @@ dialoguer = "0.12.0"
rattler_build_recipe_generator = { path = "crates/rattler_build_recipe_generator", optional = true, features = [
"cli",
] }
rattler_build_script = { path = "crates/rattler_build_script" }

[target.'cfg(not(target_os = "windows"))'.dependencies]
sha2 = { workspace = true, features = ["asm"] }
Expand Down
52 changes: 52 additions & 0 deletions crates/rattler_build_script/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[package]
name = "rattler_build_script"
version = "0.1.0"
authors.workspace = true
edition.workspace = true
license.workspace = true
readme = "README.md"
repository.workspace = true
description = "Script execution and data model for rattler-build"

[features]
default = ["execution"]
execution = [
"itertools",
"thiserror",
"tracing",
"futures",
"tokio",
"tokio-util",
"rattler_conda_types",
"rattler_shell",
"fs-err",
"which",
"minijinja",
]

[dependencies]
# Core dependencies (always needed)
indexmap = { workspace = true }
serde = { workspace = true }

# Sandbox dependencies
console = { workspace = true }
clap = { workspace = true }

# Execution dependencies (optional)
itertools = { workspace = true, optional = true }
thiserror = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
futures = { workspace = true, optional = true }
tokio = { workspace = true, features = ["process", "io-util", "fs"], optional = true }
tokio-util = { workspace = true, optional = true }
rattler_conda_types = { workspace = true, optional = true }
rattler_shell = { workspace = true, optional = true }
fs-err = { workspace = true, optional = true }
which = { workspace = true, optional = true }
minijinja = { workspace = true, optional = true }

[dev-dependencies]
tokio = { workspace = true, features = ["rt", "macros", "fs"] }
insta = { workspace = true, features = ["yaml"] }
serde_yaml = { workspace = true }
Loading
Loading