<commit_before>[package]
name = "stencila"
version = "1.0.4"
authors = ["Stencila <<EMAIL>>"]
edition = "2021"

[features]

cli = ["cli-utils", "structopt", "exitcode"]
cli-pretty = ["cli-utils/pretty"]
cli-progress = ["cli-utils/progress"]
cli-interact = ["cli-utils/interact"]

# These features are needed for use in `cfg` attributes
# because features of dependencies e.g `codecs/cli` are
# not recognised there (it needs to be a feature of this crate)
codecs-cli = ["codecs/cli"]
parsers-cli = ["parsers/cli"]
kernels-cli = ["kernels/cli"]
binaries-cli = ["binaries/cli"]

server = [
  "jsonwebtoken",
  "portpicker",
  "rust-embed",
  "sudo",
  "warp",
  "webbrowser",
  "key-utils",
  "tokio-stream",
  "urlencoding",
]

upgrade = ["self_update"]

default = [
  # CLI
  "cli",
  "cli-progress",
  "cli-pretty",
  "cli-interact",

  # Codecs
  "codecs-cli",
  "codecs/codec-date",
  "codecs/codec-docx",
  "codecs/codec-html",
  "codecs/codec-ipynb",
  "codecs/codec-json",
  "codecs/codec-json5",
  "codecs/codec-latex",
  "codecs/codec-md",
  "codecs/codec-pandoc",
  "codecs/codec-pdf",
  "codecs/codec-person",
  "codecs/codec-png",
  "codecs/codec-rmd",
  "codecs/codec-rpng",
  "codecs/codec-toml",
  "codecs/codec-txt",
  "codecs/codec-yaml",

  # Parsers
  "parsers-cli",
  "parsers/parser-bash",
  "parsers/parser-calc",
  "parsers/parser-js",
  "parsers/parser-py",
  "parsers/parser-r",
  "parsers/parser-rust",
  "parsers/parser-ts",

  # Kernels
  "kernels-cli",
  "kernels/kernel-bash",
  "kernels/kernel-calc",
  "kernels/kernel-deno",
  "kernels/kernel-jupyter",
  "kernels/kernel-node",
  "kernels/kernel-python",
  "kernels/kernel-r",
  "kernels/kernel-store",
  "kernels/kernel-zsh",

  # Binaries
  "binaries-cli",
  "binaries/binary-chrome",
  "binaries/binary-chromium",
  "binaries/binary-node",
  "binaries/binary-pandoc",
  "binaries/binary-python",
  "binaries/binary-rscript",

  # Server & upgrade
  "server",
  "upgrade"
]

[dependencies]

# Required external crates

async-recursion = "1.0.0"
async-trait = "0.1.52"
chrono = { version = "=0.4.19", features = ["serde"] }
crossbeam-channel = "0.5.2"
defaults = "=0.2.0"
derivative = "=2.2.0"
derive_more = "=0.99.17"
dirs-next = "=2.0.0"
enum_dispatch = "=0.3.7"
eyre = "=0.6.5"
futures = "=0.3.19"
gitignore = "=1.0.7"
glob = "=0.3.0"
handlebars = "4.2.0"
humantime = "=2.1.0"
ignore = "=0.4.18"
itertools = "=0.10.3"
maplit = "=1.0.2"
mime_guess = "=2.0.3"
notify = "=4.0.17"
once_cell = "1.9.0"
path-slash = "=0.1.4"
pathdiff = "=0.2.1"
regex = "=1.5.4"
schemars = { version = "=0.8.8", features = ["preserve_order", "chrono"] }
serde = { version = "1.0.130", features = ["derive", "rc"] }
serde_json = { version = "1.0.75", features = ["preserve_order"] }
serde_with = "=1.11.0"
serde_yaml = "0.8.23"
slug = "=0.1.4"
stencila-schema = { path = "../schema" }
strum = { version = "=0.23.0", features = ["derive"] }
strum_macros = "=0.23.1"
thiserror = "=1.0.30"
tokio = { version = "1.13.0", features = ["full"] }
toml = "=0.5.8"
tracing = "=0.1.29"
tracing-appender = "=0.2.0"
tracing-error = "=0.2.0"
tracing-serde = "=0.1.2"
tracing-subscriber = { version = "=0.3.6", features = ["env-filter", "json"] }
url = "=2.2.2"
validator = { version = "=0.14.0", features = ["derive"] }

# Required internal crates<commit_msg>fix(dependencies): update rust crate handlebars to 4.2.1<commit_after>[package]
name = "stencila"
version = "1.0.4"
authors = ["Stencila <<EMAIL>>"]
edition = "2021"

