1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-21 18:25:24 +00:00

With the latest fern, syslog can be a config option instead of a build flag

This commit is contained in:
Daniel García 2019-03-29 20:27:20 +01:00
commit c5832f2b30
No known key found for this signature in database
GPG key ID: FC8A7D14C3CD543A
4 changed files with 64 additions and 61 deletions

View file

@ -11,7 +11,8 @@ publish = false
build = "build.rs"
[features]
enable_syslog = ["syslog", "fern/syslog-4"]
# Empty to keep compatibility, prefer to set USE_SYSLOG=true
enable_syslog = []
[dependencies]
# Web framework for nightly with a focus on ease-of-use, expressibility, and speed.
@ -40,7 +41,7 @@ serde_json = "1.0.39"
# Logging
log = "0.4.6"
fern = "0.5.7"
fern = { version = "0.5.8", features = ["syslog-4"] }
syslog = { version = "4.0.1", optional = true }
# A safe, extensible ORM and Query builder
@ -54,7 +55,7 @@ libsqlite3-sys = { version = "0.12.0", features = ["bundled"] }
ring = { version = "0.13.5", features = ["rsa_signing"] }
# UUID generation
uuid = { version = "0.7.2", features = ["v4"] }
uuid = { version = "0.7.4", features = ["v4"] }
# Date and time library for Rust
chrono = "0.4.6"