[PR #281] [MERGED] feat: support config file with --config option #546

Closed
opened 2026-04-08 16:53:22 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/281
Author: @sigoden
Created: 11/4/2023
Status: Merged
Merged: 11/4/2023
Merged by: @sigoden

Base: mainHead: feat-config-file


📝 Commits (1)

  • d52fe0e feat: support config file with --config option

📊 Changes

12 files changed (+427 additions, -173 deletions)

View changed files

📝 Cargo.lock (+24 -4)
📝 Cargo.toml (+1 -0)
📝 README.md (+44 -8)
📝 src/args.rs (+217 -129)
📝 src/auth.rs (+11 -6)
📝 src/log_http.rs (+6 -0)
📝 src/main.rs (+15 -9)
📝 src/server.rs (+22 -13)
tests/config.rs (+56 -0)
tests/data/config.yaml (+9 -0)
📝 tests/log_http.rs (+2 -2)
📝 tests/tls.rs (+20 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/281 **Author:** [@sigoden](https://github.com/sigoden) **Created:** 11/4/2023 **Status:** ✅ Merged **Merged:** 11/4/2023 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `feat-config-file` --- ### 📝 Commits (1) - [`d52fe0e`](https://github.com/sigoden/dufs/commit/d52fe0e6876eac22f55938d4e9a4650391b84a7a) feat: support config file with `--config` option ### 📊 Changes **12 files changed** (+427 additions, -173 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.lock` (+24 -4) 📝 `Cargo.toml` (+1 -0) 📝 `README.md` (+44 -8) 📝 `src/args.rs` (+217 -129) 📝 `src/auth.rs` (+11 -6) 📝 `src/log_http.rs` (+6 -0) 📝 `src/main.rs` (+15 -9) 📝 `src/server.rs` (+22 -13) ➕ `tests/config.rs` (+56 -0) ➕ `tests/data/config.yaml` (+9 -0) 📝 `tests/log_http.rs` (+2 -2) 📝 `tests/tls.rs` (+20 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:22 +03:00
zhus closed this issue 2026-04-08 16:53:22 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#546