houseme
2e14b32ccd
chore: Add copyright and license headers ( #23 )
...
* chore: Add copyright and license headers
This commit adds the Apache 2.0 license and a copyright notice to the header of all source files. This ensures that the licensing and copyright information is clearly stated within the codebase.
* cargo fmt
* fix
* fmt
* fix clippy
2025-07-02 15:07:47 +08:00
weisd
f069790a72
feat: add ImportIam handle
2025-07-01 11:37:10 +08:00
weisd
e9610f1fb7
feat: add IAM export/import
...
- Add complete IAM configuration export/import functionality with ZIP format
- Add new API endpoints for IAM backup and restore operations
2025-06-30 22:01:07 +08:00
houseme
7bd8431006
cargo fmt
2025-06-27 18:53:51 +08:00
houseme
749537664f
fix:Apply suggestions from clippy 1.88
2025-06-27 18:16:29 +08:00
weisd
4559baaeeb
feat: migrate to reed-solomon-simd only implementation
...
- Remove reed-solomon-erasure dependency and all related code
- Simplify ReedSolomonEncoder from enum to struct with SIMD-only implementation
- Eliminate all conditional compilation (#[cfg(feature = ...)])
- Add instance caching with RwLock-based encoder/decoder reuse
- Implement reset mechanism to avoid unnecessary allocations
- Ensure thread safety with proper cache management
- Update documentation and benchmark scripts for SIMD-only approach
- Apply code formatting across all files
Breaking Changes:
- Removes support for reed-solomon-erasure feature flag
- API remains compatible but implementation is now SIMD-only
Performance Impact:
- Improved encoding/decoding performance through SIMD optimization
- Reduced memory allocations via instance caching
- Enhanced thread safety and concurrency support
2025-06-23 10:00:17 +08:00
houseme
48d530cb13
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# crates/utils/Cargo.toml
# ecstore/src/store_list_objects.rs
# iam/src/manager.rs
# rustfs/src/admin/rpc.rs
2025-06-20 12:58:47 +08:00
weisd
e145586b65
refactor: reorganize RPC modules into unified structure
2025-06-19 17:06:54 +08:00
houseme
e6b019c29d
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# .github/workflows/build.yml
# .github/workflows/ci.yml
# Cargo.lock
# Cargo.toml
# appauth/src/token.rs
# crates/config/src/config.rs
# crates/event-notifier/examples/simple.rs
# crates/event-notifier/src/global.rs
# crates/event-notifier/src/lib.rs
# crates/event-notifier/src/notifier.rs
# crates/event-notifier/src/store.rs
# crates/filemeta/src/filemeta.rs
# crates/notify/examples/webhook.rs
# crates/utils/Cargo.toml
# ecstore/Cargo.toml
# ecstore/src/cmd/bucket_replication.rs
# ecstore/src/config/com.rs
# ecstore/src/disk/error.rs
# ecstore/src/disk/mod.rs
# ecstore/src/set_disk.rs
# ecstore/src/store_api.rs
# ecstore/src/store_list_objects.rs
# iam/Cargo.toml
# iam/src/manager.rs
# policy/Cargo.toml
# rustfs/src/admin/rpc.rs
# rustfs/src/main.rs
# rustfs/src/storage/mod.rs
2025-06-19 13:16:48 +08:00
weisd
52342f2f8e
feat(grpc): walk_dir http
...
fix(ecstore): rebalance loop
2025-06-16 10:32:03 +08:00
weisd
e8a59d7c07
move disk::utils to crates::utils
2025-06-11 15:55:40 +08:00
weisd
f85ef06783
merge main
2025-06-09 15:31:11 +08:00
weisd
91c099e35f
add Error test, fix clippy
2025-06-09 11:29:23 +08:00
weisd
152ad57c1d
Upgrade rand to 0.9.1
2025-06-09 10:22:22 +08:00
weisd
1d2aeb288a
Upgrade rand to 0.9.1
2025-06-09 10:13:03 +08:00
houseme
9495df6d5e
refactor(deps): centralize crate versions in root Cargo.toml ( #448 )
...
* chore(ci): upgrade protoc from 30.2 to 31.1
- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability
This upgrade aligns our development environment with the latest protobuf standards.
* modify package version
* refactor(deps): centralize crate versions in root Cargo.toml
- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies
This change simplifies dependency management and ensures version consistency across the project.
* fix
* modify
2025-06-07 22:22:26 +08:00
houseme
d66525a22f
refactor(deps): centralize crate versions in root Cargo.toml ( #448 )
...
* chore(ci): upgrade protoc from 30.2 to 31.1
- Update protoc version in GitHub Actions setup workflow
- Use arduino/setup-protoc@v3 to install the latest protoc version
- Ensure compatibility with current project requirements
- Improve proto file compilation performance and stability
This upgrade aligns our development environment with the latest protobuf standards.
* modify package version
* refactor(deps): centralize crate versions in root Cargo.toml
- Move all dependency versions to workspace.dependencies section
- Standardize AWS SDK and related crates versions
- Update tokio, bytes, and futures crates to latest stable versions
- Ensure consistent version use across all workspace members
- Implement workspace inheritance for common dependencies
This change simplifies dependency management and ensures version consistency across the project.
* fix
* modify
2025-06-07 21:52:59 +08:00
weisd
c589972fa7
mc test ok
2025-06-06 16:15:26 +08:00
weisd
db355bb26b
todo
2025-06-06 11:35:27 +08:00
weisd
9384b831ec
ecstore update ec/disk/error
2025-06-06 01:13:51 +08:00
houseme
8660c2af12
merge main
2025-05-28 17:26:31 +08:00
安正超
15befb705f
fix: resolve all remaining test failures and Clippy warnings
2025-05-28 11:28:43 +08:00
安正超
a1f4abf6c3
fix: resolve all Clippy warnings across codebase - Fixed field reassignment warnings in ecstore/src/file_meta.rs by using struct initialization instead of default + field assignment - Fixed overly complex boolean expression in ecstore/src/utils/os/mod.rs by removing meaningless assertion - Replaced manual Default implementation with derive in crates/zip/src/lib.rs - Updated io::Error usage to use io::Error::other() instead of deprecated pattern - Removed useless assertions and clone-on-copy warnings - Fixed unwrap usage by replacing with expect() providing meaningful error messages - Fixed useless vec usage by using array repeat instead - All code now passes comprehensive Clippy check with --all-targets --all-features -- -D warnings
2025-05-28 11:00:07 +08:00
houseme
a95138868e
improve code
2025-05-27 19:07:09 +08:00
houseme
ca8f399832
format comment
2025-05-27 13:56:19 +08:00
overtrue
8c0d3fa227
feat: add comprehensive tests for set_disk module - Add 21 test functions covering utility and validation functions - Test constants, MD5 calculation, path generation, algorithms - Test error handling, healing logic, data manipulation - All tests pass successfully with proper function behavior verification
2025-05-26 12:19:40 +08:00
overtrue
54972a57b1
feat: add comprehensive tests for set_disk module - Add 21 test functions covering utility and validation functions - Test constants, MD5 calculation, path generation, algorithms - Test error handling, healing logic, data manipulation - All tests pass successfully with proper function behavior verification
2025-05-25 18:50:32 +08:00
houseme
2cadbba6ad
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability-metrics
...
# Conflicts:
# Cargo.toml
# iam/src/manager.rs
# iam/src/store/object.rs
# rustfs/src/admin/handlers/sts.rs
# rustfs/src/main.rs
# rustfs/src/storage/ecfs.rs
2025-05-25 18:10:13 +08:00
houseme
864071d641
cargo fmt
2025-05-25 17:46:59 +08:00
overtrue
9d90913697
feat: translate Chinese comments to English across codebase
2025-05-25 15:24:34 +08:00
overtrue
0f1e9d0c63
feat: enhance test coverage for IAM utils and OS utils modules
2025-05-25 14:09:40 +08:00
houseme
791780dd68
fix typo
2025-05-19 16:32:56 +08:00
houseme
be8a615cd7
fix typo
2025-05-19 16:21:22 +08:00
houseme
37109fc618
upgrade crate version
2025-04-11 20:53:51 +08:00
weisd
0c435c6a05
add admin policy check for user operation
2025-04-11 10:46:36 +08:00
weisd
5188d00a09
merge license
2025-04-08 22:32:24 +08:00
weisd
3dbdd38889
rm log
2025-04-08 22:31:44 +08:00
houseme
0c7748658c
Merge main branches
2025-04-02 15:57:11 +08:00
houseme
15efeb572f
improve crate and remove log crate
2025-04-02 00:51:59 +08:00
houseme
147df8ab0b
Merge branch 'main' of github.com:rustfs/s3-rustfs into feature/observability
...
# Conflicts:
# rustfs/src/storage/ecfs.rs
2025-03-26 16:08:41 +08:00
weisd
d91429c5cf
add bucketpolicy
2025-03-26 11:25:12 +08:00
weisd
c8e13b8ab5
move policy out of iam
2025-03-26 10:19:47 +08:00
weisd
545ae79e44
move ecsotre/error to common
2025-03-25 17:42:15 +08:00
houseme
28a4a917d4
replace log to tracing
2025-03-19 22:34:26 +08:00
weisd
01cf4c663d
opt network io
2025-03-14 23:26:54 +08:00
weisd
4ff452ffd2
fix iam service_account bugs
2025-03-03 17:38:17 +08:00
loverustfs
35aa6ba454
Merge pull request #241 from rustfs/dependabot/cargo/dependencies-4426481644
...
Bump the dependencies group with 5 updates
2025-03-01 21:24:42 +08:00
DamonXue
442c618013
fix: update Functions deserialization logic and add run.bat script
2025-03-01 17:27:07 +08:00
dependabot[bot]
bc513c2604
Bump the dependencies group with 5 updates
...
Bumps the dependencies group with 5 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.30` | `4.5.31` |
| [rand](https://github.com/rust-random/rand ) | `0.8.5` | `0.9.0` |
| [uuid](https://github.com/uuid-rs/uuid ) | `1.14.0` | `1.15.1` |
| [rust-embed](https://github.com/pyros2097/rust-embed ) | `8.5.0` | `8.6.0` |
| [strum](https://github.com/Peternator7/strum ) | `0.26.3` | `0.27.1` |
Updates `clap` from 4.5.30 to 4.5.31
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.30...v4.5.31 )
Updates `rand` from 0.8.5 to 0.9.0
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.5...0.9.0 )
Updates `uuid` from 1.14.0 to 1.15.1
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.14.0...v1.15.1 )
Updates `rust-embed` from 8.5.0 to 8.6.0
- [Changelog](https://github.com/pyrossh/rust-embed/blob/master/changelog.md )
- [Commits](https://github.com/pyros2097/rust-embed/commits )
Updates `strum` from 0.26.3 to 0.27.1
- [Release notes](https://github.com/Peternator7/strum/releases )
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.1 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: dependencies
- dependency-name: rand
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: rust-embed
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
- dependency-name: strum
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-03-01 06:02:44 +00:00
DamonXue
bf3cc5c13c
fix: enforce condition element presence in Functions deserialization
...
feat: add binary target for rustfs
2025-02-26 21:08:44 +08:00