Cargo.toml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [workspace]
  2. members = [
  3. "cli",
  4. "programs/*",
  5. "examples/*",
  6. "crates/*",
  7. ]
  8. [workspace.package]
  9. version = "0.1.3"
  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.1.3" }
  17. bolt-attribute-bolt-component = { path = "crates/bolt-lang/attribute/component", version = "=0.1.3" }
  18. bolt-attribute-bolt-system = { path = "crates/bolt-lang/attribute/system", version = "=0.1.3"}
  19. bolt-attribute-bolt-system-input = { path = "crates/bolt-lang/attribute/system-input", version = "=0.1.3" }
  20. bolt-attribute-bolt-extra-accounts = { path = "crates/bolt-lang/attribute/extra-accounts", version = "=0.1.3" }
  21. bolt-attribute-bolt-arguments = { path = "crates/bolt-lang/attribute/arguments", version = "=0.1.3" }
  22. bolt-attribute-bolt-component-deserialize = { path = "crates/bolt-lang/attribute/component-deserialize", version = "=0.1.3" }
  23. bolt-attribute-bolt-component-id = { path = "crates/bolt-lang/attribute/component-id", version = "=0.1.3" }
  24. bolt-helpers-system-template = { path = "crates/bolt-helpers/attribute/system-template", version = "=0.1.3" }
  25. bolt-helpers-world-apply = { path = "crates/bolt-helpers/attribute/world-apply", version = "=0.1.3" }
  26. bolt-utils = { path = "crates/bolt-lang/utils", version = "=0.1.3" }
  27. world = { path = "programs/world", features = ["cpi"], version = "=0.1.3"}
  28. bolt-system = { path = "programs/bolt-system", features = ["cpi"], version = "=0.1.3"}
  29. bolt-component = { path = "programs/bolt-component", features = ["cpi"], version = "=0.1.3"}
  30. ## External crates
  31. anchor-lang = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909", features = ["init-if-needed"] }
  32. anchor-spl = { version = "0.29.0", git = "https://github.com/coral-xyz/anchor.git", rev = "0f60909" }
  33. solana-security-txt = "1.1.1"
  34. tuple-conv = "1.0.1"
  35. syn = { version = "1.0.60", features = ["full"] }
  36. quote = "1.0"
  37. proc-macro2 = "1.0"
  38. serde = { version = "1.0", features = ["derive"] }
  39. serde_json = "1.0"
  40. anyhow = "1.0.32"
  41. heck = "0.4.0"
  42. clap = { version = "4.2.4", features = ["derive"] }
  43. # TODO: Remove once https://github.com/solana-labs/solana/issues/33504 is resolved.
  44. ahash = "=0.8.6"
  45. [profile.release]
  46. overflow-checks = true
  47. lto = "fat"
  48. codegen-units = 1
  49. [profile.release.build-override]
  50. opt-level = 3
  51. incremental = false
  52. codegen-units = 1