Cargo.toml 651 B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "anchor-lang-idl"
  3. version = "0.1.0"
  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. anyhow = "1"
  17. serde = { version = "1", features = ["derive"] }
  18. serde_json = "1"
  19. # `build` feature only
  20. regex = { version = "1", optional = true }
  21. # `convert` feature only
  22. heck = { version = "0.3", optional = true }
  23. sha2 = { version = "0.10", optional = true }