Cargo.toml 607 B

12345678910111213141516171819202122232425
  1. [package]
  2. name = "bolt-component"
  3. description = "Bolt component template"
  4. version = { workspace = true }
  5. authors = { workspace = true }
  6. repository = { workspace = true }
  7. homepage = { workspace = true }
  8. license = { workspace = true }
  9. edition = { workspace = true }
  10. [lib]
  11. crate-type = ["cdylib", "lib"]
  12. name = "bolt_component"
  13. [features]
  14. no-entrypoint = []
  15. no-idl = []
  16. no-log-ix-name = []
  17. cpi = ["no-entrypoint"]
  18. default = []
  19. idl-build = ["anchor-lang/idl-build"]
  20. [dependencies]
  21. anchor-lang = { workspace = true, features = ["init-if-needed"] }
  22. bolt-system = { path = "../bolt-system", features = ["cpi"] }