mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
beb807ae2b
Cache the internode msgpack-only env gate after the first read so metadata RPC send paths avoid repeated environment parsing. Keep a reset hook for tests that intentionally change the env in-process. Co-authored-by: heihutu <heihutu@gmail.com>
58 lines
1.9 KiB
TOML
58 lines
1.9 KiB
TOML
# Copyright 2024 RustFS Team
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
[package]
|
|
name = "rustfs-protos"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
homepage.workspace = true
|
|
description = "Protocol definitions for RustFS, providing gRPC and FlatBuffers interfaces for communication between components."
|
|
keywords = ["protocols", "gRPC", "FlatBuffers", "rustfs", "Minio"]
|
|
categories = ["web-programming", "development-tools", "data-structures", "asynchronous"]
|
|
documentation = "https://docs.rs/rustfs-protos/latest/rustfs_protos/"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[[bin]]
|
|
name = "gproto"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
rustfs-common.workspace = true
|
|
rustfs-io-metrics.workspace = true
|
|
rustfs-config.workspace = true
|
|
rustfs-tls-runtime.workspace = true
|
|
rustfs-utils.workspace = true
|
|
flatbuffers = { workspace = true }
|
|
prost = { workspace = true }
|
|
tonic = { workspace = true, features = ["transport", "tls-native-roots", "tls-aws-lc", "gzip", "deflate"] }
|
|
tonic-prost = { workspace = true }
|
|
tonic-prost-build = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "fs", "rt-multi-thread"] }
|
|
tracing = { workspace = true }
|
|
serde = { workspace = true }
|
|
rmp-serde = { workspace = true }
|
|
uuid = { workspace = true }
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dev-dependencies]
|
|
serde_json = { workspace = true }
|
|
temp-env = { workspace = true }
|