2021-04-02 10:38:30 -04:00
|
|
|
[package]
|
|
|
|
name = "libfj"
|
2021-10-15 17:32:23 -04:00
|
|
|
version = "0.6.0"
|
2021-04-02 10:38:30 -04:00
|
|
|
authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
|
|
|
|
edition = "2018"
|
2021-04-04 15:49:59 -04:00
|
|
|
description = "An unofficial collection of APIs used in FreeJam games and mods"
|
2021-05-07 19:44:51 -04:00
|
|
|
license = "MIT"
|
|
|
|
homepage = "https://github.com/NGnius/libfj"
|
|
|
|
repository = "https://github.com/NGnius/libfj"
|
|
|
|
readme = "README.md"
|
2021-06-23 11:30:07 -04:00
|
|
|
exclude = [
|
|
|
|
"test.sh",
|
|
|
|
"**/*.out.Techblox"
|
|
|
|
]
|
2021-04-02 10:38:30 -04:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2021-05-03 19:18:07 -04:00
|
|
|
serde = { version = "^1", features = ["derive"]}
|
|
|
|
serde_json = "^1"
|
2021-06-01 20:50:23 -04:00
|
|
|
reqwest = { version = "^0.11", features = ["json"], optional = true}
|
2021-05-03 19:18:07 -04:00
|
|
|
url = "^2.2"
|
|
|
|
ureq = { version = "^2", features = ["json"], optional = true}
|
2021-05-04 22:49:13 -04:00
|
|
|
base64 = "^0.13"
|
2021-05-05 20:23:39 -04:00
|
|
|
num_enum = "^0.5"
|
2021-06-01 20:50:23 -04:00
|
|
|
chrono = {version = "^0.4", optional = true}
|
2021-07-01 11:32:15 -04:00
|
|
|
highhash = {version = "^0.1", optional = true}
|
2021-06-22 17:08:36 -04:00
|
|
|
half = {version = "^1.7", optional = true}
|
2021-06-01 20:50:23 -04:00
|
|
|
libfj_parsable_macro_derive = {version = "0.5.3", optional = true}
|
|
|
|
#libfj_parsable_macro_derive = {path = "./parsable_macro_derive", optional = true}
|
2021-06-04 08:46:30 -04:00
|
|
|
obj = {version = "^0.10", optional = true}
|
|
|
|
genmesh = {version = "^0.6", optional = true}
|
2021-10-25 17:34:05 -04:00
|
|
|
cgmath = {version = "^0.18", optional = true}
|
2021-04-02 10:38:30 -04:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-05-03 19:18:07 -04:00
|
|
|
tokio = { version = "1.4.0", features = ["macros"]}
|
|
|
|
|
|
|
|
[features]
|
2021-07-28 16:27:38 -04:00
|
|
|
all = ["simple", "robocraft", "cardlife", "techblox", "convert"]
|
|
|
|
default = ["all"]
|
2021-05-03 19:18:07 -04:00
|
|
|
simple = ["ureq"]
|
2021-07-28 16:27:38 -04:00
|
|
|
robocraft = ["reqwest", "ureq"]
|
2021-06-01 20:50:23 -04:00
|
|
|
cardlife = ["reqwest"]
|
2021-07-01 11:32:15 -04:00
|
|
|
techblox = ["chrono", "highhash", "half", "libfj_parsable_macro_derive"]
|
2021-10-25 17:34:05 -04:00
|
|
|
convert = ["obj", "genmesh", "cgmath"]
|