46ba46ce9d
* build: Added initial support for Rust plugins * github: Install correct rust version * github: Fixed rustup command * github: Fix swapped win/linux commands * github: Install linux rust toolchain on Linux * github: Add rustup parameters to correct command * build: libimhex-rust -> hex * rust-plugins: Disable optimization to export functions correctly * build: Use cdylib instead of dylib * build: Fixed rust building and artifact copying * build: Fixed installing plugins * build: Fix copying and installing on Windows * github: Added windows debugging * github: Use curl instead of wget * github: Added debug on failure * github: Update path variable with rust toolchain path * build/github: Set rust location so cmake can find it * build: Remove leftovers * api: Added rust wrappers for the ImHexAPI * rust: Fixed compile flags with older gcc/clang * build: Enable concepts for cxx.rs * build: Explicitly set compiler for cxx.rs * rust: Added imgui-rs to libimhex-rust * rust: Export functions with double underscore prefix on mac * rust: Export functions adjusted for ABI * Add Rust target folder to gitignore * Add vendored imgui-rs copy * Add Context::current() to vendored imgui-rs * Fix libimhex not exporting cimgui symbols * Simplify plugin export mangling * build: Fixed cimgui linking * build: Only specify --export-all-symbols on Windows * Add context setting to Rust plugins * rust: Cleanup * deps: Update curl Co-authored-by: jam1garner <8260240+jam1garner@users.noreply.github.com>
32 lines
776 B
TOML
32 lines
776 B
TOML
[package]
|
|
name = "imgui"
|
|
version = "0.8.0"
|
|
edition = "2018"
|
|
authors = ["The imgui-rs Developers"]
|
|
description = "High-level Rust bindings to dear imgui"
|
|
homepage = "https://github.com/imgui-rs/imgui-rs"
|
|
repository = "https://github.com/imgui-rs/imgui-rs"
|
|
license = "MIT/Apache-2.0"
|
|
categories = ["gui", "api-bindings"]
|
|
readme = "../README.markdown"
|
|
|
|
exclude = ["/resources"]
|
|
|
|
[dependencies]
|
|
bitflags = "1"
|
|
imgui-sys = { path = "../imgui-sys" }
|
|
parking_lot = "0.11"
|
|
|
|
[features]
|
|
default = ["min-const-generics"]
|
|
|
|
wasm = ["imgui-sys/wasm"]
|
|
freetype = ["imgui-sys/freetype"]
|
|
min-const-generics = []
|
|
# this api is in beta in the upstream imgui crate. See issue #524 for more info.
|
|
# it should be stable and fine to use though.
|
|
tables-api = []
|
|
|
|
[dev-dependencies]
|
|
memoffset = "0.6"
|