Cargo.toml 742 B

123456789101112131415161718192021222324252627282930
  1. [package]
  2. name = "anchor-idl"
  3. version = "0.29.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 = [
  15. "anyhow",
  16. "regex",
  17. "serde",
  18. "serde_json",
  19. ]
  20. [dependencies]
  21. anchor-syn = { path = "../lang/syn", version = "0.29.0", features = ["idl-types"] }
  22. # `build` feature only
  23. anyhow = { version = "1", optional = true }
  24. regex = { version = "1", optional = true }
  25. serde = { version = "1", features = ["derive"], optional = true }
  26. serde_json = { version = "1", optional = true }