diff --git a/napture/Cargo.lock b/napture/Cargo.lock index 15805902..e32db677 100644 --- a/napture/Cargo.lock +++ b/napture/Cargo.lock @@ -177,6 +177,26 @@ dependencies = [ "windows-targets 0.52.5", ] +[[package]] +name = "const_format" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e3a214c7af3d04997541b18d432afaff4c455e79e2029079647e72fc2bd27673" +dependencies = [ + "const_format_proc_macros", +] + +[[package]] +name = "const_format_proc_macros" +version = "0.2.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c7f6ff08fd20f4f299298a28e2dfa8a8ba1036e6cd2460ac1de7b425d76f2500" +dependencies = [ + "proc-macro2", + "quote", + "unicode-xid", +] + [[package]] name = "core-foundation" version = "0.9.4" @@ -1983,6 +2003,12 @@ dependencies = [ "tinyvec", ] +[[package]] +name = "unicode-xid" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" + [[package]] name = "url" version = "2.5.0" @@ -2125,6 +2151,7 @@ version = "1.3.0" dependencies = [ "base64", "chrono", + "const_format", "directories", "glib", "glib-build-tools", diff --git a/napture/Cargo.toml b/napture/Cargo.toml index 25cae9e1..f03ef7ac 100644 --- a/napture/Cargo.toml +++ b/napture/Cargo.toml @@ -6,12 +6,13 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -adw = { version = "0.6.0", package = "libadwaita", features = ["v1_5"] } +adw = { version = "0.6.0", package = "libadwaita", features = ["v1_4"] } base64 = "0.22.1" chrono = "0.4.38" +const_format = "0.2.32" directories = "5.0.1" glib = "0.19.4" -gtk = { version = "0.8.1", package = "gtk4", features = ["v4_14"] } +gtk = { version = "0.8.1", package = "gtk4", features = ["v4_12"] } html-escape = "0.2.13" html_parser = "0.7.0" lazy_static = "1.4.0" diff --git a/napture/examples/base64_images/index.html b/napture/examples/base64_images/index.html new file mode 100644 index 00000000..4ff0b1fa --- /dev/null +++ b/napture/examples/base64_images/index.html @@ -0,0 +1,9 @@ + + + base64_images + + +

base64 images

+ + + diff --git a/napture/examples/clear_timeout/index.html b/napture/examples/clear_timeout/index.html new file mode 100644 index 00000000..9a2ff271 --- /dev/null +++ b/napture/examples/clear_timeout/index.html @@ -0,0 +1,15 @@ + + + clear_timeout +