[package] name = "product-os-h2" version = "0.0.2" # version - The version of the package. authors = ["Jeremy de Oliveira-Kumar "] # authors - The authors of the package. edition = "2021" # edition - The Rust edition. 2021 rust-version = "1.69" # rust-version - The minimal supported Rust version. min 1.69 description = "Product OS : H2 is a derivative of the h2 crate restructured for both std and no_std environments." # description - A description of the package. # documentation = "" # documentation - URL of the package documentation. readme = "readme.md" # readme - Path to the package’s README file. Use https://www.makeareadme.com/ # homepage = "" # homepage - URL of the package homepage. # repository = "" # repository - URL of the package source repository. license = "AGPL-3.0-only" # license - The package license. # license-file = "license.txt" # license-file - Path to the text of the license. Use https://choosealicense.com/ keywords = ["product-os"] # keywords - Keywords for the package. categories = [] # categories - Categories of the package. https://crates.io/category_slugs # workspace = "" # workspace - Path to the workspace for the package. build = false # build - Path to the package build script. default "build.rs" or specify # links = "" # links - Name of the native library the package links with. exclude = [] # exclude - Files to exclude when publishing. include = [] # include - Files to include when publishing. # publish = [] # publish - Can be used to prevent publishing the package. false to prevent publish, list of registries otherwise # default-run = "" # default-run - The default binary to run by cargo run. autobins = true # autobins - Disables binary auto discovery. autoexamples = true # autoexamples - Disables example auto discovery. autotests = true # autotests - Disables test auto discovery. autobenches = true # autobenches - Disables bench auto discovery. resolver = "2" # resolver - Sets the dependency resolver to use. Use 2 with 2021, 1 prior [dependencies] no-std-compat = { version = "0.4.1", features = ["alloc"], optional = false } core-error = { version = "0.0.1-rc4", features = [], default-features = false, optional = false } pin-project-lite = { version = "0.2.11", features = [], default-features = false, optional = false } spin = { version = "0.9.8", features = ["mutex", "spin_mutex"], default-features = false, optional = false } indexmap-nostd = { version = "0.4.0", features = [], default-features = false, optional = false } chrono = { version = "0.4.19", features = [], default-features = false, optional = false } tracing = { version = "0.1.29", features = [], default-features = false, optional = false } bytes = { version = "1.5.0", features = [], default-features = false, optional = false } futures-core = { version = "0.3", features = ["alloc"], default-features = false, optional = false } futures-util = { version = "0.3", features = ["alloc"], default-features = false, optional = false } futures-sink = { version = "0.3", features = ["alloc"], default-features = false, optional = false } tokio-util = { version = "0.7.1", features = ["codec", "io"], default-features = false, optional = true } tokio = { version = "1", features = ["io-util"], default-features = false, optional = true } slab = { version = "0.4.2", features = [], default-features = false, optional = false } h2 = { version = "0.4.0", features = [], default-features = false, optional = true } product-os-security = { version = ">= 0.0.1", features = ["hasher"], default-features = false, optional = false } product-os-async-executor = { version = ">= 0.0.1", features = ["moment"], default-features = false, optional = false } product-os-http = { version = ">= 0.0.1", features = [], default-features = false, optional = false } product-os-cursor = { version = ">= 0.0.1", features = [], default-features = false, optional = false } [patch.crates-io] product-os-security = { path = "../product-os-security", features = ["hasher"], default-features = false, optional = false } product-os-async-executor = { path = "../product-os-async-executor", features = ["moment"], default-features = false, optional = false } product-os-http = { path = "../product-os-http", features = [], default-features = false, optional = false } product-os-cursor = { path = "../product-os-cursor", features = [], default-features = false, optional = false } [features] default = ["std"] std = ["no-std-compat/std", "h2"] stream = [] [workspace]