omp-rpc 0.1.0

gRPC transport, handshake, health, TLS, and Unix-socket plumbing for omp
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 = "omp-rpc"
version = "0.1.0"
authors = ["Can Boluk"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "gRPC transport, handshake, health, TLS, and Unix-socket plumbing for omp"
homepage = "https://omp.sh/"
readme = "README.md"
license = "MIT"
repository = "https://github.com/can1357/omp"

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

[dependencies.hyper-util]
version = "0.1"

[dependencies.omp-core]
version = "0.1.0"

[dependencies.omp-proto]
version = "0.1.0"
features = ["tonic"]

[dependencies.thiserror]
version = "2.0.20"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-std",
    "io-util",
    "macros",
    "net",
    "process",
    "rt",
    "rt-multi-thread",
    "signal",
    "sync",
    "time",
]

[dependencies.tokio-stream]
version = "0.1"
features = ["net"]

[dependencies.tokio-util]
version = "0.7"

[dependencies.tonic]
version = "0.14.6"
features = ["tls-ring"]

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

[dependencies.tower]
version = "0.5"
features = ["util"]
default-features = false

[dependencies.tracing]
version = "0.1"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
allow_attributes_without_reason = "warn"
borrow_as_ptr = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
default_trait_access = "allow"
disallowed_methods = "deny"
disallowed_types = "deny"
enum_glob_use = "allow"
float_cmp = "allow"
inconsistent_struct_constructor = "allow"
inline_always = "allow"
items_after_statements = "allow"
let_underscore_untyped = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
redundant_closure_for_method_calls = "allow"
ref_as_ptr = "allow"
return_self_not_must_use = "allow"
significant_drop_tightening = "allow"
similar_names = "allow"
struct_excessive_bools = "allow"
tabs_in_doc_comments = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
tuple_array_conversions = "allow"
undocumented_unsafe_blocks = "warn"
unreadable_literal = "allow"
unsafe_derive_deserialize = "allow"
verbose_bit_mask = "allow"
wildcard_imports = "allow"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "deny"
priority = -1

[lints.rust]
mismatched_lifetime_syntaxes = "allow"
missing_docs = "warn"