forked from trueagi-io/hyperon-experimental
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
36 lines (32 loc) · 1.13 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
[package]
name = "hyperon"
version.workspace = true
edition.workspace = true
[dependencies]
regex = { workspace = true }
log = { workspace = true }
env_logger = { workspace = true }
directories = "5.0.1" # For Environment to find platform-specific config location
smallvec = "1.10.0"
im = "15.1.0"
rand = "0.8.5"
bitset = "0.1.2"
dyn-fmt = "0.4.0"
# pkg_mgmt deps
xxhash-rust = {version="0.8.7", features=["xxh3"], optional=true }
serde = { version="1.0.198", features = ["derive"], optional=true }
serde_json = { version="1.0.116", optional=true }
semver = { version="1.0", features = ["serde"], optional=true }
git2 = { version="0.18.3", features=["vendored-libgit2"], optional=true }
[lib]
name = "hyperon"
path = "src/lib.rs"
crate-type = ["lib"]
[features]
default = ["pkg_mgmt"]
# Add one of the features below into default list to enable.
# See https://doc.rust-lang.org/cargo/reference/features.html#the-features-section
variable_operation = [] # enables evaluation of the expressions which have
# a variable on the first position
git = ["git2", "pkg_mgmt"]
pkg_mgmt = ["xxhash-rust", "serde", "serde_json", "semver"]