# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.76" name = "cobalt-bin" version = "0.19.6" build = false exclude = [ ".gitignore", "CHANGELOG.md", "CONTRIBUTING.md", "release.toml", "typos.toml", "committed.toml", "docs/**", ".github/**", "tests/**", "benches/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Static site generator written in Rust" readme = "README.md" keywords = [ "static", "site", "generator", ] categories = ["command-line-utilities"] license = "MIT" repository = "https://github.com/cobalt-org/cobalt.rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" min = 1 replace = "{{version}}" search = "Unreleased" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = "...{{tag_name}}" search = '\.\.\.HEAD' [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" min = 1 replace = "{{date}}" search = "ReleaseDate" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ ## [Unreleased] - ReleaseDate """ search = "" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "CHANGELOG.md" replace = """ [Unreleased]: https://github.com/cobalt-org/cobalt.rs/compare/{{tag_name}}...HEAD""" search = "" [profile.dev] panic = "abort" [profile.release] codegen-units = 1 panic = "abort" [lib] name = "cobalt" path = "src/lib.rs" [[bin]] name = "cobalt" path = "src/bin/cobalt/main.rs" doc = false [dependencies.anstream] version = "0.6.13" [dependencies.anstyle] version = "1.0.7" [dependencies.anyhow] version = "1.0.82" [dependencies.chrono] version = "0.4.38" [dependencies.clap] version = "4.5" features = [ "derive", "wrap_help", ] [dependencies.clap-verbosity-flag] version = "2.2" [dependencies.cobalt-config] version = "=0.19.4" features = ["unstable"] [dependencies.cobalt-core] version = "=0.19.4" features = ["unstable"] [dependencies.colorchoice] version = "1.0.0" [dependencies.colorchoice-clap] version = "1.0.3" [dependencies.deunicode] version = "1.4.4" [dependencies.dunce] version = "1.0.4" [dependencies.engarde] version = "0.1" [dependencies.env_logger] version = "0.11" [dependencies.file-serve] version = "0.3.5" optional = true [dependencies.html-minifier] version = "3.0" optional = true [dependencies.human-panic] version = "2" [dependencies.ignore] version = "0.4" [dependencies.itertools] version = "0.13" [dependencies.jsonfeed] version = "0.2" [dependencies.lazy_static] version = "1.4" [dependencies.liquid] version = "0.26" [dependencies.liquid-core] version = "0.26" [dependencies.liquid-lib] version = "0.26" features = [ "jekyll", "shopify", "extra", ] [dependencies.log] version = "0.4" [dependencies.normalize-line-endings] version = "0.3.0" [dependencies.notify] version = "6" features = ["macos_fsevent"] optional = true default-features = false [dependencies.open] version = "5" [dependencies.proc-exit] version = "2" [dependencies.pulldown-cmark] version = "0.11" features = ["html"] default-features = false [dependencies.regex] version = "1.10" [dependencies.relative-path] version = "1" features = ["serde"] [dependencies.rss] version = "2.0" [dependencies.sass-rs] version = "0.2" optional = true [dependencies.scrawl] version = "2.0" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0" [dependencies.serde_yaml] version = "0.9" [dependencies.sitemap] version = "0.4" [dependencies.tempfile] version = "3.10" [dependencies.time] version = "0.3" [dependencies.toml] version = "0.8.12" [dependencies.walkdir] version = "2.5" [dev-dependencies.snapbox] version = "0.6.5" features = ["diff"] [dev-dependencies.trycmd] version = "0.15" [features] default = [ "syntax-highlight", "sass", "serve", "html-minifier", ] preview_unstable = ["cobalt-config/preview_unstable"] sass = ["sass-rs"] serve = [ "file-serve", "notify", ] syntax-highlight = ["engarde/syntax"] unstable = [] [lints.clippy] assigning_clones = "allow" bool_assert_comparison = "allow" branches_sharing_code = "allow" checked_conversions = "warn" collapsible_else_if = "allow" create_dir = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" doc_markdown = "warn" empty_enum = "warn" enum_glob_use = "warn" expl_impl_clone_on_copy = "warn" explicit_deref_methods = "warn" explicit_into_iter_loop = "warn" fallible_impl_from = "warn" filter_map_next = "warn" flat_map_option = "warn" float_cmp_const = "warn" fn_params_excessive_bools = "warn" from_iter_instead_of_collect = "warn" if_same_then_else = "allow" implicit_clone = "warn" imprecise_flops = "warn" inconsistent_struct_constructor = "warn" inefficient_to_string = "warn" infinite_loop = "warn" invalid_upcast_comparisons = "warn" large_digit_groups = "warn" large_stack_arrays = "warn" large_types_passed_by_value = "warn" let_and_return = "allow" linkedlist = "warn" lossy_float_literal = "warn" macro_use_imports = "warn" mem_forget = "warn" mutex_integer = "warn" needless_continue = "warn" needless_for_each = "warn" negative_feature_names = "warn" path_buf_push_overwrite = "warn" ptr_as_ptr = "warn" rc_mutex = "warn" redundant_feature_names = "warn" ref_option_ref = "warn" rest_pat_in_fully_bound_structs = "warn" same_functions_in_if_condition = "warn" self_named_module_files = "warn" semicolon_if_nothing_returned = "warn" string_add_assign = "warn" string_lit_as_bytes = "warn" todo = "warn" trait_duplication_in_bounds = "warn" verbose_file_reads = "warn" zero_sized_map_values = "warn" [lints.rust] unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" [lints.rust.rust_2018_idioms] level = "warn" priority = -1