-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
executable file
·42 lines (34 loc) · 1.15 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
[package]
name = "cluFlock"
version = "1.2.9"
authors = ["Denis Kotlyarov (Денис Котляров) <[email protected]>"]
repository = "https://github.com/clucompany/cluFlock.git"
license = "Apache-2.0"
readme = "README.md"
edition = "2021"
keywords = ["flock", "unix_flock", "win_flock", "stream_flock", "clucompany"]
categories = ["development-tools::ffi"]
description = "Installation and subsequent safe removal of `flock` locks for data streams."
# docs.rs-specific configuration
[package.metadata.docs.rs]
# document all features
all-features = true
# defines the configuration attribute `docsrs`
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["win_fix_woudblock_in_errresult", "std"]
win_fix_woudblock_in_errresult = [] # !!!Works only in windows platform.
std = []
[dependencies]
[dependencies.SafeManuallyDrop]
version = "1.0.3"
default-features = false
features = [
"always_check_in_case_debug_assertions",
"support_panic_trig",
"always_deftrig_panic"
]
[target.'cfg(any(unix))'.dependencies]
libc = "0.2.155"
[target.'cfg(any(windows))'.dependencies]
winapi = { version = "0.3.9", features = ["fileapi", "minwinbase", "winnt", "ntdef"] }