[package] name = "science_market" version = "0.1.0" description = "Draft example program: markets, positions, and the fully funded reserve split." edition = "2021" rust-version = "1.75" # Private draft: never published to a registry, so it carries no license field. publish = false [lib] crate-type = ["cdylib", "lib"] name = "science_market" [features] default = [] cpi = ["no-entrypoint"] no-entrypoint = [] no-idl = [] no-log-ix-name = [] idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"] [dependencies] # `init-if-needed` lets `set_eligibility` create the credential on first use and # rewrite it on later calls. Every field is written on each call, so a repeat # initialization cannot leave a stale `allowed` flag behind. anchor-lang = { version = "0.30.1", features = ["init-if-needed"] } anchor-spl = "0.30.1"