[features]

cli = ["cli-utils", "structopt", "exitcode"]
cli-pretty = ["cli-utils/pretty"]
cli-progress = ["cli-utils/progress"]
cli-interact = ["cli-utils/interact"]

# These features are needed for use in `cfg` attributes
# because features of dependencies e.g `codecs/cli` are
# not recognised there (it needs to be a feature of this crate)
codecs-cli = ["codecs/cli"]
parsers-cli = ["parsers/cli"]
kernels-cli = ["kernels/cli"]
binaries-cli = ["binaries/cli"]

server = [
  "jsonwebtoken",
  "portpicker",
  "rust-embed",
  "sudo",
  "warp",
  "webbrowser",
  "key-utils",
  "tokio-stream",
  "urlencoding",
]

upgrade = ["self_update"]

default = [
  # CLI
  "cli",
  "cli-progress",
  "cli-pretty",
  "cli-interact",

  # Codecs
  "codecs-cli",
  "codecs/codec-date",
  "codecs/codec-docx",
  "codecs/codec-html",
  "codecs/codec-ipynb",
  "codecs/codec-json",
  "codecs/codec-json5",
  "codecs/codec-latex",
  "codecs/codec-md",
  "codecs/codec-pandoc",
  "codecs/codec-pdf",
  "codecs/codec-person",
  "codecs/codec-png",
  "codecs/codec-rmd",
  "codecs/codec-rpng",
  "codecs/codec-toml",
  "codecs/codec-txt",
  "codecs/codec-yaml",

  # Parsers
  "parsers-cli",
  "parsers/parser-bash",
  "parsers/parser-calc",
  "parsers/parser-js",
  "parsers/parser-py",
  "parsers/parser-r",
  "parsers/parser-rust",
  "parsers/parser-ts",

  # Kernels
  "kernels-cli",
  "kernels/kernel-bash",
  "kernels/kernel-calc",
  "kernels/kernel-deno",
  "kernels/kernel-jupyter",
  "kernels/kernel-node",
  "kernels/kernel-python",
  "kernels/kernel-r",
  "kernels/kernel-store",
  "kernels/kernel-zsh",

  # Binaries
  "binaries-cli",
  "binaries/binary-chrome",
  "binaries/binary-chromium",
  "binaries/binary-node",
  "binaries/binary-pandoc",
  "binaries/binary-python",
  "binaries/binary-rscript",

  # Server & upgrade
  "server",
  "upgrade"
]

[dependencies]

# Required external crates

async-recursion = "1.0.0"
async-trait = "0.1.52"
chrono = { version = "=0.4.19", features = ["serde"] }
crossbeam-channel = "0.5.2"
defaults = "=0.2.0"
derivative = "=2.2.0"
derive_more = "=0.99.17"
dirs-next = "=2.0.0"
enum_dispatch = "=0.3.7"
eyre = "=0.6.5"
futures = "=0.3.19"
gitignore = "=1.0.7"
glob = "=0.3.0"
handlebars = "4.2.1"
humantime = "=2.1.0"
ignore = "=0.4.18"
itertools = "=0.10.3"
maplit = "=1.0.2"
mime_guess = "=2.0.3"
notify = "=4.0.17"
once_cell = "1.9.0"
path-slash = "=0.1.4"
pathdiff = "=0.2.1"
regex = "=1.5.4"
schemars = { version = "=0.8.8", features = ["preserve_order", "chrono"] }
serde = { version = "1.0.130", features = ["derive", "rc"] }
serde_json = { version = "1.0.75", features = ["preserve_order"] }
serde_with = "=1.11.0"
serde_yaml = "0.8.23"
slug = "=0.1.4"
stencila-schema = { path = "../schema" }
strum = { version = "=0.23.0", features = ["derive"] }
strum_macros = "=0.23.1"
thiserror = "=1.0.30"
tokio = { version = "1.13.0", features = ["full"] }
toml = "=0.5.8"
tracing = "=0.1.29"
tracing-appender = "=0.2.0"
tracing-error = "=0.2.0"
tracing-serde = "=0.1.2"
tracing-subscriber = { version = "=0.3.6", features = ["env-filter", "json"] }
url = "=2.2.2"
validator = { version = "=0.14.0", features = ["derive"] }

# Required internal crates
{'fraction_non_alphanumeric': 0.21983471074380165, 'fraction_numerical': 0.0464312546957175, 'mean_word_length': 3.68402533427164, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7427278', 'n_tokens_mistral': 2975, 'n_tokens_neox': 2908, 'n_words': 499}