A hardware-accelerated 2D sprite renderer. https://crates.io/crates/fae
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.

56 lines
1.6 KiB

  1. [package]
  2. name = "fae"
  3. version = "0.7.0"
  4. authors = ["Jens Pitkanen <jens@neon.moe>"]
  5. edition = "2018"
  6. description = "A simple and fast 2D rendering crate with optional window creation and text rendering functionality."
  7. readme = "README.md"
  8. # Since the crate isn't ready for usage, don't set these just yet.
  9. # keywords = ["graphics", "2d", "renderer", "sprite"]
  10. # categories = ["rendering", "rendering::engine"]
  11. license = "MIT"
  12. repository = "https://github.com/neonmoe/fae"
  13. [badges]
  14. maintenance = { status = "experimental" }
  15. [dependencies]
  16. # Glutin depends on andrew on linux, which depends on rusttype 0.7.9,
  17. # which depends on rusttype ^0.8, so this should match that. No dupes.
  18. rusttype = { version = "^0.8.2", optional = true }
  19. # And rusttype 0.8.2 depends on this version of stb_truetype, and
  20. # we need to explicitly depend on it to be able to use its types.
  21. stb_truetype = { version = "^0.3.1", optional = true}
  22. # *sigh*
  23. # Now, the normal [dependencies] section
  24. log = "^0.4.8"
  25. gl = "0.14.0"
  26. fnv = { version = "^1.0.6", optional = true }
  27. png = { version = "^0.15.3", optional = true }
  28. font8x8 = { version = "^0.2.5", optional = true, default_features = false, features = ["std"] }
  29. lazy_static = { version = "^1.4.0", optional = true }
  30. [features]
  31. default = []
  32. text = ["fnv"]
  33. profiler = ["lazy_static"]
  34. ttf = ["rusttype", "stb_truetype"]
  35. [dev-dependencies]
  36. cfg-if = "^0.1.10"
  37. font-loader = "^0.8.0"
  38. glutin = "^0.23.0"
  39. sdl2 = { version = "^0.33.0", features = ["static-link", "bundled"] }
  40. glfw = "^0.36.0"
  41. [[example]]
  42. name = "glutin"
  43. required-features = ["text"]
  44. [[example]]
  45. name = "sdl"
  46. required-features = ["text"]
  47. [package.metadata.docs.rs]
  48. all-features = true