mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-03 03:47:42 +00:00
d5c6ba99d5
* test(hotpath): gate mimalloc heap test by platform Co-Authored-By: heihutu <heihutu@gmail.com> * fix(ecstore): attribute HotPath CPU measurements to impls Co-Authored-By: heihutu <heihutu@gmail.com> * feat(ecstore): trace raw shard I/O with HotPath Co-Authored-By: heihutu <heihutu@gmail.com> * fix(obs): redact profiler and OPA endpoint diagnostics Co-Authored-By: heihutu <heihutu@gmail.com> * fix(ecstore): settle encoded queue accounting Co-Authored-By: heihutu <heihutu@gmail.com> * fix(ecstore): abort encoder producer on cancellation Co-Authored-By: heihutu <heihutu@gmail.com> --------- Co-authored-by: heihutu <heihutu@gmail.com>
86 lines
2.7 KiB
TOML
86 lines
2.7 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-policy"
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
version.workspace = true
|
|
homepage.workspace = true
|
|
description = "Policy management for RustFS, providing a framework for defining and enforcing policies across the system."
|
|
keywords = ["policy", "management", "enforcement", "rustfs", "Minio"]
|
|
categories = ["web-programming", "development-tools", "accessibility"]
|
|
documentation = "https://docs.rs/rustfs-policy/latest/rustfs_policy/"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[features]
|
|
default = []
|
|
hotpath = [
|
|
"hotpath/hotpath",
|
|
"rustfs-config/hotpath",
|
|
"rustfs-credentials/hotpath",
|
|
"rustfs-crypto/hotpath",
|
|
]
|
|
hotpath-alloc = [
|
|
"hotpath",
|
|
"hotpath/hotpath-alloc",
|
|
"rustfs-config/hotpath-alloc",
|
|
"rustfs-credentials/hotpath-alloc",
|
|
"rustfs-crypto/hotpath-alloc",
|
|
]
|
|
hotpath-cpu = [
|
|
"hotpath",
|
|
"hotpath/hotpath-cpu",
|
|
"rustfs-config/hotpath-cpu",
|
|
"rustfs-credentials/hotpath-cpu",
|
|
"rustfs-crypto/hotpath-cpu",
|
|
]
|
|
|
|
[dependencies]
|
|
rustfs-credentials = { workspace = true }
|
|
rustfs-config = { workspace = true, features = ["opa"] }
|
|
tokio = { workspace = true, features = ["macros", "rt-multi-thread", "time"] }
|
|
time = { workspace = true, features = ["serde", "parsing", "formatting", "macros"] }
|
|
serde = { workspace = true, features = ["derive", "rc"] }
|
|
serde_json = { workspace = true, features = ["raw_value"] }
|
|
thiserror.workspace = true
|
|
strum = { workspace = true, features = ["derive"] }
|
|
rustfs-crypto = { workspace = true }
|
|
ipnetwork = { workspace = true, features = ["serde"] }
|
|
base64-simd = { workspace = true }
|
|
jsonwebtoken = { workspace = true, features = ["aws_lc_rs"] }
|
|
regex = { workspace = true }
|
|
reqwest = { workspace = true, features = ["json"] }
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
tracing.workspace = true
|
|
moka = { workspace = true, features = ["future"] }
|
|
async-trait.workspace = true
|
|
futures.workspace = true
|
|
pollster.workspace = true
|
|
hotpath.workspace = true
|
|
|
|
[dev-dependencies]
|
|
pollster.workspace = true
|
|
proptest = "1"
|
|
test-case.workspace = true
|
|
temp-env = { workspace = true }
|
|
tracing-subscriber = { workspace = true, features = ["fmt"] }
|
|
|
|
[lib]
|
|
doctest = false
|