mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Add the rust-stable SDK extension, pre-download Corrosion and all crate dependencies, and set up cargo vendoring so the Flatpak build can compile Rust code without network access during the build phase.
16 lines
315 B
TOML
16 lines
315 B
TOML
[package]
|
|
name = "libjs_rust"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["staticlib"]
|
|
|
|
# After changing dependencies, regenerate the Flatpak sources:
|
|
# python3 Meta/CMake/flatpak/generate-cargo-sources.py
|
|
[dependencies]
|
|
unicode-ident = "1.0"
|
|
num-bigint = "0.4"
|
|
num-traits = "0.2"
|
|
num-integer = "0.1"
|