tinc 0.2.2

GRPc to REST transcoding library
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 = "tinc"
version = "0.2.2"
authors = ["Troy Benson <troybensonsa@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "GRPc to REST transcoding library"
documentation = "https://docs.rs/tinc"
readme = "README.md"
keywords = [
    "grpc",
    "protobuf",
    "tonic",
    "rest",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/troykomodo/crates"
resolver = "2"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
    "--sort-modules-by-appearance",
    "--generate-link-to-definition",
]

[package.metadata.sync-readme]
features = ["docs"]

[package.metadata.sync-readme.rustdoc-mappings]
changelog = "./CHANGELOG.md"
Annotations = "./annotations.proto"
CEL = "./CEL.md"

[package.metadata.sync-readme.badges]
docs-rs = true
crates-io = true
license = true

[package.metadata.sync-readme.badges.codecov]
component = "tinc"

[features]
default = [
    "prost",
    "tonic",
]
docs = [
    "dep:embed-changelog",
    "dep:document-features",
]
prost = [
    "dep:prost",
    "dep:prost-types",
    "dep:tonic-prost",
]
tonic = [
    "dep:tonic",
    "dep:tonic-types",
]

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

[dependencies.axum]
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.6.0"

[dependencies.chrono]
version = "0.4.36"
features = ["serde"]

[dependencies.document-features]
version = "0.2"
optional = true

[dependencies.embed-changelog]
version = "0.1"
optional = true

[dependencies.http]
version = "1"

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

[dependencies.http-body-util]
version = "0.1.0"

[dependencies.linear-map]
version = "1.2.0"

[dependencies.linkme]
version = "0.3"

[dependencies.mediatype]
version = "0.20"

[dependencies.num-traits]
version = "0.2.19"

[dependencies.openapiv3_1]
version = "0.1"

[dependencies.prost]
version = "0.14"
optional = true

[dependencies.prost-types]
version = "0.14"
optional = true

[dependencies.regex]
version = "1"

[dependencies.serde]
version = "1"

[dependencies.serde_derive]
version = "1"

[dependencies.serde_json]
version = "1"

[dependencies.serde_qs]
version = "0.15.0"

[dependencies.serde_repr]
version = "0.1"

[dependencies.thiserror]
version = "2"

[dependencies.tinc-cel]
version = "0.2"
features = ["runtime"]

[dependencies.tinc-proc-macro]
version = "0.2"

[dependencies.tonic]
version = "0.14"
optional = true

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

[dependencies.tonic-types]
version = "0.14"
optional = true

[dependencies.workspace-hack]
version = "0.1"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
    "cfg(coverage_nightly)",
    "cfg(valgrind)",
    "cfg(trybuild_no_target)",
    "cfg(postcompile_no_target)",
]