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
4 changes: 3 additions & 1 deletion rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ tokio-tungstenite = { version = "0.28.0", default-features = false, features = [
zip = { version = "7.2.0", default-features = false, features = ["deflate"], optional = true }
windows-sys = { version = "0.61", default-features = false, features = [
"Win32_Foundation",
"Win32_System_Diagnostics_ToolHelp",
"Win32_System_Diagnostics_Debug",
"Win32_System_Diagnostics_ProcessSnapshotting",
"Win32_System_JobObjects",
"Win32_System_Kernel",
"Win32_System_Threading",
] }

Expand Down
6 changes: 6 additions & 0 deletions rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ Transport-specific phases are optional. For example, `port_wait_ms` is present
only for TCP and `process_spawn_ms` is absent for external and in-process
transports.

On Windows, SDK-spawned CLI processes start suspended and are assigned to a
private kill-on-close Job Object before their initial thread resumes. Thread
lookup captures only that child's process snapshot, rather than enumerating
machine-wide threads. The Job owns the CLI and its descendants until client
shutdown or final-client drop, including abrupt termination of the SDK host.

**`ClientOptions`:**

| Field | Type | Description |
Expand Down
72 changes: 72 additions & 0 deletions rust/bazel/crates/BUILD.aead-0.5.2.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//src/sdk/rust/bazel:vendor
###############################################################################

load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

cargo_toml_env_vars(
name = "cargo_toml_env_vars",
src = "Cargo.toml",
)

rust_library(
name = "aead",
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"alloc",
"default",
"getrandom",
"rand_core",
],
crate_root = "src/lib.rs",
edition = "2021",
rustc_env_files = [
":cargo_toml_env_vars",
],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=aead",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "0.5.2",
deps = [
"@sdk_vendor__crypto-common-0.1.7//:crypto_common",
"@sdk_vendor__generic-array-0.14.7//:generic_array",
],
)
86 changes: 86 additions & 0 deletions rust/bazel/crates/BUILD.aes-0.8.4.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//src/sdk/rust/bazel:vendor
###############################################################################

load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

cargo_toml_env_vars(
name = "cargo_toml_env_vars",
src = "Cargo.toml",
)

rust_library(
name = "aes",
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2021",
rustc_env_files = [
":cargo_toml_env_vars",
],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=aes",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "0.8.4",
deps = [
"@sdk_vendor__cfg-if-1.0.5//:cfg_if",
"@sdk_vendor__cipher-0.4.4//:cipher",
] + select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [
"@sdk_vendor__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [
"@sdk_vendor__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
"@sdk_vendor__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:x86_64-apple-darwin": [
"@sdk_vendor__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [
"@sdk_vendor__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [
"@sdk_vendor__cpufeatures-0.2.17//:cpufeatures", # cfg(any(target_arch = "aarch64", target_arch = "x86_64", target_arch = "x86"))
],
"//conditions:default": [],
}),
)
77 changes: 77 additions & 0 deletions rust/bazel/crates/BUILD.aes-gcm-0.10.3.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//src/sdk/rust/bazel:vendor
###############################################################################

load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

cargo_toml_env_vars(
name = "cargo_toml_env_vars",
src = "Cargo.toml",
)

rust_library(
name = "aes_gcm",
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_features = [
"aes",
"alloc",
"default",
"getrandom",
"rand_core",
],
crate_root = "src/lib.rs",
edition = "2021",
rustc_env_files = [
":cargo_toml_env_vars",
],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=aes-gcm",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "0.10.3",
deps = [
"@sdk_vendor__aead-0.5.2//:aead",
"@sdk_vendor__aes-0.8.4//:aes",
"@sdk_vendor__cipher-0.4.4//:cipher",
"@sdk_vendor__ctr-0.9.2//:ctr",
"@sdk_vendor__ghash-0.5.1//:ghash",
"@sdk_vendor__subtle-2.6.1//:subtle",
],
)
71 changes: 71 additions & 0 deletions rust/bazel/crates/BUILD.ahp-0.9.0.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
###############################################################################
# @generated
# DO NOT MODIFY: This file is auto-generated by a crate_universe tool. To
# regenerate this file, run the following:
#
# bazel run @@//src/sdk/rust/bazel:vendor
###############################################################################

load("@rules_rust//cargo:defs.bzl", "cargo_toml_env_vars")
load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = ["//visibility:public"])

cargo_toml_env_vars(
name = "cargo_toml_env_vars",
src = "Cargo.toml",
)

rust_library(
name = "ahp",
srcs = glob(
include = ["**/*.rs"],
allow_empty = True,
),
compile_data = glob(
include = ["**"],
allow_empty = True,
exclude = [
"**/* *",
".tmp_git_root/**/*",
"BUILD",
"BUILD.bazel",
"WORKSPACE",
"WORKSPACE.bazel",
],
),
crate_root = "src/lib.rs",
edition = "2021",
rustc_env_files = [
":cargo_toml_env_vars",
],
rustc_flags = [
"--cap-lints=allow",
],
tags = [
"cargo-bazel",
"crate-name=ahp",
"manual",
"noclippy",
"norustfmt",
],
target_compatible_with = select({
"@rules_rust//rust/platform:aarch64-apple-darwin": [],
"@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
"@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
"@rules_rust//rust/platform:x86_64-apple-darwin": [],
"@rules_rust//rust/platform:x86_64-pc-windows-msvc": [],
"@rules_rust//rust/platform:x86_64-unknown-linux-gnu": [],
"//conditions:default": ["@platforms//:incompatible"],
}),
version = "0.9.0",
deps = [
"@sdk_vendor__ahp-types-0.9.0//:ahp_types",
"@sdk_vendor__jiff-0.2.37//:jiff",
"@sdk_vendor__serde-1.0.229//:serde",
"@sdk_vendor__serde_json-1.0.151//:serde_json",
"@sdk_vendor__thiserror-2.0.20//:thiserror",
"@sdk_vendor__tokio-1.53.1//:tokio",
"@sdk_vendor__tracing-0.1.44//:tracing",
],
)
Loading
Loading