mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-08-29 14:02:08 -04:00
25 lines
650 B
TOML
25 lines
650 B
TOML
[package]
|
|
name = "migrate"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
# The name of the lib target. We expose `ppanel_migrate` so the main
|
|
# binary can `use ppanel_migrate::*`. The actual library name in
|
|
# Cargo's eyes is "migrate" (matches [package].name), but the
|
|
# `crate-type = ["staticlib"]` is what rust2go::Builder compiles the
|
|
# Go code into for FFI.
|
|
crate-type = ["staticlib", "rlib"]
|
|
|
|
[features]
|
|
# Default: build with the FFI bridge compiled in. The Go side is compiled
|
|
# by build.rs via rust2go::Builder.
|
|
default = []
|
|
|
|
[dependencies]
|
|
rust2go = "0.4"
|
|
tracing = "0.1"
|
|
|
|
[build-dependencies]
|
|
rust2go = { version = "0.4", features = ["build"] }
|