Skip to content

Commit 33cc32a

Browse files
committed
chore: rename core.rs to evaluate.rs
1 parent 4dd0a79 commit 33cc32a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
File renamed without changes.

src/feature_probe.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::core::{EvalDetail, Repository};
1+
use crate::evalutate::{EvalDetail, Repository};
22
use crate::sync::Synchronizer;
33
use crate::user::FPUser;
44
use crate::{FPDetail, FPError, SdkAuthorization};
@@ -22,9 +22,9 @@ use tracing::info;
2222
use url::Url;
2323

2424
#[cfg(feature = "internal")]
25-
use crate::core::Segment;
25+
use crate::evalutate::Segment;
2626
#[cfg(feature = "internal")]
27-
use crate::core::Toggle;
27+
use crate::evalutate::Toggle;
2828
#[cfg(feature = "use_tokio")]
2929
use reqwest::Client;
3030
#[cfg(feature = "internal")]
@@ -367,7 +367,7 @@ mod tests {
367367
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
368368
path.push(file);
369369
let json_str = fs::read_to_string(path).unwrap();
370-
let repo = crate::core::load_json(&json_str);
370+
let repo = crate::evalutate::load_json(&json_str);
371371
assert!(repo.is_ok(), "err is {:?}", repo);
372372
repo
373373
}

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
mod core;
1+
mod evalutate;
22
mod feature_probe;
33
mod sync;
44
mod user;
55

6-
pub use crate::core::{load_json, Repository, Segment, Toggle};
6+
pub use crate::evalutate::{load_json, Repository, Segment, Toggle};
77
pub use crate::feature_probe::{FPConfig, FeatureProbe};
88
pub use crate::user::FPUser;
99
use headers::{Error, Header, HeaderName, HeaderValue};

0 commit comments

Comments
 (0)