[package] name = "komple-framework-permission-module" version = "1.1.1-beta" authors = ["findolor "] edition = "2018" description = "Contract used for permission registry and execute/query message execution in front of module operations in Komple Framework." repository = "https://github.com/KompleTeam/komple-framework/tree/main/contracts/modules/permission" homepage = "https://komple.io" license = "Apache-2.0" documentation = "https://docs.komple.io/komple-framework/modules/Permission-Module" exclude = [ # Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. "contract.wasm", "hash.txt", ] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] crate-type = ["cdylib", "rlib"] [profile.release] opt-level = 3 debug = false rpath = false lto = true debug-assertions = false codegen-units = 1 panic = 'abort' incremental = false overflow-checks = true [features] # for more explicit tests, cargo test --features=backtraces backtraces = ["cosmwasm-std/backtraces"] # use library feature to disable all instantiate/execute/query exports library = [] [package.metadata.scripts] optimize = """docker run --rm -v "$(pwd)":/code \ --mount type=volume,source="$(basename "$(pwd)")_cache",target=/code/target \ --mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \ cosmwasm/rust-optimizer:0.12.6 """ [dependencies] semver = "1" cosmwasm-std = "1.1.0" cosmwasm-storage = "1.1.0" cosmwasm-schema = "1.1.0" cw-storage-plus = "0.15.1" cw2 = "0.15.1" thiserror = { version = "1.0.31" } komple-framework-types = { path = "../../../packages/types", version = "1.1.1-beta" } komple-framework-utils = { path = "../../../packages/utils", version = "1.1.1-beta", features = ["storage"] } cw-utils = "0.15.1" [dev-dependencies] cw-multi-test = "0.15.1" komple-framework-ownership-permission = { path = "../../permissions/ownership", features = ["library"] }