Cargo.toml 762 B

123456789101112131415161718192021222324252627282930
  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. convert = ["heck", "sha2"]
  16. [dependencies]
  17. anyhow = "1"
  18. serde = { version = "1", features = ["derive"] }
  19. serde_json = "1"
  20. # `build` feature only
  21. anchor-syn = { path = "../lang/syn", version = "0.30.0", optional = true }
  22. regex = { version = "1", optional = true }
  23. # `convert` feature only
  24. heck = { version = "0.3", optional = true }
  25. sha2 = { version = "0.10", optional = true }