content: # Copyright(c) The Maintainers of Nanvix.
  # Licensed under the MIT License.
  
  [package]
  name = "syslog"
  version.workspace = true
  license-file.workspace = true
  edition.workspace = true
  authors.workspace = true
  description = "System Logging Library"
  homepage.workspace = true
  
  [dependencies]
  cfg-if = { workspace = true, optional = true }
  core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
  compiler_builtins = { version = "0.1", optional = true }
  log = { workspace = true, optional = true }
  flexi_logger = { workspace = true, optional = true }
  sys = { workspace = true, features = ["kcall"], optional = true }
  
  [features]
  default = ["dep:cfg-if", "dep:sys", "warn"]
  # Enables the use of the Rust standard library.
  std = ["dep:log", "dep:flexi_logger"]
  # Enables this crate to be used as a dependency of the Rust standard library.
  rustc-dep-of-std = [
      "core",
      "warn",
      "cfg-if/rustc-dep-of-std",
      "compiler_builtins/rustc-dep-of-std",
      "sys/rustc-dep-of-std",
  ]
  
  # Logging Features
  trace = []
  debug = []
  info = []
  warn = []
  error = []
  panic = []
  