Mercurial > crates > systemd-socket
annotate Cargo.toml @ 11:13e2a5545167
Implement From conversions
This implements same `From<T>` conversions that `std` does.
| author | Martin Habovstiak <martin.habovstiak@gmail.com> |
|---|---|
| date | Sun, 29 Nov 2020 14:11:19 +0100 |
| parents | c9f42be465ca |
| children | 4479770c2275 |
| rev | line source |
|---|---|
| 0 | 1 [package] |
| 2 name = "systemd_socket" | |
| 3 version = "0.1.0" | |
| 4 authors = ["Martin Habovstiak <martin.habovstiak@gmail.com>"] | |
| 5 edition = "2018" | |
| 6 | |
| 7 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
| 8 | |
| 9 [features] | |
| 10 serde = ["serde_crate", "serde_str_helpers"] | |
| 11 | |
|
6
a7893294e9b2
Make the crate compilable on non-linux systems
Martin Habovstiak <martin.habovstiak@gmail.com>
parents:
4
diff
changeset
|
12 [target.'cfg(target_os = "linux")'.dependencies] |
|
a7893294e9b2
Make the crate compilable on non-linux systems
Martin Habovstiak <martin.habovstiak@gmail.com>
parents:
4
diff
changeset
|
13 libsystemd = "0.2.1" |
|
a7893294e9b2
Make the crate compilable on non-linux systems
Martin Habovstiak <martin.habovstiak@gmail.com>
parents:
4
diff
changeset
|
14 |
| 0 | 15 [dependencies] |
| 16 thiserror = "1.0.22" | |
|
10
c9f42be465ca
Decrease version requirement for serde
Martin Habovstiak <martin.habovstiak@gmail.com>
parents:
9
diff
changeset
|
17 serde_crate = { package = "serde", version = "1.0.116", optional = true, features = ["derive"] } |
|
9
4fb70ca820a6
Upgrade serde_str_helpers
Martin Habovstiak <martin.habovstiak@gmail.com>
parents:
6
diff
changeset
|
18 serde_str_helpers = { version = "0.1.2", optional = true } |
| 0 | 19 parse_arg = { version = "0.1.4", optional = true } |
| 20 lazy_static = "1.4.0" | |
|
4
66c0e10c89fc
Support resolving hostnames
Martin Habovstiak <martin.habovstiak@gmail.com>
parents:
0
diff
changeset
|
21 tokio_0_2 = { package = "tokio", version = "0.2", optional = true, features = ["tcp", "dns"] } |
| 0 | 22 tokio_0_3 = { package = "tokio", version = "0.3", optional = true, features = ["net"] } |
| 23 async-std = { version = "1.7.0", optional = true } |
