Cargo.toml 713 B

1234567891011121314151617181920212223242526272829
  1. [package]
  2. name = "anchor-lang-idl"
  3. version = "0.1.2"
  4. authors = ["Anchor Maintainers <accounts@200ms.io>"]
  5. repository = "https://github.com/coral-xyz/anchor"
  6. edition = "2021"
  7. license = "Apache-2.0"
  8. description = "Anchor framework IDL"
  9. [package.metadata.docs.rs]
  10. all-features = true
  11. rustdoc-args = ["--cfg", "docsrs"]
  12. [features]
  13. build = ["regex"]
  14. convert = ["heck", "sha2"]
  15. [dependencies]
  16. anchor-lang-idl-spec = { path = "./spec", version = "0.1.0" }
  17. anyhow = "1"
  18. # `convert` feature only
  19. heck = { version = "0.3", optional = true }
  20. # `build` feature only
  21. regex = { version = "1", optional = true }
  22. serde = { version = "1", features = ["derive"] }
  23. serde_json = "1"
  24. sha2 = { version = "0.10", optional = true }