function-sdk-rust 0.3.1

A Rust SDK for writing Crossplane composition functions
Documentation
# 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 = "2024"
name = "function-sdk-rust"
version = "0.3.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust SDK for writing Crossplane composition functions"
readme = "README.md"
keywords = [
    "crossplane",
    "kubernetes",
    "grpc",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/crossplane/function-sdk-rust"

[lib]
name = "function_sdk_rust"
path = "src/lib.rs"

[[test]]
name = "helpers"
path = "tests/helpers.rs"

[[test]]
name = "serve"
path = "tests/serve.rs"

[dependencies.bytes]
version = "1"

[dependencies.clap]
version = "4"
features = [
    "derive",
    "env",
]

[dependencies.http]
version = "1"

[dependencies.http-body]
version = "1"

[dependencies.pbjson]
version = "0.9"

[dependencies.pbjson-types]
version = "0.9"

[dependencies.prometheus-client]
version = "0.25"

[dependencies.prost]
version = "0.14"

[dependencies.rustls]
version = "0.23.45"
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "signal",
]

[dependencies.tonic]
version = "0.14"
features = ["tls-aws-lc"]

[dependencies.tonic-health]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tonic-reflection]
version = "0.14"

[dependencies.tower-layer]
version = "0.3"

[dependencies.tower-service]
version = "0.3"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["json"]

[dev-dependencies.tokio-test]
version = "0.4"