-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Cargo.toml
53 lines (45 loc) · 1.56 KB
/
Cargo.toml
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
43
44
45
46
47
48
49
50
51
52
53
[package]
name = "aluvm"
description = "Functional registry-based RISC virtual machine"
version = "0.12.0-beta.4"
authors = ["Dr Maxim Orlovsky <[email protected]>"]
repository = "https://github.com/aluvm/rust-aluvm"
homepage = "https://aluvm.org"
keywords = ["virtual-machine", "emulator", "functional", "risc", "edge-computing"]
categories = ["no-std", "embedded", "compilers", "cryptography", "emulators"]
rust-version = "1.81.0" # Due to `Error` in `core`
edition = "2021"
license = "Apache-2.0"
readme = "README.md"
exclude = [".github"]
[lib]
name = "aluvm"
[[bin]]
name = "aluvm-stl"
required-features = ["stl"]
[dependencies]
amplify = { version = "~4.8.0", default-features = false, features = ["derive"] }
ascii-armor = { version = "0.9.0", optional = true }
baid64 = "0.4.1"
commit_verify = "0.12.0-beta.4"
paste = "1"
strict_encoding = { version = "~2.8.1", default-features = false, features = ["derive"] }
strict_types = { version = "~2.8.1", optional = true }
serde = { version = "1", optional = true }
[features]
default = []
all = ["std", "stl", "log", "armor", "serde"]
std = ["amplify/std"]
armor = ["dep:ascii-armor", "strict_types/armor"]
stl = ["armor", "strict_types"]
log = []
alloc = ["amplify/alloc"]
serde = ["dep:serde", "amplify/serde", "strict_encoding/serde"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = "0.2"
rand = { version = "0.8.4", optional = true }
getrandom = { version = "0.2", features = ["js"] }
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
[package.metadata.docs.rs]
features = ["all"]