-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
83 lines (72 loc) · 2.04 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 = "rs3cache"
version = "0.1.0"
authors = ["mejrs"]
edition = "2021"
default-run = "rs3"
[workspace]
members = [
"rs3cache_backend",
"rs3cache_macros",
"rs3cache_utils",
"rs3_py",
"osrs_py",
]
[profile.release]
lto = "thin"
[lib]
name = "rs3cache"
# dual types make it work both for compiling as package and python lib
crate-type = ["lib", "cdylib"]
[[bin]]
name = "rs3"
path = "src/rs3.rs"
required-features = ["rs3"]
[[bin]]
name = "osrs"
path = "src/osrs.rs"
required-features = ["osrs"]
[[bin]]
name = "legacy"
path = "src/legacy.rs"
required-features = ["legacy"]
[dependencies]
rs3cache_macros = { path = "rs3cache_macros", version = "0.1.0", optional = true }
rs3cache_backend = { path = "rs3cache_backend", version = "0.1.0" }
rs3cache_utils = { path = "rs3cache_utils", version = "0.1.0" }
bytes = "1.1.0"
clap = { version = "4.1.8", features = ["derive", "env"] }
console = "0.15"
filetime = { version = "0.2.15", optional = true }
image = {version = "0.24.5", default-features= false, features = ["png"] }
indicatif = "0.17.2"
itertools = "0.10.3"
memoffset = "0.6.5"
ndarray = { version = "0.15.4", features = ["serde"] }
path_macro = "1.0.0"
pyo3 = { version = "0.18", features = ["extension-module"], optional = true }
rayon = "1.5.3"
regex = "1.5.5"
serde = { version = "1.0.136", features = ["derive"] }
serde_json = "1.0.79"
serde_with = "1.12.0"
error = {git = "https://github.com/mejrs/error", rev = "82c78704fec42b0c35eb65dd358e9471c42136eb" }
[features]
pyo3 = ["dep:pyo3", "rs3cache_backend/pyo3", "rs3cache_macros"]
mockdata = ["rs3cache_backend/mockdata"]
fast = []
rs3 = ["rs3cache_backend/sqlite", "filetime"]
osrs = ["rs3cache_backend/dat2"]
legacy = ["rs3cache_backend/dat"]
2008_3_shim = ["osrs", "rs3cache_backend/2008_3_shim"]
2009_1_shim = ["2008_3_shim", "rs3cache_backend/2008_3_shim"]
2010_1_shim = ["2009_1_shim"]
2010_3_shim = ["2010_1_shim"]
2011_11_shim = ["2010_3_shim"]
2013_shim = ["2011_11_shim"]
2013_4_shim = ["2013_shim"]
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "bench"
harness = false