-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
80 lines (72 loc) · 2.08 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
77
78
79
80
[package]
name = "nick-name"
version = "0.1.1"
authors = ["oligami <nziq53@gmail.com>"]
license = "MIT/Apache-2.0/BSD-3-Clause"
repository = "https://github.com/nziq53/nickname"
homepage = "https://github.com/nziq53/nickname"
edition = "2021"
description = """
A Cross-Platform Rust user define device-name(nick-name) get set library.
"""
keywords = ["devicename", "nickname", "ffi", "utility"]
categories = ["hardware-support"]
readme = "README.md"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
path = "rust/lib.rs"
[dependencies]
thiserror = "1.0"
cfg-if = "1"
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21"
ndk-context = "0.1"
[target.'cfg(target_os = "windows")'.dependencies]
winapi = { version = "0.3", features = [
"winnt",
"winbase",
"l2cmn",
"sysinfoapi",
"winsock2",
"iptypes",
] }
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
objc = { version = "0.5.0", package = "objc2" }
[target.'cfg(any(unix, target_os = "redox", target_os = "macos", target_os = "wasi"))'.dependencies]
libc = "0.2"
[package.metadata.docs.rs]
default-target = "x86_64-pc-windows-msvc"
targets = [
"x86_64-pc-windows-msvc",
"x86_64-pc-windows-gnu",
"i686-pc-windows-msvc",
"i686-pc-windows-gnu",
"x86_64-apple-darwin",
"x86_64-unknown-linux-gnu",
"i686-unknown-linux-gnu",
"aarch64-unknown-linux-gnu",
"aarch64-unknown-linux-musl",
"arm-unknown-linux-gnueabi",
"arm-unknown-linux-gnueabihf",
"armv7-unknown-linux-gnueabihf",
"powerpc-unknown-linux-gnu",
"powerpc64-unknown-linux-gnu",
"powerpc64le-unknown-linux-gnu",
"riscv64gc-unknown-linux-gnu",
"s390x-unknown-linux-gnu",
"x86_64-unknown-freebsd",
"x86_64-unknown-illumos",
"x86_64-unknown-linux-musl",
"x86_64-unknown-netbsd",
"loongarch64-unknown-linux-gnu",
"aarch64-apple-darwin",
"aarch64-pc-windows-msvc",
"aarch64-linux-android",
"arm-linux-androideabi",
"armv7-linux-androideabi",
"i686-linux-android",
"x86_64-linux-android",
"aarch64-apple-ios",
"x86_64-apple-ios",
"aarch64-apple-ios-sim",
]