Add Codama IDL to program binary (#105)

* Add Codama IDL

* Add IDL to program binary

* Update dependency

* Use published crate

---------

Co-authored-by: Hardhat Chad <155858888+HardhatChad@users.noreply.github.com>
This commit is contained in:
Fernando Otero
2024-11-01 22:00:49 +00:00
committed by GitHub
parent 0e1460e2a4
commit 07d8b4cedd
5 changed files with 1800 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ documentation.workspace = true
repository.workspace = true
readme.workspace = true
keywords.workspace = true
build = "build.rs"
[lib]
crate-type = ["cdylib", "lib"]
@@ -19,6 +20,7 @@ default = []
[dependencies]
drillx.workspace = true
solana-include-idl = "0.1"
mpl-token-metadata.workspace = true
ore-api.workspace = true
ore-boost-api.workspace = true
@@ -29,3 +31,6 @@ steel.workspace = true
[dev-dependencies]
rand = "0.8.5"
[build-dependencies]
solana-include-idl = { version = "0.1", features = ["shrink"] }