f8a59adf5e
`hir` should know nothing about URLs, markdown and html. It should only be able to: * resolve stringy path from documentation * generate canonical stringy path for a def In contrast, link rewriting should not care about semantics of paths and names resolution, and should be concern only with text mangling bits.
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "ide"
|
|
version = "0.0.0"
|
|
description = "TBD"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = ["rust-analyzer developers"]
|
|
edition = "2018"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
either = "1.5.3"
|
|
indexmap = "1.3.2"
|
|
itertools = "0.9.0"
|
|
log = "0.4.8"
|
|
rustc-hash = "1.1.0"
|
|
oorandom = "11.1.2"
|
|
pulldown-cmark-to-cmark = "5.0.0"
|
|
pulldown-cmark = {version = "0.7.2", default-features = false}
|
|
url = "2.1.1"
|
|
|
|
stdx = { path = "../stdx", version = "0.0.0" }
|
|
syntax = { path = "../syntax", version = "0.0.0" }
|
|
text_edit = { path = "../text_edit", version = "0.0.0" }
|
|
base_db = { path = "../base_db", version = "0.0.0" }
|
|
ide_db = { path = "../ide_db", version = "0.0.0" }
|
|
cfg = { path = "../cfg", version = "0.0.0" }
|
|
profile = { path = "../profile", version = "0.0.0" }
|
|
test_utils = { path = "../test_utils", version = "0.0.0" }
|
|
assists = { path = "../assists", version = "0.0.0" }
|
|
ssr = { path = "../ssr", version = "0.0.0" }
|
|
|
|
# ide should depend only on the top-level `hir` package. if you need
|
|
# something from some `hir_xxx` subpackage, reexport the API via `hir`.
|
|
hir = { path = "../hir", version = "0.0.0" }
|
|
|
|
[dev-dependencies]
|
|
expect-test = "0.1"
|