18 stable releases (9 major)
9.2.0 | Sep 9, 2024 |
---|---|
9.1.0 | Mar 25, 2024 |
9.0.0 | Jan 22, 2024 |
8.1.1 | Nov 2, 2023 |
0.1.0 |
|
#5 in #concordium
1,014 downloads per month
Used in 9 crates
(6 directly)
385KB
8K
SLoC
Concordium Contracts Common library
This library provides the core API that can be used to write smart contracts for the Concordium blockchain in the Rust programming language. It aims to provide safe wrappers around the core primitives exposed by the chain and accessible to smart contracts.
The functionality in this library is re-exported via the concordium-std and the concordium-rust-sdk crate.
-
The
concordium-std
crate is intended as the entry-point for development of smart contracts in Rust. It adds a number of helper macros and traits on top of the basic functionality available here. -
The
concordium-rust-sdk
crate is for off-chain development and interaction with smart contracts.
Features
std
(enabled by default): Enables functionality that depends on the standard library.derive-serde
: Enable serialization and deserialization viaserde
. Enablesstd
as well.fuzz
: Enable fuzzing viaarbitrary
. Enablesderive-serde
as well.smart-contract
: Enable functionality for smart contract development withconcordium-std
.
MSRV
The minimum supported rust version is specified in Cargo.toml
manifest.
Links
Dependencies
~1.2–2.7MB
~49K SLoC