mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-09 14:49:25 +00:00
d30c42f85a
* add Jemalloc * feat: optimize AI rules with unified .rules.md (#401) * feat: optimize AI rules with unified .rules.md and entry points - Create .rules.md as the central AI coding rules file - Add .copilot-rules.md as GitHub Copilot entry point - Add CLAUDE.md as Claude AI entry point - Incorporate principles from rustfs.com project - Add three critical rules: 1. Use English for all code comments and documentation 2. Clean up temporary scripts after use 3. Only make confident modifications * Update CLAUDE.md --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> * feat: translate chinese to english (#402) * Checkpoint before follow-up message Co-authored-by: anzhengchao <anzhengchao@gmail.com> * Translate project documentation and comments from Chinese to English Co-authored-by: anzhengchao <anzhengchao@gmail.com> * Fix typo: "unparseable" to "unparsable" in version test comment Co-authored-by: anzhengchao <anzhengchao@gmail.com> * Refactor compression test code with minor syntax improvements Co-authored-by: anzhengchao <anzhengchao@gmail.com> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> * fix: the automatic logout issue and user list display failure on Windows systems (#353) (#343) (#403) Co-authored-by: 安正超 <anzhengchao@gmail.com> * upgrade version * improve code for profiling * fix * Initial plan * feat: Implement layered DNS resolver with caching and validation Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * feat: Integrate DNS resolver into main application and fix formatting Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * feat: Implement enhanced DNS resolver with Moka cache and layered fallback Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * feat: Implement hickory-resolver with TLS support for enhanced DNS resolution Co-authored-by: houseme <4829346+houseme@users.noreply.github.com> * upgrade * add .gitignore config * fix * add * add * up * improve linux profiling * fix * fix * fix * feat(admin): Refactor profiling endpoints Replaces the existing pprof profiling endpoints with new trigger-based APIs for CPU and memory profiling. This change simplifies the handler logic by moving the profiling implementation to a dedicated module. A new handler file `admin/handlers/profile.rs` is created to contain the logic for these new endpoints. The core profiling functions are now expected to be in the `profiling` module, which the new handlers call to generate and save profile data. * cargo shear --fix * fix * fix * fix --------- Co-authored-by: 安正超 <anzhengchao@gmail.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: shiro.lee <69624924+shiroleeee@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: houseme <4829346+houseme@users.noreply.github.com>
156 lines
5.1 KiB
TOML
156 lines
5.1 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"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
homepage.workspace = true
|
|
description = "RustFS is a high-performance, distributed file system designed for modern cloud-native applications, providing efficient data storage and retrieval with advanced features like S3 Select, IAM, and policy management."
|
|
keywords.workspace = true
|
|
categories.workspace = true
|
|
documentation = "https://docs.rustfs.com/"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
[[bin]]
|
|
name = "rustfs"
|
|
path = "src/main.rs"
|
|
|
|
[features]
|
|
default = []
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
# RustFS Internal Crates
|
|
rustfs-ahm = { workspace = true }
|
|
rustfs-appauth = { workspace = true }
|
|
rustfs-audit = { workspace = true }
|
|
rustfs-common = { workspace = true }
|
|
rustfs-config = { workspace = true, features = ["constants", "notify"] }
|
|
rustfs-ecstore = { workspace = true }
|
|
rustfs-filemeta.workspace = true
|
|
rustfs-iam = { workspace = true }
|
|
rustfs-kms = { workspace = true }
|
|
rustfs-lock.workspace = true
|
|
rustfs-madmin = { workspace = true }
|
|
rustfs-notify = { workspace = true }
|
|
rustfs-obs = { workspace = true }
|
|
rustfs-policy = { workspace = true }
|
|
rustfs-protos = { workspace = true }
|
|
rustfs-rio.workspace = true
|
|
rustfs-s3select-api = { workspace = true }
|
|
rustfs-s3select-query = { workspace = true }
|
|
rustfs-targets = { workspace = true }
|
|
rustfs-utils = { workspace = true, features = ["full"] }
|
|
rustfs-zip = { workspace = true }
|
|
|
|
# Async Runtime and Networking
|
|
async-trait = { workspace = true }
|
|
axum.workspace = true
|
|
axum-extra = { workspace = true }
|
|
axum-server = { workspace = true }
|
|
futures.workspace = true
|
|
futures-util.workspace = true
|
|
hyper.workspace = true
|
|
hyper-util.workspace = true
|
|
http.workspace = true
|
|
http-body.workspace = true
|
|
reqwest = { workspace = true }
|
|
socket2 = { workspace = true }
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "net", "signal", "process"] }
|
|
tokio-rustls = { workspace = true }
|
|
tokio-stream.workspace = true
|
|
tokio-util.workspace = true
|
|
tonic = { workspace = true }
|
|
tower.workspace = true
|
|
tower-http = { workspace = true, features = ["trace", "compression-deflate", "compression-gzip", "cors", "catch-panic", "timeout", "limit"] }
|
|
|
|
# Serialization and Data Formats
|
|
bytes = { workspace = true }
|
|
flatbuffers.workspace = true
|
|
rmp-serde.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
serde_urlencoded = { workspace = true }
|
|
|
|
# Cryptography and Security
|
|
rustls = { workspace = true }
|
|
|
|
# Time and Date
|
|
chrono = { workspace = true }
|
|
time = { workspace = true, features = ["parsing", "formatting", "serde"] }
|
|
|
|
# Utilities and Tools
|
|
astral-tokio-tar = { workspace = true }
|
|
atoi = { workspace = true }
|
|
atomic_enum = { workspace = true }
|
|
base64 = { workspace = true }
|
|
base64-simd.workspace = true
|
|
clap = { workspace = true }
|
|
const-str = { workspace = true }
|
|
datafusion = { workspace = true }
|
|
hex-simd.workspace = true
|
|
matchit = { workspace = true }
|
|
md5.workspace = true
|
|
mime_guess = { workspace = true }
|
|
pin-project-lite.workspace = true
|
|
rust-embed = { workspace = true, features = ["interpolate-folder-path"] }
|
|
s3s.workspace = true
|
|
shadow-rs = { workspace = true, features = ["build", "metadata"] }
|
|
sysinfo = { workspace = true, features = ["multithread"] }
|
|
thiserror = { workspace = true }
|
|
tracing.workspace = true
|
|
url = { workspace = true }
|
|
urlencoding = { workspace = true }
|
|
uuid = { workspace = true }
|
|
zip = { workspace = true }
|
|
|
|
# Observability and Metrics
|
|
metrics = { workspace = true }
|
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies]
|
|
sysctl = { workspace = true }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
libsystemd.workspace = true
|
|
|
|
[target.'cfg(all(target_os = "linux", target_env = "musl"))'.dependencies]
|
|
mimalloc = { workspace = true }
|
|
[target.'cfg(all(target_os = "linux", target_env = "gnu"))'.dependencies]
|
|
tikv-jemallocator = { workspace = true }
|
|
[target.'cfg(all(not(target_env = "msvc"), not(target_os = "windows")))'.dependencies]
|
|
tikv-jemalloc-ctl = { workspace = true }
|
|
jemalloc_pprof = { workspace = true }
|
|
pprof = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
|
|
[build-dependencies]
|
|
http.workspace = true
|
|
futures.workspace = true
|
|
s3s = { workspace = true }
|
|
clap = { workspace = true }
|
|
hyper-util = { workspace = true, features = [
|
|
"tokio",
|
|
"server-auto",
|
|
"server-graceful",
|
|
] }
|
|
shadow-rs = { workspace = true, features = ["build"] }
|