Skip to content

Commit

Permalink
Add condition evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed May 8, 2024
1 parent 9c4e43d commit 3c07500
Show file tree
Hide file tree
Showing 13 changed files with 734 additions and 75 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ tokio = { version = "1.17.0", features = ["rt", "sync", "macros"] }
tokio-util = "0.7"
lazy_static = "1.4"
sha1 = "0.10"
sha2 = "0.10"
base16ct = { version = "0.2", features = ["alloc"] }
semver = "1.0"

Expand Down
2 changes: 0 additions & 2 deletions src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ pub const SDK_KEY_PREFIX: &str = "configcat-sdk-1";
pub const CONFIG_FILE_NAME: &str = "config_v6.json";

Check warning on line 5 in src/constants.rs

View workflow job for this annotation

GitHub Actions / test

constant `CONFIG_FILE_NAME` is never used

Check failure on line 5 in src/constants.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `CONFIG_FILE_NAME` is never used

Check warning on line 5 in src/constants.rs

View workflow job for this annotation

GitHub Actions / test

constant `CONFIG_FILE_NAME` is never used

Check failure on line 5 in src/constants.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `CONFIG_FILE_NAME` is never used
pub const SERIALIZATION_FORMAT_VERSION: &str = "v2";

Check warning on line 6 in src/constants.rs

View workflow job for this annotation

GitHub Actions / test

constant `SERIALIZATION_FORMAT_VERSION` is never used

Check failure on line 6 in src/constants.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `SERIALIZATION_FORMAT_VERSION` is never used

Check warning on line 6 in src/constants.rs

View workflow job for this annotation

GitHub Actions / test

constant `SERIALIZATION_FORMAT_VERSION` is never used

Check failure on line 6 in src/constants.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `SERIALIZATION_FORMAT_VERSION` is never used
pub const SDK_KEY_SECTION_LENGTH: i64 = 22;

Check warning on line 7 in src/constants.rs

View workflow job for this annotation

GitHub Actions / test

constant `SDK_KEY_SECTION_LENGTH` is never used

Check failure on line 7 in src/constants.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `SDK_KEY_SECTION_LENGTH` is never used

Check warning on line 7 in src/constants.rs

View workflow job for this annotation

GitHub Actions / test

constant `SDK_KEY_SECTION_LENGTH` is never used

Check failure on line 7 in src/constants.rs

View workflow job for this annotation

GitHub Actions / clippy

constant `SDK_KEY_SECTION_LENGTH` is never used
pub const GLOBAL_CDN_URL: &str = "https://cdn-global.configcat.com";
pub const EU_CDN_URL: &str = "https://cdn-eu.configcat.com";

#[cfg(test)]
pub mod test_constants {
Expand Down
Loading

0 comments on commit 3c07500

Please sign in to comment.