Skip to content

Commit d172c9e

Browse files
committed
fix(tracing): rename lib name from forest_filecoin to forest
1 parent a253956 commit d172c9e

File tree

10 files changed

+13
-10
lines changed

10 files changed

+13
-10
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ license = "MIT OR Apache-2.0"
88
description = "Rust Filecoin implementation."
99
exclude = [".config", ".github", ".maintain", "documentation", "scripts", "interop-tests", "go.work*"]
1010

11+
[lib]
12+
name = "forest"
13+
1114
[workspace.dependencies]
1215
anyhow = "1"
1316
cid = { version = "0.11", default-features = false, features = ["std"] }

interop-tests/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ publish = false
1414
anyhow = { workspace = true }
1515
cid = { workspace = true }
1616
flume = { workspace = true }
17-
forest-filecoin = { path = "../", default-features = false, features = ["interop-tests-private", "no-f3-sidecar"] }
17+
forest = { package = "forest-filecoin", path = "../", default-features = false, features = ["interop-tests-private", "no-f3-sidecar"] }
1818
futures = { workspace = true }
1919
libp2p = { workspace = true, features = [
2020
'kad',

interop-tests/src/tests/bitswap_go_compat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
use super::go_ffi::*;
55
use cid::Cid;
6-
use forest_filecoin::interop_tests_private::libp2p_bitswap::{
6+
use forest::interop_tests_private::libp2p_bitswap::{
77
BitswapBehaviour, BitswapBehaviourEvent, BitswapMessage, BitswapRequest, BitswapResponse,
88
};
99
use libp2p::{

interop-tests/src/tests/kad_go_compat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
use super::go_ffi::*;
55

6-
use forest_filecoin::interop_tests_private::libp2p::discovery::new_kademlia;
6+
use forest::interop_tests_private::libp2p::discovery::new_kademlia;
77
use futures::StreamExt as _;
88
use libp2p::{
99
identify, identity, kad, noise, swarm::SwarmEvent, tcp, yamux, Multiaddr, StreamProtocol,

src/bin/forest-cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// SPDX-License-Identifier: Apache-2.0, MIT
33

44
fn main() -> anyhow::Result<()> {
5-
forest_filecoin::forest_main(std::env::args_os())
5+
forest::forest_main(std::env::args_os())
66
}

src/bin/forest-tool.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// SPDX-License-Identifier: Apache-2.0, MIT
33

44
fn main() -> anyhow::Result<()> {
5-
forest_filecoin::forest_tool_main(std::env::args_os())
5+
forest::forest_tool_main(std::env::args_os())
66
}

src/bin/forest-wallet.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// SPDX-License-Identifier: Apache-2.0, MIT
33

44
fn main() -> anyhow::Result<()> {
5-
forest_filecoin::forest_wallet_main(std::env::args_os())
5+
forest::forest_wallet_main(std::env::args_os())
66
}

src/bin/forest.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
// SPDX-License-Identifier: Apache-2.0, MIT
33

44
fn main() -> anyhow::Result<()> {
5-
forest_filecoin::forestd_main(std::env::args_os())
5+
forest::forestd_main(std::env::args_os())
66
}

tests/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// SPDX-License-Identifier: Apache-2.0, MIT
33
use std::io::Write;
44

5-
use forest_filecoin::{Client, Config};
5+
use forest::{Client, Config};
66
use tempfile::TempDir;
77

88
pub mod common;

tests/keystore_tests.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
pub mod common;
55

6-
use forest_filecoin::{verify_token, JWT_IDENTIFIER};
7-
use forest_filecoin::{
6+
use forest::{verify_token, JWT_IDENTIFIER};
7+
use forest::{
88
KeyStore, KeyStoreConfig, ENCRYPTED_KEYSTORE_NAME, FOREST_KEYSTORE_PHRASE_ENV, KEYSTORE_NAME,
99
};
1010

0 commit comments

Comments
 (0)