2022-06-16 16:25:25 +00:00
|
|
|
cargo-features = ["profile-rustflags"]
|
|
|
|
|
2021-01-30 21:29:59 +00:00
|
|
|
[package]
|
|
|
|
name = "pkmn_lib"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Deukhoofd <Deukhoofd@gmail.com>"]
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "pkmn_lib"
|
2022-06-16 15:59:33 +00:00
|
|
|
crate_type = ["rlib"]
|
|
|
|
path = "src/lib.rs"
|
2021-01-30 21:29:59 +00:00
|
|
|
|
2022-06-03 14:35:18 +00:00
|
|
|
[features]
|
|
|
|
c_interface = []
|
2022-06-17 17:53:33 +00:00
|
|
|
serde = ["dep:serde"]
|
2022-06-16 15:59:33 +00:00
|
|
|
default = ["serde"]
|
2022-06-03 14:35:18 +00:00
|
|
|
|
2021-01-30 21:29:59 +00:00
|
|
|
[profile.dev]
|
|
|
|
opt-level = 0
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|
|
|
|
overflow-checks = true
|
|
|
|
lto = "thin"
|
|
|
|
panic = 'unwind'
|
|
|
|
incremental = true
|
|
|
|
codegen-units = 256
|
|
|
|
rpath = false
|
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 3
|
|
|
|
debug = 1
|
|
|
|
debug-assertions = false
|
|
|
|
overflow-checks = true
|
|
|
|
lto = "fat"
|
|
|
|
panic = 'unwind'
|
|
|
|
incremental = false
|
|
|
|
codegen-units = 16
|
|
|
|
rpath = false
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
# Used for PrimInt, so we can check if a generic is an integer
|
|
|
|
num-traits = "0.2"
|
2022-06-18 12:17:29 +00:00
|
|
|
atomic_prim_traits = "0.2.0"
|
2021-01-30 21:29:59 +00:00
|
|
|
# Allow us to assert whether floats are approximately a value
|
|
|
|
assert_approx_eq = "1.1.0"
|
|
|
|
# Used for time based code (i.e. randomness)
|
|
|
|
chrono = "0.4.19"
|
|
|
|
# Used for RNG
|
2022-06-04 10:40:32 +00:00
|
|
|
rand = "0.8.5"
|
|
|
|
rand_pcg = "0.3.1"
|
2022-06-06 11:54:59 +00:00
|
|
|
hashbrown = "0.12.1"
|
|
|
|
indexmap = "1.8.2"
|
2022-06-16 15:59:33 +00:00
|
|
|
parking_lot = "0.12.1"
|
|
|
|
serde = { version = "1.0.137", optional = true, features = ["derive"] }
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
csv = "1.1.6"
|
|
|
|
project-root = "0.2.2"
|
2022-06-17 17:53:33 +00:00
|
|
|
datatest = "0.7.1"
|
|
|
|
serde_yaml = "0.8.24"
|
|
|
|
serde_json = "1.0.81"
|
|
|
|
serde_plain = "1.0.0"
|