Skip to content

Commit

Permalink
Switched to dynamic font loading via CDN
Browse files Browse the repository at this point in the history
Keeps the bundled font as fallback
  • Loading branch information
4r7if3x committed Apr 25, 2023
1 parent 2345492 commit 99fa9b6
Show file tree
Hide file tree
Showing 21 changed files with 690 additions and 66 deletions.
25 changes: 25 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,18 @@ repository = "https://github.com/GyulyVGC/sniffnet"
license = "MIT OR Apache-2.0"
keywords = ["filter", "network", "packet", "sniffer", "gui"]
categories = ["visualization", "gui", "network-programming"]
include = ["src/**/*", "LICENSE-*", "README.md", "CHANGELOG.md", "resources/countries_flags/**/*", "resources/DB/GeoLite2-Country.mmdb", "resources/palettes/*", "resources/fonts/subset/*", "resources/sounds/*"]
include = [
"src/**/*",
"LICENSE-*",
"README.md",
"CHANGELOG.md",
"resources/countries_flags/**/*",
"resources/DB/GeoLite2-Country.mmdb",
"resources/palettes/*",
"resources/fonts/icons.ttf",
"resources/fonts/sarasa/subset/*",
"resources/sounds/*"
]


[package.metadata.bundle]
Expand Down Expand Up @@ -40,6 +51,8 @@ confy = "0.5.1"
serde = { version = "1.0.160", default_features = false, features = ["derive"] }
rodio = { version = "0.17.1", default_features = false, features = ["mp3"] }
reqwest = { version = "0.11.16", features = ["json", "blocking"] }
tokio = { version = "1.27.0", features = ["full"] }
once_cell = "1.17.1"

[dev-dependencies]
rstest = "0.17.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added resources/fonts/sarasa/full/sarasa-mono-bold.ttf
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 99fa9b6

Please sign in to comment.