-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
76 lines (61 loc) · 2.08 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
67
68
69
70
71
72
73
74
75
76
[package]
name = "navm"
version = "0.17.4"
edition = "2021"
description = """
Definitions and APIs for the NAVM (Non-Axiomatic Virtual Machine) model
"""
readme = "README.md"
keywords = ["NARS", "Non-Axiomatic-Logic", "NAVM"]
license = "MIT OR Apache-2.0"
categories = [
"parser-implementations", # 解析器实现 | NAVM指令、NAVM输出
] # 🔗<https://crates.io/category_slugs>
repository = "https://github.com/ARCJ137442/NAVM.rs"
# Cargo文档参考:<https://rustwiki.org/zh-CN/cargo/reference/manifest.html>
[features]
# 默认全部启用
default = ["bundled"]
# 包括serde与serde_json
bundled = ["serde", "serde_json"]
# 通用 序列化/反序列化
serde = ["dep:serde"]
# 有关JSON的直接支持
# * 🚩【2024-04-13 15:20:23】现在需要以`serde`作为前置特性
serde_json = ["serde", "dep:serde_json"]
[dependencies]
anyhow = "1.0.88"
# 用于NAVM输出的序列化/反序列化
[dependencies.serde]
version = "1.0.210"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1.0.128"
optional = true
[dependencies.nar_dev_utils]
# 【2024-03-13 21:17:55】实用库现在独立为`nar_dev_utils`
# * 【2024-03-13 22:36:05】目前只启用它的宏
version = "0.42" # * ✅现已发布至`crates.io`
# path = "../NAR-dev-util"
# git = "https://github.com/ARCJ137442/NAR-dev-util"
# ! 【2024-03-23 19:19:01】似乎Rust-Analyzer无法获取私有仓库数据
features = ["bundled"]
[dependencies.narsese]
# ! 本地依赖可以不添加版本
# 载入Narsese API,引入其中的「词法Narsese」部分
# path = "../Narsese.rs"
version = "0.21" # * ✅现已发布至`crates.io`
# git = "https://github.com/ARCJ137442/Narsese.rs"
# ! 【2024-03-23 19:19:01】似乎Rust-Analyzer无法获取私有仓库数据
features = ["lexical_narsese"]
# 有关Clippy的参考:
# * 🔗<https://doc.rust-lang.org/clippy/configuration.html>
[lints.clippy]
# 📌【2024-08-25 00:31:01】允许文档注释中出现以下情况
# ```markdown
# * 📝这是一个笔记
# ? 💭这是一个问题
# * 📍这是问题下的一个小点
# ```
doc_lazy_continuation = "allow"