# 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 = "2018" name = "binary_sv2" version = "1.2.0" authors = ["fi3 "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Sv2 data format" readme = "README.md" license = "MIT" repository = "https://github.com/stratum-mining/stratum" resolver = "2" [lib] name = "binary_sv2" path = "src/lib.rs" [dependencies.binary_codec_sv2] version = "^1.0.0" optional = true [dependencies.derive_codec_sv2] version = "^1.0.0" optional = true [dependencies.serde] version = "1.0.89" features = [ "derive", "alloc", ] optional = true default-features = false [dependencies.serde_sv2] version = "^1.0.0" optional = true [dependencies.tracing] version = "0.1" [features] core = [ "binary_codec_sv2", "derive_codec_sv2", ] default = ["core"] prop_test = [ "binary_codec_sv2/prop_test", "derive_codec_sv2", ] with_buffer_pool = [ "binary_codec_sv2/with_buffer_pool", "derive_codec_sv2", ] with_serde = [ "serde_sv2", "serde", ]