# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "forest-filecoin" version = "0.22.0" authors = ["ChainSafe Systems "] build = "build.rs" exclude = [ ".config", ".github", ".maintain", "documentation", "scripts", "interop-tests", "go.work*", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust Filecoin implementation." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/ChainSafe/forest" [package.metadata.docs.rs] rustdoc-args = ["--document-private-items"] [profile.dev] debug = 0 split-debuginfo = "unpacked" [profile.quick] opt-level = 1 lto = "off" inherits = "release" [profile.release] lto = "thin" panic = "unwind" overflow-checks = true strip = true [profile.release-lto-fat] lto = "fat" inherits = "release" [lib] name = "forest_filecoin" path = "src/lib.rs" [[bin]] name = "forest" path = "src/bin/forest.rs" [[bin]] name = "forest-cli" path = "src/bin/forest-cli.rs" [[bin]] name = "forest-tool" path = "src/bin/forest-tool.rs" [[bin]] name = "forest-wallet" path = "src/bin/forest-wallet.rs" [[test]] name = "config" path = "tests/config.rs" [[test]] name = "db_migration_tests" path = "tests/db_migration_tests.rs" [[test]] name = "db_mode_tests" path = "tests/db_mode_tests.rs" [[test]] name = "import_snapshot_tests" path = "tests/import_snapshot_tests.rs" [[test]] name = "keystore_tests" path = "tests/keystore_tests.rs" [[test]] name = "lint" path = "tests/lint.rs" [[test]] name = "manifest_tests" path = "tests/manifest_tests.rs" [[test]] name = "tool_tests" path = "tests/tool_tests.rs" [[bench]] name = "car-index" path = "benches/car-index.rs" harness = false required-features = ["benchmark-private"] [[bench]] name = "example-benchmark" path = "benches/example-benchmark.rs" harness = false required-features = ["benchmark-private"] [dependencies.ahash] version = "0.8" [dependencies.anes] version = "0.2" [dependencies.anyhow] version = "1.0" [dependencies.argon2] version = "0.5" [dependencies.async-compression] version = "0.4" features = [ "tokio", "zstd", ] [dependencies.async-fs] version = "2" [dependencies.async-trait] version = "0.1" [dependencies.asynchronous-codec] version = "0.7" [dependencies.axum] version = "0.7" [dependencies.backoff] version = "0.4" features = ["tokio"] [dependencies.base64] version = "0.22" [dependencies.bigdecimal] version = "=0.4.2" [dependencies.blake2b_simd] version = "1.0" [dependencies.bls-signatures] version = "0.15" features = [ "multicore", "blst-portable", ] default-features = false [dependencies.blstrs] version = "0.7" features = ["portable"] [dependencies.byteorder] version = "1" [dependencies.bytes] version = "1" [dependencies.cbor4ii] version = "0.2" features = [ "use_alloc", "use_std", ] default-features = false [dependencies.cfg-if] version = "1" [dependencies.cfg-vis] version = "0.3" [dependencies.chrono] version = "0.4" features = ["clock"] default-features = false [dependencies.cid] version = "0.10" features = ["std"] default-features = false [dependencies.clap] version = "4" features = ["derive"] [dependencies.colored] version = "2.0" [dependencies.console-subscriber] version = "0.4" features = ["parking_lot"] optional = true [dependencies.crypto_secretbox] version = "0.1" [dependencies.daemonize-me] version = "2" [dependencies.data-encoding] version = "2" [dependencies.data-encoding-macro] version = "0.1" [dependencies.derive_builder] version = "0.20" [dependencies.derive_more] version = "1" features = [ "from", "into", ] [dependencies.dialoguer] version = "0.11" [dependencies.digest] version = "0.10" [dependencies.directories] version = "5" [dependencies.displaydoc] version = "0.2" [dependencies.ethereum-types] version = "0.15" [dependencies.ez-jsonrpc-types] version = "0.3" [dependencies.fil_actor_account_state] version = "17.0.3" [dependencies.fil_actor_cron_state] version = "17.0.3" [dependencies.fil_actor_datacap_state] version = "17.0.3" [dependencies.fil_actor_init_state] version = "17.0.3" [dependencies.fil_actor_interface] version = "17.0.3" [dependencies.fil_actor_market_state] version = "17.0.3" [dependencies.fil_actor_miner_state] version = "17.0.3" [dependencies.fil_actor_power_state] version = "17.0.3" [dependencies.fil_actor_reward_state] version = "17.0.3" [dependencies.fil_actor_system_state] version = "17.0.3" [dependencies.fil_actor_verifreg_state] version = "17.0.3" [dependencies.fil_actors_shared] version = "17.0.3" features = ["json"] [dependencies.flume] version = "0.11" [dependencies.fs_extra] version = "1" [dependencies.futures] version = "0.3" [dependencies.fvm2] version = "~2.9" default-features = false package = "fvm" [dependencies.fvm3] version = "~3.11" features = ["arb"] default-features = false package = "fvm" [dependencies.fvm4] version = "~4.3.3" features = [ "arb", "verify-signature", ] default-features = false package = "fvm" [dependencies.fvm_ipld_blockstore] version = "0.2" [dependencies.fvm_ipld_encoding] version = "0.4" [dependencies.fvm_shared2] version = "~2.9" package = "fvm_shared" [dependencies.fvm_shared3] version = "~3.11" features = [ "arb", "proofs", ] package = "fvm_shared" [dependencies.fvm_shared4] version = "~4.3.3" features = [ "arb", "proofs", ] package = "fvm_shared" [dependencies.gethostname] version = "0.5" [dependencies.git-version] version = "0.3" [dependencies.group] version = "0.13" [dependencies.hex] version = "0.4" features = ["serde"] [dependencies.hickory-resolver] version = "0.24" features = ["system-config"] default-features = false [dependencies.http] version = "1" [dependencies.human-repr] version = "1" [dependencies.human_bytes] version = "0.4" [dependencies.humantime] version = "2" [dependencies.indexmap] version = "2" features = ["serde"] [dependencies.indicatif] version = "0.17" features = ["tokio"] [dependencies.integer-encoding] version = "4.0" [dependencies.is-terminal] version = "0.4" [dependencies.itertools] version = "0.13" [dependencies.jsonrpsee] version = "0.24" features = [ "server", "ws-client", "http-client", ] [dependencies.jsonwebtoken] version = "9" [dependencies.keccak-hash] version = "0.11" [dependencies.kubert-prometheus-process] version = "0.1" [dependencies.libipld] version = "0.16" features = [ "dag-cbor", "dag-json", "derive", "serde-codec", ] default-features = false [dependencies.libipld-core] version = "0.16" features = [ "arb", "serde-codec", ] [dependencies.libipld-macro] version = "0.16" [dependencies.libp2p] version = "0.54" features = [ "autonat", "gossipsub", "kad", "identify", "ping", "mdns", "noise", "yamux", "tcp", "quic", "dns", "request-response", "metrics", "tokio", "macros", "serde", "upnp", "rsa", "ecdsa", "ed25519", "secp256k1", ] default-features = false [dependencies.libsecp256k1] version = "0.7" [dependencies.lru] version = "0.12" [dependencies.memmap2] version = "0.9" [dependencies.memory-stats] version = "1" [dependencies.mimalloc] version = "0.1" optional = true default-features = false [dependencies.multiaddr] version = "0.18" [dependencies.multimap] version = "0.10" [dependencies.nom] version = "7" [dependencies.nonzero_ext] version = "0.3" [dependencies.num] version = "0.4" [dependencies.num-bigint] version = "0.4" [dependencies.num-derive] version = "0.4" [dependencies.num-rational] version = "0.4" [dependencies.num-traits] version = "0.2" [dependencies.num_cpus] version = "1" [dependencies.nunny] version = "0.2" features = [ "serde", "quickcheck", "schemars", ] [dependencies.once_cell] version = "1" [dependencies.openrpc-types] version = "0.4" [dependencies.parity-db] version = "0.5" default-features = false [dependencies.parking_lot] version = "0.12" features = ["deadlock_detection"] [dependencies.paste] version = "1.0.15" [dependencies.pathfinding] version = "4" [dependencies.pin-project-lite] version = "0.2" [dependencies.positioned-io] version = "0.3" [dependencies.pretty_assertions] version = "1" [dependencies.prometheus-client] version = "0.22" [dependencies.quick-protobuf] version = "0.8" [dependencies.quick-protobuf-codec] version = "0.3" [dependencies.rand] version = "0.8" [dependencies.rand_distr] version = "0.4" [dependencies.raw_sync_2] version = "0.1" [dependencies.rayon] version = "1" [dependencies.regex] version = "1" [dependencies.reqwest] version = "0.12" features = [ "stream", "rustls-tls", "json", ] default-features = false [dependencies.rlimit] version = "0.10" [dependencies.rlp] version = "0.6" [dependencies.rs-car-ipfs] version = "0.3" [dependencies.rust2go] version = "0.3" [dependencies.sailfish] version = "0.9" [dependencies.schemars] version = "0.8" features = [ "chrono", "uuid1", ] [dependencies.scopeguard] version = "1" [dependencies.semver] version = "1" [dependencies.serde] version = "1" features = ["derive"] default-features = false [dependencies.serde_ipld_dagcbor] version = "0.4" [dependencies.serde_json] version = "1.0" features = ["raw_value"] [dependencies.serde_tuple] version = "1" [dependencies.serde_with] version = "3" features = ["chrono_0_4"] [dependencies.serde_yaml] version = "0.9" [dependencies.sha2] version = "0.10" default-features = false [dependencies.shared_memory] version = "0.12" [dependencies.similar] version = "2" [dependencies.slotmap] version = "1.0" [dependencies.smallvec] version = "1.13" [dependencies.smart-default] version = "0.7" [dependencies.stacker] version = "0.1" [dependencies.static_assertions] version = "1" [dependencies.statrs] version = "0.17" [dependencies.strum] version = "0.26" features = ["derive"] [dependencies.strum_macros] version = "0.26" [dependencies.tabled] version = "0.16" [dependencies.tap] version = "1" [dependencies.tar] version = "0.4" [dependencies.tempfile] version = "3" [dependencies.thiserror] version = "1" [dependencies.ticker] version = "0.1" [dependencies.tikv-jemallocator] version = "0.6" optional = true [dependencies.tokio] version = "1" features = ["full"] [dependencies.tokio-stream] version = "0.1" features = [ "fs", "io-util", ] [dependencies.tokio-util] version = "0.7" features = [ "compat", "io-util", ] [dependencies.toml] version = "0.8" [dependencies.tower] version = "0.4" features = ["util"] [dependencies.tower-http] version = "0.6" features = [ "compression-full", "sensitive-headers", ] [dependencies.tracing] version = "0.1" [dependencies.tracing-appender] version = "0.2" [dependencies.tracing-chrome] version = "0.7" optional = true [dependencies.tracing-loki] version = "0.2" features = [ "compat-0-2-1", "rustls", ] optional = true default-features = false [dependencies.tracing-subscriber] version = "0.3" features = [ "env-filter", "json", ] [dependencies.unsigned-varint] version = "0.8" features = ["codec"] [dependencies.url] version = "2" features = ["serde"] [dependencies.uuid] version = "1" features = [ "v4", "serde", ] [dependencies.walkdir] version = "2" [dependencies.zstd] version = "0.13" [dev-dependencies.ariadne] version = "0.4" [dev-dependencies.assert_cmd] version = "2" [dev-dependencies.bimap] version = "0.6" [dev-dependencies.cargo_metadata] version = "0.18" [dev-dependencies.criterion] version = "0.5" features = [ "async_tokio", "csv", ] [dev-dependencies.cs_serde_bytes] version = "0.12" [dev-dependencies.derive-quickcheck-arbitrary] version = "0.1" [dev-dependencies.fvm_shared3] version = "~3.11" features = [ "arb", "proofs", "testing", ] package = "fvm_shared" [dev-dependencies.fvm_shared4] version = "~4.3.3" features = [ "arb", "proofs", "testing", ] package = "fvm_shared" [dev-dependencies.glob] version = "0.3" [dev-dependencies.http-range-header] version = "0.4" [dev-dependencies.insta] version = "1" features = ["yaml"] [dev-dependencies.libp2p-swarm-test] version = "0.4" [dev-dependencies.num-bigint] version = "0.4" features = ["quickcheck"] [dev-dependencies.petgraph] version = "0.6" [dev-dependencies.predicates] version = "3" [dev-dependencies.proc-macro2] version = "1" features = ["span-locations"] default-features = false [dev-dependencies.quickcheck] version = "1" [dev-dependencies.quickcheck_async] version = "0.1" [dev-dependencies.quickcheck_macros] version = "1" [dev-dependencies.ra_ap_syntax] version = "0.0.241" [dev-dependencies.regex-automata] version = "0.4" [dev-dependencies.syn] version = "2" features = [ "full", "parsing", "visit", "printing", "extra-traits", ] default-features = false [dev-dependencies.tokio-test] version = "0.4" [build-dependencies.rust2go] version = "0.3" features = ["build"] [features] benchmark-private = [] default = [ "jemalloc", "tokio-console", "tracing-loki", "tracing-chrome", ] doctest-private = [] interop-tests-private = [] jemalloc = ["dep:tikv-jemallocator"] mimalloc = ["dep:mimalloc"] no-f3-sidecar = [] rustalloc = [] slim = ["rustalloc"] tokio-console = ["dep:console-subscriber"] tracing-chrome = ["dep:tracing-chrome"] tracing-loki = ["dep:tracing-loki"] [target."cfg(unix)".dependencies.termios] version = "0.3"