Skip to content

Commit

Permalink
Specify version, license and other metadata in workspace (#1487)
Browse files Browse the repository at this point in the history
  • Loading branch information
fridrik01 authored Dec 21, 2023
1 parent 81595c2 commit f8916da
Show file tree
Hide file tree
Showing 21 changed files with 121 additions and 113 deletions.
76 changes: 41 additions & 35 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,28 @@
[package]
name = "fil_builtin_actors_bundle"
description = "Bundle of FVM-compatible Wasm bytecode for Filecoin builtin actors"
[workspace]
resolver = "2"
members = [
"actors/*",
"state",
"runtime",
"test_vm",
"vm_api",
"integration_tests"
]

[workspace.package]
version = "12.0.0"
license = "MIT OR Apache-2.0"
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"

[package]
name = "fil_builtin_actors_bundle"
description = "Bundle of FVM-compatible Wasm bytecode for Filecoin builtin actors"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
keywords = ["filecoin", "web3", "wasm"]
exclude = ["examples", ".github"]

Expand Down Expand Up @@ -49,17 +66,6 @@ devnet = []
testing = []
testing-fake-proofs = []

[workspace]
resolver = "2"
members = [
"actors/*",
"state",
"runtime",
"test_vm",
"vm_api",
"integration_tests"
]

[workspace.dependencies]
# Common
serde = { version = "1.0.136", features = ["derive"] }
Expand Down Expand Up @@ -124,28 +130,28 @@ fvm_ipld_amt = { version = "0.6.2" }
fvm_ipld_bitfield = "0.6.0"

# workspace
fil_actor_account = { version = "12.0.0", path = "actors/account" }
fil_actor_cron = { version = "12.0.0", path = "actors/cron" }
fil_actor_datacap = { version = "12.0.0", path = "actors/datacap" }
fil_actor_eam = { version = "12.0.0", path = "actors/eam" }
fil_actor_ethaccount = { version = "12.0.0", path = "actors/ethaccount" }
fil_actor_evm = { version = "12.0.0", path = "actors/evm" }
fil_actor_init = { version = "12.0.0", path = "actors/init" }
fil_actor_market = { version = "12.0.0", path = "actors/market" }
fil_actor_miner = { version = "12.0.0", path = "actors/miner" }
fil_actor_multisig = { version = "12.0.0", path = "actors/multisig" }
fil_actor_paych = { version = "12.0.0", path = "actors/paych" }
fil_actor_placeholder = { version = "12.0.0", path = "actors/placeholder" }
fil_actor_power = { version = "12.0.0", path = "actors/power" }
fil_actor_reward = { version = "12.0.0", path = "actors/reward" }
fil_actor_system = { version = "12.0.0", path = "actors/system" }
fil_actor_verifreg = { version = "12.0.0", path = "actors/verifreg" }
fil_actors_evm_shared = { version = "12.0.0", path = "actors/evm/shared" }
fil_actors_runtime = { version = "12.0.0", path = "runtime" }
fil_builtin_actors_state = { version = "12.0.0", path = "state"}
fil_actor_account = { path = "actors/account" }
fil_actor_cron = { path = "actors/cron" }
fil_actor_datacap = { path = "actors/datacap" }
fil_actor_eam = { path = "actors/eam" }
fil_actor_ethaccount = { path = "actors/ethaccount" }
fil_actor_evm = { path = "actors/evm" }
fil_actor_init = { path = "actors/init" }
fil_actor_market = { path = "actors/market" }
fil_actor_miner = { path = "actors/miner" }
fil_actor_multisig = { path = "actors/multisig" }
fil_actor_paych = { path = "actors/paych" }
fil_actor_placeholder = { path = "actors/placeholder" }
fil_actor_power = { path = "actors/power" }
fil_actor_reward = { path = "actors/reward" }
fil_actor_system = { path = "actors/system" }
fil_actor_verifreg = { path = "actors/verifreg" }
fil_actors_evm_shared = { path = "actors/evm/shared" }
fil_actors_runtime = { path = "runtime" }
fil_builtin_actors_state = { path = "state"}
fil_actors_integration_tests = { version = "1.0.0", path = "integration_tests" }
vm_api = { version = "1.0.0", path = "vm_api" }
test_vm = { version = "12.0.0", path = "test_vm" }
test_vm = { path = "test_vm" }

[patch.crates-io]
#fvm_shared = { git = "https://github.com/filecoin-project/ref-fvm", branch = "master" }
Expand Down
7 changes: 4 additions & 3 deletions actors/account/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "fil_actor_account"
description = "Builtin account actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/cron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_cron"
description = "Builtin cron actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/datacap/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_datacap"
description = "Builtin data cap actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2018"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/eam/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_eam"
description = "Builtin Ethereum address manager actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm", "evm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/ethaccount/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_ethaccount"
description = "Builtin Ethereum Externally Owned Address actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm", "evm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/evm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_evm"
description = "Builtin EVM actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm", "evm"]
exclude = ["/precompile-testdata", "/tests/measurements", "/tests/contracts"]

Expand Down
8 changes: 4 additions & 4 deletions actors/evm/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actors_evm_shared"
description = "Shared libraries for the built-in EVM actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm", "evm"]

[dependencies]
Expand Down
8 changes: 4 additions & 4 deletions actors/init/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_init"
description = "Builtin init actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/market/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_market"
description = "Builtin market actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/miner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_miner"
description = "Builtin miner actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/multisig/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_multisig"
description = "Builtin multisig actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/paych/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_paych"
description = "Builtin paych actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
7 changes: 4 additions & 3 deletions actors/placeholder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[package]
name = "fil_actor_placeholder"
description = "Builtin placeholder actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/power/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_power"
description = "Builtin power actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/reward/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_reward"
description = "Builtin reward actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/system/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_system"
description = "Builtin system actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
8 changes: 4 additions & 4 deletions actors/verifreg/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actor_verifreg"
description = "Builtin verifreg actor for Filecoin"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"
keywords = ["filecoin", "web3", "wasm"]

[lib]
Expand Down
10 changes: 5 additions & 5 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "fil_actors_runtime"
description = "System actors for the Filecoin protocol"
version = "12.0.0"
license = "MIT OR Apache-2.0"
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
authors = ["ChainSafe Systems <info@chainsafe.io>", "Protocol Labs", "Filecoin Core Devs"]
edition = "2021"
repository = "https://github.com/filecoin-project/builtin-actors"

[dependencies]
anyhow = { workspace = true }
Expand Down Expand Up @@ -33,7 +33,7 @@ serde = { workspace = true }
serde_repr = { workspace = true }
thiserror = { workspace = true }
unsigned-varint = { workspace = true }
vm_api = { workspace = true }
vm_api = { workspace = true }

# A fake-proofs dependency but... we can't select on that feature here because we enable it from
# build.rs.
Expand Down
Loading

0 comments on commit f8916da

Please sign in to comment.