# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.66" name = "systemd-journal-logger" version = "2.2.0" authors = ["Sebastian Wiesner "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Systemd journal logger for the log facade." documentation = "https://docs.rs/systemd-journal-logger" readme = "README.md" keywords = [ "logging", "systemd", "journal", ] categories = ["development-tools::debugging"] license = "MIT OR Apache-2.0" repository = "https://github.com/swsnr/systemd-journal-logger.rs" [package.metadata.release] allow-branch = ["main"] pre-release-commit-message = "Release {{version}}" sign-commit = true sign-tag = true tag-message = "Version {{tag_name}}" tag-prefix = "" verify = false [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ ## [Unreleased] ## [{{version}}] – {{date}}""" search = '## \[Unreleased\]' [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = "{{tag_name}}" search = "HEAD" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ [Unreleased]: https://github.com/swsnr/systemd-journal-logger.rs/compare/{{tag_name}}...HEAD [{{version}}]: """ search = '\[Unreleased\]: ' [lib] name = "systemd_journal_logger" path = "src/lib.rs" [[example]] name = "systemd_service" path = "examples/systemd_service.rs" [[test]] name = "init" path = "tests/init.rs" [[test]] name = "init_with_extra_fields" path = "tests/init_with_extra_fields.rs" [[test]] name = "journal" path = "tests/journal.rs" [[test]] name = "journal_stream" path = "tests/journal_stream.rs" harness = false [[test]] name = "log_to_journal" path = "tests/log_to_journal.rs" [[test]] name = "log_with_extra_fields" path = "tests/log_with_extra_fields.rs" [dependencies.log] version = "^0.4" features = [ "std", "kv", ] [dependencies.rustix] version = "0.38.37" features = [ "std", "fs", "net", ] default-features = false [dev-dependencies.log] version = "0.4.22" features = ["kv_std"] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.retry] version = "2.0.0" [dev-dependencies.serde] version = "1.0.210" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.128" [dev-dependencies.similar-asserts] version = "1.6.0"