-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
83 lines (76 loc) · 2.73 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
81
82
83
[package]
name = "droid-wrap"
description.workspace = true
authors.workspace = true
keywords.workspace = true
license.workspace = true
version.workspace = true
edition.workspace = true
readme.workspace = true
repository.workspace = true
[workspace.package]
authors = ["mzdk100 <[email protected]>"]
description = "用于Rust的Android API的高级封装"
keywords = ["android", "api", "sdk", "jni", "java"]
license = "Apache-2.0"
version = "0.3.6"
edition = "2021"
readme = "README.md"
repository = "https://gitcode.net/mzdk100/droid-wrap.git"
[workspace.dependencies]
android-build = "0.1.0"
[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
[features]
android = ["java_lang"]
android_app = ["android", "android_view", "java_lang"]
android_content = ["android", "android_media", "android_os", "java_lang", "java_io"]
android_content_pm = []
android_graphics = ["android"]
android_hardware = ["android", "android_graphics", "android_renderscript"]
android_hardware_vibrator = ["android_hardware"]
android_media = ["android"]
android_os = ["android", "android_hardware_vibrator", "java_lang"]
android_renderscript = ["android"]
android_speech = ["android"]
android_speech_tts = ["android_speech", "android_os", "java_lang"]
android_text = ["android", "java_lang"]
android_view = ["android", "android_os", "java_lang"]
android_view_inputmethod = ["android_view", "android_os", "android_text", "java_lang"]
android_widget = ["android", "android_text", "java_lang"]
dalvik = []
dalvik_system = ["dalvik", "java_lang", "java_nio"]
java = []
java_io = ["java_lang", "java_nio_file"]
java_lang = ["java"]
java_lang_reflect = ["java_lang"]
java_nio = ["java"]
java_nio_file = ["java_nio"]
test = []
test_android_app = ["android_app", "android_widget"]
test_android_content = ["android_content"]
test_android_hardware = ["android_app", "android_content_pm"]
test_android_os = ["android_app", "android_content", "android_os", "java_lang"]
test_android_text = ["android_text"]
test_android_view = ["android_content", "android_view"]
test_android_view_inputmethod = ["android_view_inputmethod"]
test_android_widget = ["android_content", "android_widget"]
test_android_speech = ["android_speech"]
test_android_speech_tts = ["android_content", "android_speech_tts"]
test_dalvik_system = ["dalvik_system", "android_app", "android_content"]
test_java_io = ["java_io"]
test_java_lang = ["java_lang"]
test_java_lang_reflect = ["java_lang_reflect"]
test_java_nio = ["java_nio"]
[dependencies]
[dependencies.droid-wrap-utils]
version = "0.3.6"
path = "utils"
[dependencies.droid-wrap-derive]
version = "0.3.6"
path="derive"
[workspace]
members = ["derive", "example", "utils", "tests", "aapt2"]
resolver = "2"