-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (85 loc) · 2.77 KB
/
Cargo.toml
File metadata and controls
101 lines (85 loc) · 2.77 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
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
[package]
categories = ["multimedia::audio"]
description = "Experimental, dynamic, imperative music sequence generator"
edition = "2021"
exclude = ["assets", "examples", "benches"]
keywords = ["audio", "sequencer", "lua", "live_coding", "renoise"]
license = "GNU AFFERO"
name = "pattrns"
readme = "README.md"
repository = "https://github.com/renoise/pattrns"
version = "0.9.3"
[dependencies]
lazy_static = { version = "^1.4" }
paste = { version = "^1.0" }
derive_more = { version = "^2.0", default-features = false, features = [
"display",
"from",
"into",
] }
log = { version = "^0.4" }
rand = { version = "^0.9", features = ["thread_rng"], default-features = false }
rand_xoshiro = { version = "^0.7" }
num-rational = { version = "^0.4", default-features = false }
num-traits = { version = "^0.2", default-features = false }
pest = { version = "^2.7", default-features = false }
pest_derive = { version = "^2.7" }
# optional -> dhat-profiler
dhat = { version = "^0.3", optional = true }
# optional -> scripting
mlua = { version = "^0.11", features = [
"error-send",
"vendored",
], optional = true }
# optional -> player
crossbeam-channel = { version = "^0.5", default-features = false, optional = true }
dashmap = { version = "^6.1", optional = true }
phonic = { version = "^0.11", default-features = false, optional = true }
# dev dependencies
[target.'cfg(not(target_family = "wasm"))'.dev-dependencies]
pretty_assertions = { version = "^1.4" }
notify = { version = "^8.0", default-features = false, features = ["macos_fsevent"] }
ctrlc = { version = "^3.4" }
criterion = { version = "^0.7", default-features = false }
simplelog = { version = "^0.12", default-features = false, features = [
"termcolor",
] }
# enable debug symbols in all builds
[profile.dev]
debug = "full"
[profile.bench]
debug = "full"
[profile.release]
debug = "full"
[features]
# enables profiling in examples
dhat-profiler = ["dhat"]
# example player implementation
player = ["crossbeam-channel", "dashmap", "phonic"]
# example player's audio output driver
web-output = ["phonic/web-output"]
cpal-output = ["phonic/cpal-output"]
# lua scripting
scripting = ["mlua"]
# lua scripting interpreter backends (mutually exclusive)
# all featured interpreters should be compatible with lua51
lua = ["mlua/lua51"]
lua-jit = ["mlua/luajit"]
luau = ["mlua/luau"]
luau-jit = ["mlua/luau-jit"]
# default features enable scripting with a luaJIT interpreter
default = ["scripting", "lua-jit"]
[package.metadata.docs.rs]
no-default-features = true
features = ["scripting", "lua-jit", "player", "cpal-output"]
[lib]
bench = false
[[bench]]
name = "benches"
harness = false
[[example]]
name = "play"
required-features = ["player", "cpal-output"]
[[example]]
name = "play-script"
required-features = ["scripting", "player", "cpal-output"]