Cargo.toml 623 B

1234567891011121314151617181920212223
  1. [package]
  2. name = "misc-optional"
  3. version = "0.1.0"
  4. description = "Created with Anchor"
  5. rust-version = "1.56"
  6. edition = "2021"
  7. [lib]
  8. crate-type = ["cdylib", "lib"]
  9. name = "misc_optional"
  10. [features]
  11. no-entrypoint = []
  12. no-idl = []
  13. cpi = ["no-entrypoint"]
  14. default = []
  15. idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"]
  16. [dependencies]
  17. anchor-lang = { path = "../../../../lang", features = ["init-if-needed"] }
  18. anchor-spl = { path = "../../../../spl" }
  19. spl-associated-token-account = { version = "1.1.1", features = ["no-entrypoint"] }
  20. bytemuck = { version = "1.4.0", features = ["derive", "min_const_generics"] }