# 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.75" name = "windowed-infinity" version = "0.1.7" authors = ["chrysn "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A data structure representing an infinite sequentially writable u8 vector of which a small view has writes to it preserved. This is primarily useful when implementing CoAP block-wise transfers, and also convenient for logging on constrained devices." documentation = "https://docs.rs/windowed-infinity/" readme = "README.md" categories = ["no-std::no-alloc"] license = "MIT OR Apache-2.0" repository = "https://gitlab.com/chrysn/windowed-infinity" [package.metadata.docs.rs] all-features = true [lib] name = "windowed_infinity" path = "src/lib.rs" [[example]] name = "demo" path = "examples/demo.rs" [[example]] name = "hashing" path = "examples/hashing.rs" [dependencies.ciborium-io] version = "0.2" optional = true default-features = false [dependencies.crc] version = "3.0" [dependencies.digest] version = "0.10" [dependencies.embedded-io] version = "0.4" default-features = false [dependencies.embedded_io_0_6] version = "0.6" optional = true package = "embedded-io" [dependencies.embedded_io_async_0_6] version = "0.6" optional = true package = "embedded-io-async" [dependencies.minicbor] version = ">= 0.12, < 0.16" optional = true default-features = false [dependencies.minicbor_0_19] version = "0.19" optional = true default-features = false package = "minicbor" [dependencies.minicbor_0_24] version = "0.24.4" optional = true default-features = false package = "minicbor" [dependencies.minicbor_0_25] version = "0.25.0" optional = true default-features = false package = "minicbor" [dependencies.serde] version = "^1" optional = true default-features = false [dependencies.serde_cbor] version = "0.11" features = ["unsealed_read_write"] optional = true default-features = false [dev-dependencies.ciborium-ll] version = "0.2" default-features = false [dev-dependencies.tokio] version = "1.24.2" features = [ "macros", "rt-multi-thread", ] [features] std = [] with_ciborium = ["ciborium-io"] with_embedded_io_0_4 = [] with_embedded_io_0_6 = ["embedded_io_0_6"] with_embedded_io_async_0_6 = [ "embedded_io_async_0_6", "embedded_io_0_6", ] with_minicbor = ["minicbor"] with_minicbor_0_19 = ["minicbor_0_19"] with_minicbor_0_24 = ["minicbor_0_24"] with_minicbor_0_25 = ["minicbor_0_25"] with_serde_cbor = [ "serde_cbor", "serde", ] [badges.gitlab] repository = "chrysn/windowed-infinity"