Implement LDAP Provider Phase 2.1: DataProvider trait with OpenLDAP/AD support
This commit is contained in:
@@ -84,11 +84,15 @@ async-trait = "0.1"
|
||||
tracing = "0.1"
|
||||
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
|
||||
|
||||
# === LDAP Authentication (Phase 2) ===
|
||||
ldap3 = { version = "0.11", optional = true } # Async LDAP client (compatible with AD + OpenLDAP)
|
||||
|
||||
[features]
|
||||
default = [] # 默认不启用可选格式
|
||||
optional-formats = ["unrar", "xz2", "sevenz-rust"] # 争议格式可选启用
|
||||
smb-server = ["dep:smb-server"] # SMB server feature flag
|
||||
async-vfs = ["dep:reqwest"] # Async VfsBackend trait + native async S3
|
||||
ldap = ["dep:ldap3"] # LDAP authentication provider
|
||||
|
||||
[dev-dependencies]
|
||||
# tempfile moved to dependencies (needed for archive extraction)
|
||||
|
||||
Reference in New Issue
Block a user