[package]
edition = "2021"
name = "typebit"
version = "0.1.3"
authors = ["blueokanna, HyphenTeam"]
build = false
include = [
"src/**",
"README.md",
"LICENSE",
"docs/**",
"examples/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A universal download engine for torrent with provable-download receipts and a semantic utility scheduler."
homepage = "https://github.com/blueokanna/TypeBit"
readme = "README.md"
keywords = [
"bittorrent",
"p2p",
"rust-core",
"ed2k",
"downloader",
]
categories = [
"network-programming",
"cryptography",
"web-programming::http-client",
]
license-file = "LICENSE"
repository = "https://github.com/blueokanna/TypeBit"
[features]
default = []
ffi = ["std"]
std = [
"nextjson/std",
"tzcraft/std",
"courierust/std",
"socket2",
]
[lib]
name = "typebit"
path = "src/lib.rs"
[[example]]
name = "ffi_demo"
path = "examples/ffi_demo.rs"
required-features = ["ffi"]
[[example]]
name = "minimal_host"
path = "examples/minimal_host.rs"
[[example]]
name = "parse_links"
path = "examples/parse_links.rs"
[dependencies.courierust]
version = "1.0"
default-features = false
[dependencies.nextjson]
version = "0.1"
features = ["derive"]
default-features = false
[dependencies.rustbinary]
version = "0.1.7"
features = ["alloc"]
default-features = false
[dependencies.socket2]
version = "0.6.5"
optional = true
[dependencies.tzcraft]
version = "0.1"
default-features = false
[profile.release]
opt-level = 3
lto = "thin"
codegen-units = 1