-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
66 lines (56 loc) · 1.58 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
54
55
56
57
58
59
60
61
62
63
64
65
66
cargo-features = ["profile-rustflags"]
[package]
name = "trc"
version.workspace = true
edition.workspace = true
authors = ["limuy"]
description = "a easy-learn programming language"
homepage = "https://github.com/limuy2022/trc"
repository = "https://github.com/limuy2022/trc"
license = "GPL 3.0"
[workspace.package]
edition = "2024"
version = "0.1.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = "0.9"
clap = { version = "4.5", features = ["derive"] }
colored = "3"
downcast-rs = "2"
num-bigint = "0.4"
derive = { path = "./derive" }
libloading = "0.8"
sys-locale = "0.3"
rustyline = { version = "15", features = ["with-file-history"] }
suffix_array = "0.5.0"
paste = "1"
shadow-rs = "0"
libcore = { path = "./libcore" }
collection_literals = "1"
thiserror = "2"
dirs = "6"
rust-i18n = "3.0.1"
anyhow = "1.0"
num_enum = "0.7.2"
logos = "0.15"
mimalloc = "0.1"
[build-dependencies]
shadow-rs = "0"
[dev-dependencies]
assert_cmd = "2"
[profile.release]
lto = true
codegen-units = 1
strip = true
rustflags = ["-D", "warnings"]
[workspace]
members = ["derive", ".", "stdlib", "libcore", "trclsp", "packer"]
[package.metadata.i18n]
# The available locales for your application, default: ["en"].
available-locales = ["en", "zh-CN"]
# The default locale, default: "en".
default-locale = "en"
# Path for your translations YAML file, default: "locales".
# This config for let `cargo i18n` command line tool know where to find your translations.
# You must keep this path same as the one you pass to method `rust_i18n::i18n!`.
load-path = "locales"