docs.rs failed to build dusk-forge-contract-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
dusk-forge-contract-0.2.0
Procedural macro for the #[contract] attribute.
This macro is applied to a module containing a contract struct and its
impl block. It extracts metadata about public methods and events, and
generates a CONTRACT_SCHEMA constant plus extern "C" wrappers.
Example
#[contract]
mod my_contract {
use evm_core::standard_bridge::SetU64;
use dusk_core::Address;
pub struct MyContract {
value: u64,
}
impl MyContract {
pub fn set_value(&mut self, value: SetU64) {
// ...
}
}
}