-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
41 lines (35 loc) · 1.12 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
[package]
name = "mmkv"
version = "0.5.3"
edition = "2021"
authors = ["Kexuan Yang <kexuan.yang@gmail.com>"]
description = "Rust version of MMKV"
license = "MIT OR Apache-2.0"
repository = "https://github.com/yangkx-1024/MMKV"
keywords = ["key-value", "mmkv"]
exclude = [
"android", "ios", "build.sh", "build_android.sh",
"build_apple.sh", "Package.swift", ".fleet", ".github",
".space"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
protobuf = "3.7.1"
libc = "0.2.169"
crc = "3.2.1"
eax = { version = "0.5.0", features = ["stream"], optional = true }
aes = { version = "0.8.4", optional = true }
hex = { version = "0.4.3", optional = true }
mmkv-proc-macro-lib = { version = "0.0.3" }
chrono = { version = "0.4.39" }
once_cell = { version = "1.20.2" }
[build-dependencies]
protobuf-codegen = "3.7.1"
protoc-bin-vendored = "3.1.0"
[features]
default = []
encryption = ["dep:eax", "dep:aes", "dep:hex"]
[target.'cfg(target_os="android")'.dependencies]
jni = { version = "0.21.1", features = ["invocation"] }
[lib]
crate-type = ["rlib", "staticlib", "cdylib"]