Skip to content

Commit 1a81946

Browse files
committed
fix: compile when not enable realtime feature
1 parent 5ce31c0 commit 1a81946

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2021"
33
name = "feature-probe-server-sdk"
4-
version = "2.1.0"
4+
version = "2.1.1"
55
license = "Apache-2.0"
66
authors = ["[email protected]"]
77
description = "FeatureProbe Server Side SDK for Rust"

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ release-test:
1212
cargo test --release --verbose --features async --no-default-features
1313
test:
1414
cargo test --verbose && \
15-
cargo test --verbose --features internal --features realtime --no-default-features
15+
cargo test --verbose --features internal --no-default-features
1616

src/config.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ pub(crate) struct Config {
3131

3232
#[cfg(feature = "realtime")]
3333
pub realtime_url: Url,
34+
#[cfg(feature = "realtime")]
3435
pub realtime_path: String,
3536
pub max_prerequisites_deep: u8,
3637
}

0 commit comments

Comments
 (0)