Cargo.toml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. [workspace]
  2. members = [
  3. "cli",
  4. "programs/*",
  5. "examples/*",
  6. "crates/*",
  7. ]
  8. [workspace.package]
  9. version = "0.0.2"
  10. authors = ["Magicblock Labs <dev@magicblock.gg>"]
  11. repository = "https://github.com/magicblock-labs/bolt"
  12. homepage = "https://www.magicblock.gg/"
  13. license = "MIT"
  14. edition = "2021"
  15. [workspace.dependencies]
  16. bolt-attribute-bolt-program = { path = "crates/bolt-lang/attribute/bolt-program", version = "=0.0.2" }
  17. bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.0.2" }
  18. bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.0.2"}
  19. bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.0.2" }
  20. bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.0.2" }
  21. bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.0.2" }
  22. bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.0.2" }
  23. bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.0.2" }
  24. bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.0.2" }
  25. world = { path = "programs/world", features = ["cpi"], version = "=0.0.2"}
  26. bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.0.2"}
  27. bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.0.2"}
  28. ## External crates
  29. anchor-lang = "0.29.0"
  30. solana-security-txt = "1.1.1"
  31. tuple-conv = "1.0.1"
  32. syn = { version = "1.0.60", features = ["full"] }
  33. quote = "1.0"
  34. proc-macro2 = "1.0"
  35. serde = { version = "1.0", features = ["derive"] }
  36. serde_json = "1.0"
  37. anyhow = "1.0.32"
  38. heck = "0.4.0"
  39. clap = { version = "4.2.4", features = ["derive"] }
  40. # TODO: Remove once https://github.com/solana-labs/solana/issues/33504 is resolved.
  41. ahash = "=0.8.6"
  42. [profile.release]
  43. overflow-checks = true
  44. lto = "fat"
  45. codegen-units = 1
  46. [profile.release.build-override]
  47. opt-level = 3
  48. incremental = false
  49. codegen-units = 1