[package]
edition = "2021"
name = "cooklang-import"
version = "0.9.9"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "cooklang-import"
description = "A tool for importing recipes into Cooklang format"
homepage = "https://github.com/cooklang/cooklang-import"
documentation = "https://docs.rs/cooklang-import"
readme = "README.md"
license = "MIT"
repository = "https://github.com/cooklang/cooklang-import"
[features]
default = []
uniffi = ["dep:uniffi"]
uniffi-cli = [
"uniffi",
"uniffi/cli",
]
[lib]
name = "cooklang_import"
crate-type = [
"lib",
"cdylib",
"staticlib",
]
path = "src/lib.rs"
[[bin]]
name = "cooklang-import"
path = "src/main.rs"
[[bin]]
name = "uniffi-bindgen"
path = "uniffi-bindgen.rs"
required-features = ["uniffi-cli"]
[[example]]
name = "builder_advanced"
path = "examples/builder_advanced.rs"
[[example]]
name = "builder_basic"
path = "examples/builder_basic.rs"
[[example]]
name = "debug_seriouseats"
path = "examples/debug_seriouseats.rs"
[[example]]
name = "simple_api"
path = "examples/simple_api.rs"
[[test]]
name = "json_ld_metadata_test"
path = "tests/json_ld_metadata_test.rs"
[[test]]
name = "test_array_fields"
path = "tests/test_array_fields.rs"
[[test]]
name = "test_author_id_only"
path = "tests/test_author_id_only.rs"
[[test]]
name = "test_builder_api"
path = "tests/test_builder_api.rs"
[[test]]
name = "test_case_insensitive_type"
path = "tests/test_case_insensitive_type.rs"
[[test]]
name = "test_cloudflare_bypass"
path = "tests/test_cloudflare_bypass.rs"
[[test]]
name = "test_download_mode"
path = "tests/test_download_mode.rs"
[[test]]
name = "test_edge_cases"
path = "tests/test_edge_cases.rs"
[[test]]
name = "test_german_recipe"
path = "tests/test_german_recipe.rs"
[[test]]
name = "test_html_class_extractor"
path = "tests/test_html_class_extractor.rs"
[[test]]
name = "test_microdata"
path = "tests/test_microdata.rs"
[[test]]
name = "test_missing_ingredients"
path = "tests/test_missing_ingredients.rs"
[[test]]
name = "test_natashaskitchen_example"
path = "tests/test_natashaskitchen_example.rs"
[[test]]
name = "test_no_instructions"
path = "tests/test_no_instructions.rs"
[[test]]
name = "test_page_scriber_routing"
path = "tests/test_page_scriber_routing.rs"
[[test]]
name = "test_real_world"
path = "tests/test_real_world.rs"
[dependencies.async-trait]
version = "0.1.83"
[dependencies.base64]
version = "0.22"
[dependencies.config]
version = "0.14"
features = ["toml"]
default-features = false
[dependencies.env_logger]
version = "0.11"
default-features = false
[dependencies.html-escape]
version = "0.2"
[dependencies.log]
version = "0.4"
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"rustls-tls-webpki-roots",
]
default-features = false
[dependencies.scraper]
version = "0.20"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"fs",
]
[dependencies.uniffi]
version = "0.28"
optional = true
[dependencies.whatlang]
version = "0.16"
[dev-dependencies.mockito]
version = "1.5.0"
[dev-dependencies.tokio]
version = "1.0"
features = [
"rt-multi-thread",
"macros",
"test-util",
]
[build-dependencies.uniffi]
version = "0.28"
features = ["build"]
optional = true
[profile.release]
opt-level = "z"
panic = "abort"