diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 72f1f1e42..4da5fbd5b 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -248,7 +248,7 @@ jobs:
- name: Build all
run: cargo build --all-targets --all-features
- name: Test all
- run: cargo test --all-targets --all-features
+ run: cargo test --all-targets --features=reflection,fetch,dcf_info
############ Figma resources
figma-resources:
runs-on: ubuntu-latest
diff --git a/.idea/runConfigurations/Fetch_HelloWorld.xml b/.idea/runConfigurations/Fetch_HelloWorld.xml
new file mode 100644
index 000000000..5fcb9578a
--- /dev/null
+++ b/.idea/runConfigurations/Fetch_HelloWorld.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/runConfigurations/Figma_Fetch_Tests.xml b/.idea/runConfigurations/Figma_Fetch_Tests.xml
new file mode 100644
index 000000000..d192fb2ec
--- /dev/null
+++ b/.idea/runConfigurations/Figma_Fetch_Tests.xml
@@ -0,0 +1,19 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Cargo.lock b/Cargo.lock
index 1be7622f1..dcb6d8cc7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -414,7 +414,6 @@ dependencies = [
"layout",
"lazy_static",
"log",
- "phf 0.11.2",
"prost",
"serde",
"serde-generate",
@@ -761,38 +760,18 @@ version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
dependencies = [
- "phf_macros 0.10.0",
- "phf_shared 0.10.0",
+ "phf_macros",
+ "phf_shared",
"proc-macro-hack",
]
-[[package]]
-name = "phf"
-version = "0.11.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc"
-dependencies = [
- "phf_macros 0.11.2",
- "phf_shared 0.11.2",
-]
-
[[package]]
name = "phf_generator"
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
dependencies = [
- "phf_shared 0.10.0",
- "rand",
-]
-
-[[package]]
-name = "phf_generator"
-version = "0.11.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0"
-dependencies = [
- "phf_shared 0.11.2",
+ "phf_shared",
"rand",
]
@@ -802,27 +781,14 @@ version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0"
dependencies = [
- "phf_generator 0.10.0",
- "phf_shared 0.10.0",
+ "phf_generator",
+ "phf_shared",
"proc-macro-hack",
"proc-macro2",
"quote",
"syn 1.0.109",
]
-[[package]]
-name = "phf_macros"
-version = "0.11.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b"
-dependencies = [
- "phf_generator 0.11.2",
- "phf_shared 0.11.2",
- "proc-macro2",
- "quote",
- "syn 2.0.72",
-]
-
[[package]]
name = "phf_shared"
version = "0.10.0"
@@ -832,15 +798,6 @@ dependencies = [
"siphasher 0.3.11",
]
-[[package]]
-name = "phf_shared"
-version = "0.11.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b"
-dependencies = [
- "siphasher 0.3.11",
-]
-
[[package]]
name = "png"
version = "0.17.13"
@@ -1137,7 +1094,7 @@ checksum = "f8c9331265d81c61212dc75df7b0836544ed8e32dba77a522f113805ff9a948e"
dependencies = [
"heck 0.3.3",
"include_dir",
- "phf 0.10.1",
+ "phf",
"serde",
"serde-reflection",
"textwrap",
diff --git a/crates/dc_jni/src/jni.rs b/crates/dc_jni/src/jni.rs
index 555129251..269b5305f 100644
--- a/crates/dc_jni/src/jni.rs
+++ b/crates/dc_jni/src/jni.rs
@@ -28,7 +28,7 @@ use jni::sys::{jint, JNI_VERSION_1_6};
use jni::{JNIEnv, JavaVM};
use lazy_static::lazy_static;
-use log::{error, LevelFilter};
+use log::{error, info, LevelFilter};
lazy_static! {
static ref JAVA_VM: Mutex