Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions sdk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# The Cargo manifest for the Filecoin Virtual Machine Actor Development SDK.

[package]
name = "fvm_sdk"
description = "Filecoin Virtual Machine actor development SDK"
# Use workspace inherited metadata for version, license, edition, and repository for consistency.
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]

[lib]
# This SDK is a library crate, typically compiled into a Wasm module for FVM.
crate-type = ["lib"]

[dependencies]
# Dependencies inherited from the workspace manifest for version control.
cid = { workspace = true }
## num-traits; disabling default features makes it play nice with no_std.
# num-traits: Disabled default features to ensure compatibility with `no_std` environments
# like the FVM, optimizing for minimal size.
num-traits = { workspace = true, default-features = false }
lazy_static = { workspace = true }
log = { workspace = true }
Expand All @@ -21,10 +27,12 @@ fvm_shared = { workspace = true }
fvm_ipld_encoding = { workspace = true }

[features]
# The default set of features when compiling this crate.
default = ["verify-signature"]
m2-native = []
upgrade-actor = []
# Use this feature to keep `verify_signature` syscall that is supposed to be removed by FIP-0079,
# The current implementation keeps it by default for backward compatibility reason.
# See <https://github.com/filecoin-project/ref-fvm/issues/2001>

# This feature keeps the deprecated `verify_signature` syscall.
# It is enabled by default for backward compatibility purposes until FIP-0079 is fully enforced.
# See tracking issue: <https://github.com/filecoin-project/ref-fvm/issues/2001>
verify-signature = []