2020-06-16 19:18:11 +03:00
|
|
|
[workspace]
|
|
|
|
|
|
|
|
members = [
|
2020-08-13 15:23:01 +03:00
|
|
|
"lib/rust/ast",
|
2020-09-09 16:37:26 +03:00
|
|
|
"lib/rust/launcher-shims",
|
2020-08-27 15:27:22 +03:00
|
|
|
"lib/rust/lexer/definition",
|
|
|
|
"lib/rust/lexer/generation",
|
2020-08-14 12:10:52 +03:00
|
|
|
"lib/rust/parser",
|
2020-12-18 17:25:30 +03:00
|
|
|
"lib/rust/parser-jni",
|
2020-06-16 19:18:11 +03:00
|
|
|
]
|
|
|
|
|
2020-10-06 12:54:30 +03:00
|
|
|
# These patch versions exist to allow local development of these libraries alongside Enso. It
|
|
|
|
# assumes you have `rust-lib` in the same directory as `enso`. See:
|
|
|
|
# https://github.com/enso-org/rust-lib/blob/main/docs/CONTRIBUTING.md#developing-in-conjunction-with-enso--ide
|
|
|
|
[patch.crates-io]
|
2020-10-30 17:06:24 +03:00
|
|
|
#enso-automata = { path = '../rust-lib/src/automata' }
|
|
|
|
#enso-data = { path = '../rust-lib/src/data' }
|
|
|
|
#enso-flexer = { path = '../rust-lib/src/flexer' }
|
|
|
|
#enso-generics = { path = '../rust-lib/src/generics' }
|
|
|
|
#enso-lazy-reader = { path = '../rust-lib/src/lazy-reader' }
|
|
|
|
#enso-logger = { path = '../rust-lib/src/logger' }
|
|
|
|
#enso-macro-utils = { path = '../rust-lib/src/macro-utils' }
|
|
|
|
#enso-optics = { path = '../rust-lib/src/optics' }
|
|
|
|
#enso-prelude = { path = '../rust-lib/src/prelude' }
|
|
|
|
#enso-shapely = { path = '../rust-lib/src/shapely/impl' }
|
|
|
|
#enso-shapely-macros = { path = '../rust-lib/src/shapely/macros' }
|
2020-10-06 12:54:30 +03:00
|
|
|
|
2020-06-16 19:18:11 +03:00
|
|
|
[profile.dev]
|
2020-08-13 15:23:01 +03:00
|
|
|
opt-level = 0
|
|
|
|
lto = false
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|
2020-06-16 19:18:11 +03:00
|
|
|
|
|
|
|
[profile.release]
|
2020-08-13 15:23:01 +03:00
|
|
|
opt-level = 3
|
|
|
|
lto = true
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
2020-06-16 19:18:11 +03:00
|
|
|
|
|
|
|
[profile.bench]
|
2020-08-13 15:23:01 +03:00
|
|
|
opt-level = 3
|
|
|
|
lto = true
|
|
|
|
debug = false
|
|
|
|
debug-assertions = false
|
2020-06-16 19:18:11 +03:00
|
|
|
|
|
|
|
[profile.test]
|
2020-08-13 15:23:01 +03:00
|
|
|
opt-level = 0
|
|
|
|
lto = false
|
|
|
|
debug = true
|
|
|
|
debug-assertions = true
|