[package]
edition = "2024"
name = "thruput-contract-spec"
version = "0.58.0"
authors = ["Thruput Team"]
build = false
exclude = ["/tests"]
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Canonical contract spec model for Thruput contracts"
homepage = "https://github.com/thruputchain/thruput-sdk-rs"
readme = false
keywords = [
"thruput",
"smart-contracts",
"blockchain",
]
categories = [
"cryptography::cryptocurrencies",
"no-std",
]
license = "Apache-2.0"
repository = "https://github.com/thruputchain/thruput-sdk-rs"
[package.metadata.thruput]
raw_spec_format = 5
[package.metadata.docs.rs]
all-features = true
[features]
alloc = ["xdrs/alloc"]
default = ["owned-model"]
owned-model = [
"alloc",
"dep:thruput-spec",
]
serde = [
"owned-model",
"thruput-spec/serde",
]
[lib]
name = "thruput_contract_spec"
crate-type = ["rlib"]
path = "src/lib.rs"
[dependencies.heapless]
version = "0.9.2"
[dependencies.thruput-spec]
version = "=0.63.0"
optional = true
default-features = false
[dependencies.thruput-xdr]
version = "=0.63.0"
features = ["xdrs"]
[dependencies.xdr-common]
version = "0.17.1"
package = "thruput-xdr-common"
[dependencies.xdrs]
version = "0.17.1"
features = [
"int128",
"heapless",
"heapless",
"derive",
]
default-features = false
package = "thruput-xdrs"