# 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-trusted-proxies" edition.workspace = true license.workspace = true repository.workspace = true rust-version.workspace = true version.workspace = true homepage.workspace = true description = " RustFS Trusted Proxies module provides secure and efficient management of trusted proxy servers within the RustFS ecosystem, enhancing network security and performance." keywords = ["trusted-proxies", "network-security", "rustfs", "proxy-management"] categories = ["network-programming", "security", "web-programming"] [dependencies] async-trait = { workspace = true } axum = { workspace = true } http = { workspace = true } ipnetwork = { workspace = true } metrics = { workspace = true } moka = { workspace = true, features = ["future", "sync"] } reqwest = { workspace = true } rustfs-config = { workspace = true } rustfs-utils = { workspace = true, features = ["net"] } serde.workspace = true serde_json.workspace = true thiserror = { workspace = true } tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync", "time", "test-util"] } tower = { workspace = true } tracing = { workspace = true } regex = { workspace = true } [dev-dependencies] tokio = { workspace = true, features = ["full", "test-util"] } tower = { workspace = true, features = ["util"] } serial_test = { workspace = true } temp-env = { workspace = true } [lints] workspace = true [[test]] name = "unit_tests" path = "tests/unit/mod.rs" [[test]] name = "integration_tests" path = "tests/integration/mod.rs" [lib] doctest = false