csv: Enable conditional compilation for ACL and Logging
This commit is contained in:
parent
fb8183e14a
commit
8bb070811f
2 changed files with 8 additions and 2 deletions
|
@ -6,5 +6,9 @@ license = "AGPL-3.0-or-later"
|
|||
|
||||
[dependencies]
|
||||
csv = "1.1.6"
|
||||
labadoor-acl = { path = "../labadoor-acl" }
|
||||
labadoor-logging = { path = "../labadoor-logging" }
|
||||
labadoor-acl = { path = "../labadoor-acl", optional = true }
|
||||
labadoor-logging = { path = "../labadoor-logging", optional = true }
|
||||
|
||||
[features]
|
||||
auth = ["dep:labadoor-acl"]
|
||||
log = ["dep:labadoor-logging"]
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
use serde::Deserialize;
|
||||
|
||||
#[cfg(feature = "auth")]
|
||||
pub mod acl;
|
||||
#[cfg(feature = "log")]
|
||||
pub mod logging;
|
||||
|
||||
pub struct CSVArgs {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue