-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update rust-syslog-rfc5424 for 2018ed
- use Rust 2018 edition - rustfmt various things - use `thiserror` to generate Error implementations instead of doing it by hand - adds public `TryFrom` implementations for SyslogSeverity and SyslogFacility
- Loading branch information
1 parent
c2c9479
commit acd007c
Showing
7 changed files
with
266 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
[package] | ||
name = "syslog_rfc5424" | ||
version = "0.6.1" | ||
version = "0.7.0" | ||
authors = ["James Brown <[email protected]>"] | ||
description = "Parser for RFC5424 (IETF-format) syslog messages" | ||
documentation = "https://docs.rs/syslog_rfc5424/" | ||
homepage = "https://github.com/Roguelazer/rust-syslog-rfc5424" | ||
repository = "https://github.com/Roguelazer/rust-syslog-rfc5424" | ||
license = "ISC" | ||
readme = "README.md" | ||
edition = "2018" | ||
|
||
[dependencies] | ||
time = "^0.1" | ||
# this should be a dev dependency, but there's some kind of issue with | ||
# dev-only macro crates | ||
assert_matches = "1.0" | ||
serde = { version = "1.0", optional = true } | ||
serde_derive = { version = "1.0", optional = true } | ||
serde_json = { version = "1.0", optional = true } | ||
thiserror = "1.0" | ||
|
||
[dev-dependencies] | ||
timeit = "0.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.