Skip to content

Commit 2149ad6

Browse files
committed
chore: Updated cargo files to allow for crates.io publish
A license and a description are required to publish on crates.io.
1 parent 86d801b commit 2149ad6

File tree

12 files changed

+34
-14
lines changed

12 files changed

+34
-14
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ members = [
1616
]
1717

1818
[workspace.package]
19-
version = "1.3.1"
19+
version = "1.3.2"
2020
authors = ["mcarson <mcarson@sandia.gov>", "gmbaker <gmbaker@sandia.gov>", "jehamza <jehamza@sandia.gov>"]
2121
edition = "2024"
2222

agent/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name = "thorium-agent"
33
version = { workspace = true }
44
authors = { workspace = true }
55
edition = { workspace = true }
6+
description = "The agent that helps orchestrate work in Thorium."
7+
license-file = "../LICENSE"
68

79
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
810

@@ -36,14 +38,14 @@ infer = { version = "0.19.0", default-features = false, features = ["std"] }
3638

3739
# enable cgroups support for linux
3840
[target.'cfg(target_os = "linux")'.dependencies]
39-
thorium-api = { path = "../api", version = "1.3.1", default-features = false, features = ["client", "cgroups", "crossbeam-err", "trace"]}
41+
thorium-api = { path = "../api", version = "1.3.2", default-features = false, features = ["client", "cgroups", "crossbeam-err", "trace"]}
4042
cgroups-rs = "0.3"
4143
controlgroup = "0.3"
4244

4345

4446
# disable cgroups support when on windows
4547
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies]
46-
thorium-api = { path = "../api", version = "1.3.1", default-features = false, features = ["client", "crossbeam-err", "trace"]}
48+
thorium-api = { path = "../api", version = "1.3.2", default-features = false, features = ["client", "crossbeam-err", "trace"]}
4749

4850

4951
[features]

api/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resolver = "2"
44
version = { workspace = true }
55
authors = { workspace = true }
66
edition = { workspace = true }
7+
description = "The Thorium API and a client for it."
8+
license-file = "../LICENSE"
79

810
[features]
911
default = ["api", "client", "trace"]
@@ -134,7 +136,7 @@ once_cell = { version = "1.21.3", optional = true }
134136
utoipa = { version = "5", features = ["axum_extras", "chrono", "uuid", "time", "url"], optional = true }
135137
utoipa-swagger-ui = { version = "9", features = ["axum"], optional = true }
136138
lettre = { version = "0.11", features = ["tokio1", "tokio1-rustls-tls", "builder", "smtp-transport"], default-features = false, optional = true }
137-
thorium-derive = { path = "../thorium-derive", version = "1.3.1", optional = true}
139+
thorium-derive = { path = "../thorium-derive", version = "1.3.2", optional = true}
138140
percent-encoding = { version = "2.3.1", optional = true }
139141
dashmap = { version = "6.1", optional = true }
140142

api/tests/files.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ async fn create_hidden_result() -> Result<(), thorium::Error> {
895895
OutputDisplayType::Hidden,
896896
)
897897
.tool_version(ImageVersion::SemVer(
898-
semver::Version::parse("1.3.1-rc").unwrap(),
898+
semver::Version::parse("1.3.2-rc").unwrap(),
899899
));
900900
// send this result to the API
901901
client.files.create_result(output_req).await?;

event-handler/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ name = "thorium-event-handler"
33
version = { workspace = true }
44
authors = { workspace = true }
55
edition = { workspace = true }
6+
description = "Triggers actions based on events in Thorium."
7+
license-file = "../LICENSE"
68

79
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
810

911
[dependencies]
10-
thorium-api = {version= "1.3.1", path="../api", default-features = false, features = ["client", "trace"] }
12+
thorium-api = {version= "1.3.2", path="../api", default-features = false, features = ["client", "trace"] }
1113
reqwest = { version = "0.12", features = ["json"]}
1214
tokio = { version = "1.45", features = ["full"] }
1315
clap = { version = "4", features = ["derive"] }

operator/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ name = "thorium-operator"
33
version.workspace = true
44
authors.workspace = true
55
edition.workspace = true
6+
description = "Helps deploy Thorium clusters in K8s."
7+
license-file = "../LICENSE"
68

79
[features]
810
# Force openssl-sys to staticly link in the openssl library. Necessary when
911
# cross compiling to x86_64-unknown-linux-musl.
1012
vendored-openssl = ["openssl/vendored"]
1113

