sdocx 0.7.0

Reverse-engineered tooling and SDK for converting Samsung Notes (.sdocx) files
Documentation
# 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 = "2024"
rust-version = "1.92"
name = "sdocx"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reverse-engineered tooling and SDK for converting Samsung Notes (.sdocx) files"
readme = "README.md"
license = "GPL-3.0"
repository = "https://github.com/twangodev/sdocx"
resolver = "2"

[features]
pdf = [
    "render",
    "dep:krilla",
    "dep:krilla-svg",
    "dep:usvg",
    "dep:png",
]
render = ["dep:base64"]
serde = ["dep:serde"]

[lib]
name = "sdocx"
path = "src/lib.rs"

[[example]]
name = "ink_geometry"
path = "examples/ink_geometry.rs"
required-features = [
    "render",
    "serde",
]

[[test]]
name = "archive_contracts"
path = "tests/archive_contracts.rs"

[[test]]
name = "conformance"
path = "tests/conformance.rs"

[[test]]
name = "end_tag_contracts"
path = "tests/end_tag_contracts.rs"

[[test]]
name = "formula_metadata"
path = "tests/formula_metadata.rs"

[[test]]
name = "integrity"
path = "tests/integrity.rs"

[[test]]
name = "layer_metadata"
path = "tests/layer_metadata.rs"

[[test]]
name = "math_metadata"
path = "tests/math_metadata.rs"

[[test]]
name = "media_manifest"
path = "tests/media_manifest.rs"

[[test]]
name = "note_header"
path = "tests/note_header.rs"

[[test]]
name = "note_metadata"
path = "tests/note_metadata.rs"

[[test]]
name = "object_flexible_metadata"
path = "tests/object_flexible_metadata.rs"

[[test]]
name = "object_metadata"
path = "tests/object_metadata.rs"

[[test]]
name = "page_templates"
path = "tests/page_templates.rs"

[[test]]
name = "pdf_export"
path = "tests/pdf_export.rs"

[[test]]
name = "stroke_metadata"
path = "tests/stroke_metadata.rs"

[[test]]
name = "structural_images"
path = "tests/structural_images.rs"

[[test]]
name = "structural_shapes"
path = "tests/structural_shapes.rs"

[[test]]
name = "structural_strokes"
path = "tests/structural_strokes.rs"

[[test]]
name = "structural_text_boxes"
path = "tests/structural_text_boxes.rs"

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.krilla]
version = "0.8.2"
optional = true
default-features = false

[dependencies.krilla-svg]
version = "0.8.1"
optional = true

[dependencies.png]
version = "0.18.1"
optional = true

[dependencies.serde]
version = "1.0.228"
features = ["derive"]
optional = true

[dependencies.sha2]
version = "0.10.9"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.usvg]
version = "0.47.0"
optional = true

[dependencies.zip]
version = "8.2.0"
features = ["deflate"]
default-features = false

[dev-dependencies.lopdf]
version = "0.42.0"
default-features = false

[dev-dependencies.resvg]
version = "0.47.0"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.serde_json]
version = "1.0.149"