2023-07-18 17:57:20 +03:00
|
|
|
[package]
|
|
|
|
name = "yggdrasil-abi"
|
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-12-11 03:04:31 +02:00
|
|
|
authors = ["Mark Poliakov <mark@alnyan.me>"]
|
2023-07-18 17:57:20 +03:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
core = { version = "1.0.0", optional = true, package = "rustc-std-workspace-core" }
|
2024-01-27 23:36:15 +02:00
|
|
|
rustc_std_alloc = { version = "1.0.0", optional = true, package = "rustc-std-workspace-alloc" }
|
2023-07-18 17:57:20 +03:00
|
|
|
compiler_builtins = { version = "0.1", optional = true }
|
2024-01-27 23:36:15 +02:00
|
|
|
|
2025-01-09 19:35:58 +02:00
|
|
|
abi-serde = { path = "../abi-serde" }
|
|
|
|
|
2024-01-22 14:39:50 +02:00
|
|
|
serde = { version = "1.0.193", features = ["derive"], default-features = false, optional = true }
|
|
|
|
bytemuck = { version = "1.14.0", features = ["derive"], optional = true }
|
2023-07-18 17:57:20 +03:00
|
|
|
|
2024-03-12 18:17:47 +02:00
|
|
|
abi-lib = { path = "../../lib/abi-lib" }
|
2024-03-12 13:48:09 +02:00
|
|
|
|
|
|
|
[build-dependencies]
|
2024-03-12 18:17:47 +02:00
|
|
|
abi-generator = { path = "../../tool/abi-generator" }
|
2024-03-12 13:48:09 +02:00
|
|
|
prettyplease = "0.2.15"
|
|
|
|
|
2025-02-27 18:49:20 +02:00
|
|
|
[lints.rust]
|
|
|
|
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(rust_analyzer)'] }
|
|
|
|
|
2023-07-18 17:57:20 +03:00
|
|
|
[features]
|
|
|
|
default = []
|
2023-12-05 12:24:04 +02:00
|
|
|
alloc = []
|
2024-03-12 13:48:09 +02:00
|
|
|
abi-private = []
|
2024-01-22 14:39:50 +02:00
|
|
|
serde_kernel = ["serde", "serde/alloc"]
|
2024-03-12 13:48:09 +02:00
|
|
|
rustc-dep-of-std = [
|
|
|
|
"core",
|
|
|
|
"rustc_std_alloc",
|
|
|
|
"compiler_builtins/rustc-dep-of-std",
|
2025-01-09 19:35:58 +02:00
|
|
|
"abi-lib/rustc-dep-of-std",
|
|
|
|
"abi-serde/rustc-dep-of-std"
|
2024-03-12 13:48:09 +02:00
|
|
|
]
|