Cargo.toml 620 B

12345678910111213141516171819202122232425
  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. rust-version = "1.60"
  7. edition = "2021"
  8. license = "Apache-2.0"
  9. description = "Anchor framework IDL"
  10. [package.metadata.docs.rs]
  11. all-features = true
  12. rustdoc-args = ["--cfg", "docsrs"]
  13. [features]
  14. build = ["anchor-syn", "regex"]
  15. [dependencies]
  16. anyhow = "1"
  17. serde = { version = "1", features = ["derive"] }
  18. serde_json = "1"
  19. # `build` feature only
  20. anchor-syn = { path = "../lang/syn", version = "0.29.0", optional = true }
  21. regex = { version = "1", optional = true }