Allow compiling with Rust code (#3137)
Co-authored-by: Yuri Astrakhan <YuriAstrakhan@gmail.com> Co-authored-by: Ian Wagner <ianwagner+github@switzerlandmail.ch>
This commit is contained in:
19
rustutils/Cargo.toml
Normal file
19
rustutils/Cargo.toml
Normal file
@@ -0,0 +1,19 @@
|
||||
[package]
|
||||
name = "rustutils"
|
||||
version = "0.1.0"
|
||||
authors = ["MapLibre contributors"]
|
||||
description = "Core Rust utilities for MapLibre Native"
|
||||
edition = "2021"
|
||||
license = "BSD-2-Clause"
|
||||
repository = "https://github.com/maplibre/maplibre-native"
|
||||
|
||||
[lib]
|
||||
crate-type = ["staticlib"]
|
||||
|
||||
[dependencies]
|
||||
csscolorparser = "0.6.2"
|
||||
cxx = "1"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
Reference in New Issue
Block a user