-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
76 lines (62 loc) · 1.99 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# Copyright 2024 FastLabs Developers
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[package]
name = "fasyslog"
version = "0.3.0"
categories = ["development-tools::debugging"]
description = "A fast syslog client written in Rust."
documentation = "https://docs.rs/fasyslog"
edition = "2021"
keywords = ["syslog", "logs", "logging"]
license = "Apache-2.0"
repository = "https://github.com/fast/fasyslog"
rust-version = "1.75.0"
[package.metadata.docs.rs]
all-features = true
cargo-args = ["-Zunstable-options", "-Zrustdoc-scrape-examples"]
rustdoc-args = ["--cfg", "docsrs"]
[features]
native-tls = ["dep:native-tls"]
[dependencies]
jiff = { version = "0.1.14" }
# Optional dependencies
native-tls = { version = "0.2.12", optional = true }
[target.'cfg(unix)'.dependencies]
cfg-if = { version = "1.0.0" }
nix = { version = "0.29.0", features = ["hostname"] }
[target.'cfg(windows)'.dependencies]
windows-targets = { version = "0.52.6" }
[dev-dependencies]
names = { version = "0.14.0", default-features = false }
[[example]]
doc-scrape-examples = true
name = "broadcast_sender"
path = "examples/broadcast_sender.rs"
[[example]]
doc-scrape-examples = true
name = "native_tls_sender"
path = "examples/native_tls_sender.rs"
required-features = ["native-tls"]
[[example]]
doc-scrape-examples = true
name = "tcp_sender"
path = "examples/tcp_sender.rs"
[[example]]
doc-scrape-examples = true
name = "udp_sender"
path = "examples/udp_sender.rs"
[[example]]
doc-scrape-examples = true
name = "unix_sender"
path = "examples/unix_sender.rs"