Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion Cargo.lock

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

9 changes: 9 additions & 0 deletions crates/rustmotion-components/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ description = "Component library for rustmotion (51 components)"
license = "MIT"
repository = "https://github.com/LeadcodeDev/rustmotion"

[features]
default = ["lottie-native"]
## Native Lottie decoding via the thorvg CPU rasterizer.
## Enabled by default. Disable with `--no-default-features` to drop the thorvg
## dependency and fall back to the pre-rendered frames_dir path only.
lottie-native = ["dep:thorvg", "dep:dashmap"]

[dependencies]
rustmotion-core = { path = "../rustmotion-core", version = "0.6.0" }
skia-safe = "0.82"
Expand All @@ -20,3 +27,5 @@ qrcode = "0.14"
gif = "0.13"
syntect = { version = "5", default-features = false, features = ["default-fancy"] }
similar = "2"
thorvg = { version = "0.5", optional = true }
dashmap = { version = "6", optional = true }
Loading
Loading