An unofficial collection of APIs used in FreeJam games and mods
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Cargo.toml 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. [package]
  2. name = "libfj"
  3. version = "0.7.3"
  4. authors = ["NGnius (Graham) <ngniusness@gmail.com>"]
  5. edition = "2018"
  6. description = "An unofficial collection of APIs used in FreeJam games and mods"
  7. license = "MIT"
  8. homepage = "https://github.com/NGnius/libfj"
  9. repository = "https://github.com/NGnius/libfj"
  10. readme = "README.md"
  11. exclude = [
  12. "test.sh",
  13. "**/*.out.Techblox"
  14. ]
  15. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  16. [dependencies]
  17. serde = { version = "^1", features = ["derive"]}
  18. serde_json = "^1"
  19. reqwest = { version = "^0.11", features = ["json", "rustls-tls"], optional = true, default-features=false}
  20. url = "^2.2"
  21. ureq = { version = "^2", features = ["json"], optional = true}
  22. async-trait = { version = "0.1", optional = true }
  23. base64 = "^0.13"
  24. num_enum = "^0.5"
  25. chrono = {version = "^0.4", optional = true}
  26. highhash = {version = "^0.1", optional = true}
  27. half = {version = "^1.7", optional = true}
  28. libfj_parsable_macro_derive = {version = "0.5.3", optional = true}
  29. #libfj_parsable_macro_derive = {path = "./parsable_macro_derive", optional = true}
  30. obj = {version = "^0.10", optional = true}
  31. genmesh = {version = "^0.6", optional = true}
  32. cgmath = {version = "^0.18", optional = true}
  33. [dev-dependencies]
  34. tokio = { version = "1.4.0", features = ["macros"]}
  35. [features]
  36. all = ["simple", "robocraft", "cardlife", "techblox", "convert", "robocraft2"]
  37. default = ["all"]
  38. simple = ["ureq"]
  39. robocraft = ["reqwest", "ureq"]
  40. cardlife = ["reqwest"]
  41. techblox = ["chrono", "highhash", "half", "libfj_parsable_macro_derive"]
  42. convert = ["obj", "genmesh", "cgmath"]
  43. robocraft2 = ["reqwest", "async-trait", "chrono"]