-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
42 lines (36 loc) · 1.19 KB
/
Cargo.toml
File metadata and controls
42 lines (36 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[package]
name = "jit-assembler"
version = "0.3.0"
authors = ["petitstrawberry <petitstrawberry.dev@gmail.com>"]
edition = "2021"
description = "A multi-architecture JIT assembler library for runtime code generation"
license = "MIT"
keywords = ["jit", "assembler", "compiler", "codegen", "no-std"]
categories = ["development-tools", "no-std", "compilers"]
repository = "https://github.com/petitstrawberry/jit-assembler"
documentation = "https://docs.rs/jit-assembler"
homepage = "https://github.com/petitstrawberry/jit-assembler"
readme = "README.md"
[dependencies]
jit-allocator2 = { version = "0.2", optional = true }
hashbrown = { version = "0.14", default-features = false, optional = true, features = ["ahash"]}
[features]
default = ["std", "riscv64", "aarch64"]
std = ["jit-allocator2"]
riscv64 = []
x86_64 = []
aarch64 = []
register-tracking = ["hashbrown"]
[dev-dependencies]
tempfile = "3.0"
# For tests that might need std features
# Examples that require std feature for JIT execution
[[example]]
name = "jit_execution"
required-features = ["std"]
[[example]]
name = "jit_calculator"
required-features = ["std"]
[[example]]
name = "register_tracking_demo"
required-features = ["register-tracking"]