1214
[dependencies]
13-
thorium-api = { version= "1.3.1", path="../api", default-features = false, features = ["scylla-utils", "client", "k8s"] }
15+
thorium-api = { version= "1.3.2", path="../api", default-features = false, features = ["scylla-utils", "client", "k8s"] }
1416
reqwest = { version = "0.12", features = ["json"]}
1517
serde = "1.0"
1618
serde_json = "1.0"

reactor/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name = "thorium-reactor"
33
version = { workspace = true }
44
authors = { workspace = true }
55
edition = { workspace = true }
6+
description = "Orchestrates agents in non Kubernetes environments for Thorium."
7+
license-file = "../LICENSE"
68

79
[features]
810
# include kvm by default
@@ -36,11 +38,11 @@ cfg-if = "1.0.0"
3638

3739
# enable cgroups support for linux
3840
[target.'cfg(target_os = "linux")'.dependencies]
39-
thorium-api = { version= "1.3.1", path="../api", default-features = false, features = ["client", "cgroups", "crossbeam-err", "trace", "rustix"]}
41+
thorium-api = { version= "1.3.2", path="../api", default-features = false, features = ["client", "cgroups", "crossbeam-err", "trace", "rustix"]}
4042
cgroups-rs = "0.3"
4143
# enable support for kvm based jobs
4244
virt = { version = "0.4", optional = true }
4345

4446
# disable cgroups support when on windows or macos
4547
[target.'cfg(any(target_os = "windows", target_os = "macos"))'.dependencies]
46-
thorium-api = { version= "1.3.1", path="../api", default-features = false, features = ["client", "crossbeam-err", "trace"]}
48+
thorium-api = { version= "1.3.2", path="../api", default-features = false, features = ["client", "crossbeam-err", "trace"]}

scaler/Cargo.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ resolver = "2"
44
version = { workspace = true }
55
authors = { workspace = true }
66
edition = { workspace = true }
7+
description = "Scales workers across clusters in Thorium."
8+
license-file = "../LICENSE"
79

810
[features]
911
# include test utilities for the Thorium scaler
@@ -14,7 +16,7 @@ test-utilities = []
1416
vendored-openssl = ["openssl/vendored"]
1517

1618
[dependencies]
17-
thorium-api = {version= "1.3.1", path="../api", default-features = false, features = ["client", "k8s", "trace"] }
19+
thorium-api = {version= "1.3.2", path="../api", default-features = false, features = ["client", "k8s", "trace"] }
1820
reqwest = { version = "0.12", features = ["json"]}
1921
tokio = { version = "1.45", features = ["full"] }
2022
async-trait = "0.1"
@@ -43,5 +45,5 @@ hashbrown = "0.15"
4345

4446
[dev-dependencies]
4547
thorium-scaler = { path = ".", features = ["test-utilities"]}
46-
thorium-api = {version= "1.3.1", path="../api", default-features = false, features = ["client", "k8s", "trace", "test-utilities"] }
48+
thorium-api = {version= "1.3.2", path="../api", default-features = false, features = ["client", "k8s", "trace", "test-utilities"] }
4749
serial_test = "3"

search-streamer/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ name = "thorium-search-streamer"
33
version.workspace = true
44
authors.workspace = true
55
edition.workspace = true
6+
description = "Streams data to external full-text search applications."
7+
license-file = "../LICENSE"
68

79
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
810

911
[dependencies]
10-
thorium-api = { path = "../api", version = "1.3.1", default-features=false, features = ["client", "kanal-err", "trace", "scylla-utils"]}
12+
thorium-api = { path = "../api", version = "1.3.2", default-features=false, features = ["client", "kanal-err", "trace", "scylla-utils"]}
1113
clap = { version = "4", features = ["derive"] }
1214
tokio = { version = "1.45", features = ["full"] }
1315
chrono = { version = "=0.4.38", features = ["serde"] }

thoradm/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ name = "thoradm"
33
version.workspace = true
44
authors.workspace = true
55
edition.workspace = true
6+
description = "A CLI tool for performing administrative tasks in Thorium."
7+
license-file = "../LICENSE"
68

79
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
810
[features]
@@ -12,7 +14,7 @@ vendored-openssl = ["openssl/vendored"]
1214

1315

1416
[dependencies]
15-
thorium-api = { version= "1.3.1", path="../api", default-features = false, features = ["scylla-utils", "rkyv-support", "client"] }
17+
thorium-api = { version= "1.3.2", path="../api", default-features = false, features = ["scylla-utils", "rkyv-support", "client"] }
1618
tokio = { version = "1.45", features = ["full"] }
1719
tokio-util = { version = "0.7", features = ["io"] }
1820
scylla = { version = "1.2", features = ["chrono-04"] }

0 commit comments

Comments
 (0)