[package] name = "mdbook-angular" version = "0.4.0" edition = "2021" authors = ["Bram Gotink "] license = "EUPL-1.2" description = "mdbook renderer to run angular code samples" repository = "https://github.com/bgotink/mdbook-angular" keywords = ["mdbook", "angular"] categories = ["text-processing"] exclude = ["node_modules", ".husky", ".vscode", ".prettier*"] [[bin]] name = "mdbook-angular" doc = false [dependencies] # Disable colored logging, we run through mdbook which means env_logger doesn't # detect a TTY anyway env_logger = { version = "0.11.5", default-features = false } log = { version = "0.4.22", features = ["std"] } # Disable the watch and serve features, we only use mdbook as a library mdbook = { version = "0.4.40", default-features = false, features = ["search"] } # Disable unicode features, we don't need them regex = { version = "1.11.0", default-features = false, features = [ "std", "perf", ] } serde_json = "1.0.128" serde = { version = "1.0.210", features = ["derive"] } toml = "0.5.11" # We use pulldown-cmark to mutate markdown, not to render HTML pulldown-cmark = { version = "0.10.0", default-features = false } pulldown-cmark-to-cmark = "14.0.0" pathdiff = "0.2.1" anyhow = "1.0.89" once_cell = "1.20.2" swc_core = { version = "0.106.4", features = [ "common", "ecma_parser_typescript", "ecma_ast", ] } chrono = { version = "0.4.38", default-features = false, features = ["clock"] } semver = "1.0.23" handlebars = "5.0" [target.'cfg(unix)'.dependencies] libc = { version = "0.2.159", optional = true } [features] default = ["background"] background = ["dep:libc"] [dev-dependencies] assert_cmd = "2.0.16" copy_dir = "0.1.3" select = "0.6.0" tempfile = "3.13.0"