mirror of
https://github.com/enso-org/enso.git
synced 2024-12-26 02:41:41 +03:00
1f8675a031
Fixes #7468 The fix is pretty simple: we reuse the existing functionality for importing stuff and generating expressions. It fixes issues with `Nothing` or `Report_Unmatched` types. https://github.com/enso-org/enso/assets/6566674/4e7addf9-2175-4f2a-a571-4ef823de5cb0 While debugging, I found it easier to work with a suggestion database when exported to some external format. Hence, I implemented serde serialization support for database entries and also a new debug shortcut <kbd>ctrl</kbd>+<kbd>shift</kbd>+<kbd>u</kbd> to dump all entries to the console.
33 lines
1.2 KiB
TOML
33 lines
1.2 KiB
TOML
[package]
|
|
name = "enso-suggestion-database"
|
|
version = "0.1.0"
|
|
authors = ["Enso Team <contact@enso.org>"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "rlib"]
|
|
|
|
[dependencies]
|
|
enso-prelude = { path = "../../../lib/rust/prelude" }
|
|
enso-doc-parser = { path = "../../../lib/rust/parser/doc-parser" }
|
|
convert_case = { workspace = true }
|
|
span-tree = { path = "../language/span-tree" }
|
|
ast = { path = "../language/ast/impl" }
|
|
parser = { path = "../language/parser" }
|
|
enso-profiler = { path = "../../../lib/rust/profiler" }
|
|
enso-text = { path = "../../../lib/rust/text" }
|
|
double-representation = { path = "../controller/double-representation" }
|
|
engine-protocol = { path = "../controller/engine-protocol" }
|
|
enso-data-structures = { path = "../../../lib/rust/data-structures" }
|
|
ensogl-icons = { path = "../../../lib/rust/ensogl/component/icons" }
|
|
flo_stream = { version = "0.4.0" }
|
|
failure = { workspace = true }
|
|
enso-notification = { path = "../../../lib/rust/notification" }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
|
|
[dev-dependencies]
|
|
futures = { workspace = true }
|
|
enso-executor = { path = "../../../lib/rust/executor" }
|
|
wasm-bindgen-test = { workspace = true }
|