# 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"
name = "fountain_scheme"
version = "1.2.0"
authors = ["Shenghao Yang"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Configurable fountain code schemes built on fountain_engine"
documentation = "https://shhyang.github.io/fountain_docs/"
readme = "README.md"
keywords = [
    "fountain-code",
    "erasure-coding",
    "LT-code",
    "LDPC",
]
categories = [
    "algorithms",
    "encoding",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/shhyang/fountain_scheme"

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

[[example]]
name = "hdpc_lt"
path = "examples/hdpc_lt.rs"

[[example]]
name = "ldpc_lt"
path = "examples/ldpc_lt.rs"

[[example]]
name = "lt"
path = "examples/lt.rs"

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

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

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

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

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

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

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

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

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

[dependencies.fountain_engine]
version = "1.3"

[dependencies.fountain_utility]
version = "1.2"

[dev-dependencies.rand]
version = "0.8.5"

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

[lints.clippy]
cloned_ref_to_slice_refs = "allow"
needless_range_loop = "allow"
