mirror of
https://github.com/cberner/raptorq.git
synced 2024-06-30 02:31:48 +00:00
5a720829fa
* feat: support no_std `metal` feature supports `no_std` in configuration `default-features = false, features = ["metal"]`. Float calculation is done via `micromath` crate. All previously available functionality remains under default `std` feature. Some tweaking of `python` and `wasm` features was done to compile tests. * feat: get rid of floats (#2) * feat: remove conversion to f64, fix features * chore: uncomment symbols_required checker, fmt * revert: add cdylib target for python support * fix: generalize crate type --------- Co-authored-by: varovainen <99664267+varovainen@users.noreply.github.com>
71 lines
1.6 KiB
TOML
71 lines
1.6 KiB
TOML
[package]
|
|
name = "raptorq"
|
|
description = "RaptorQ (RFC6330)"
|
|
license = "Apache-2.0"
|
|
homepage = "https://github.com/cberner/raptorq"
|
|
repository = "https://github.com/cberner/raptorq"
|
|
readme = "README.md"
|
|
version = "1.7.0"
|
|
edition = "2021"
|
|
rust-version = "1.60"
|
|
authors = ["Christopher Berner <christopherberner@gmail.com>"]
|
|
|
|
[lib]
|
|
crate-type = ["lib"]
|
|
|
|
[dependencies]
|
|
serde = {version = "1.0.102", features=["std", "derive"], optional = true}
|
|
pyo3 = {version = "0.16", features=["extension-module", "abi3-py37"], optional = true }
|
|
wasm-bindgen = {version = "0.2", optional = true}
|
|
js-sys = {version = "0.3.60", optional = true}
|
|
|
|
[dev-dependencies]
|
|
criterion = "0.3"
|
|
primal = "0.3"
|
|
rand = "0.8"
|
|
threadpool = "1.7"
|
|
|
|
[[bench]]
|
|
name = "codec_benchmark"
|
|
harness = false
|
|
required-features = ["benchmarking"]
|
|
|
|
[[bench]]
|
|
name = "matrix_sparsity"
|
|
harness = false
|
|
required-features = ["benchmarking"]
|
|
|
|
[[bench]]
|
|
name = "encode_benchmark"
|
|
harness = false
|
|
|
|
[[bench]]
|
|
name = "decode_benchmark"
|
|
harness = false
|
|
|
|
[[example]]
|
|
name = "main"
|
|
required-features = ["std"]
|
|
|
|
[profile.release]
|
|
debug = true
|
|
lto = false
|
|
|
|
[features]
|
|
default = ["std"]
|
|
|
|
benchmarking = ["std"]
|
|
python = ["pyo3", "std"]
|
|
serde_support = ["serde", "std"]
|
|
std = []
|
|
wasm = ["wasm-bindgen", "js-sys", "std"]
|
|
|
|
[package.metadata.maturin]
|
|
requires-python = ">= 3.7"
|
|
classifier = ["Development Status :: 4 - Beta",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Rust"]
|