PkmnLib_rs/Cargo.toml

76 lines
1.7 KiB
TOML
Raw Normal View History

cargo-features = ["profile-rustflags"]
[package]
name = "pkmn_lib"
version = "0.1.0"
authors = ["Deukhoofd <Deukhoofd@gmail.com>"]
edition = "2018"
2022-12-24 11:06:06 +00:00
license = "MIT"
[lib]
name = "pkmn_lib"
2022-09-18 16:02:13 +00:00
crate_type = ["cdylib", "rlib"]
path = "src/lib.rs"
2022-06-03 14:35:18 +00:00
[features]
2022-07-18 08:16:47 +00:00
ffi = []
serde = ["dep:serde", "dep:serde-xml-rs", "atomig/serde"]
2022-11-27 16:29:29 +00:00
wasm = ["dep:wasmer"]
2022-09-18 16:02:13 +00:00
default = ["serde", "wasm", "ffi"]
2022-06-03 14:35:18 +00:00
[profile.dev]
opt-level = 0
debug = true
debug-assertions = true
overflow-checks = true
2022-09-18 16:02:13 +00:00
lto = false
panic = 'unwind'
incremental = true
codegen-units = 256
rpath = false
[profile.release]
opt-level = 3
debug = 1
debug-assertions = false
overflow-checks = true
2022-09-18 16:02:13 +00:00
lto = false
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-07-01 16:44:09 +00:00
atomig = { version = "0.4.0", features = ["derive"] }
# Used for time based code (i.e. randomness)
chrono = "0.4.19"
# Used for RNG
rand = "0.8.5"
rand_pcg = "0.3.1"
hashbrown = "0.14.0"
indexmap = "2.0.0"
parking_lot = "0.12.1"
serde = { version = "1.0.137", optional = true, features = ["derive"] }
serde_repr = "0.1.12"
serde-xml-rs = { version = "0.6.0", optional = true }
2023-06-17 17:05:27 +00:00
wasmer = { version = "3.3.0", optional = true, default-features = false, features = ["sys", "wat", "llvm"] }
2022-11-27 16:29:29 +00:00
uuid = "1.2.2"
2022-08-20 10:22:12 +00:00
paste = { version = "1.0.8" }
2022-09-18 16:02:13 +00:00
arcstr = { version = "1.1.4", features = ["std"] }
2022-10-15 15:21:24 +00:00
enum-display-derive = "0.1.1"
2023-04-15 12:34:42 +00:00
anyhow = "1.0.69"
anyhow_ext = "0.2.1"
thiserror = "1.0.39"
2023-06-17 17:05:27 +00:00
stdext = "0.3.1"
[dev-dependencies]
csv = "1.1.6"
project-root = "0.2.2"
2022-11-27 17:35:49 +00:00
serde_yaml = "0.9.14"
serde_json = "1.0.81"
serde_plain = "1.0.0"
2022-07-01 16:27:56 +00:00
# Allow us to assert whether floats are approximately a value
assert_approx_eq = "1.1.0"
2022-11-27 22:00:56 +00:00
mockall = "0.11.2"