fluxgate 1.0.0

Client for the FluxGate feature toggle edge server, over OFREP, with an optional OpenFeature provider
Documentation
# 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"
rust-version = "1.85"
name = "fluxgate"
version = "1.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for the FluxGate feature toggle edge server, over OFREP, with an optional OpenFeature provider"
homepage = "https://github.com/forgeopslabs/fluxgate-rust"
documentation = "https://docs.rs/fluxgate"
readme = "README.md"
keywords = [
    "feature-flags",
    "feature-toggles",
    "openfeature",
    "ofrep",
    "fluxgate",
]
categories = [
    "web-programming::http-client",
    "config",
]
license = "Apache-2.0"
repository = "https://github.com/forgeopslabs/fluxgate-rust"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
blocking = ["tokio/rt-multi-thread"]
default = ["rustls"]
native-tls = ["reqwest/native-tls"]
openfeature = [
    "dep:open-feature",
    "dep:time",
]
rustls = ["reqwest/rustls"]

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

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

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

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

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

[dependencies.open-feature]
version = "0.3"
optional = true

[dependencies.reqwest]
version = "0.13"
features = [
    "http2",
    "system-proxy",
]
default-features = false

[dependencies.serde]
version = "1.0.200"

[dependencies.serde_json]
version = "1.0.116"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3.36"
features = ["formatting"]
optional = true

[dependencies.tokio]
version = "1.40"
features = [
    "rt",
    "sync",
    "time",
]

[dev-dependencies.time]
version = "0.3.36"
features = ["macros"]

[dev-dependencies.tokio]
version = "1.40"
features = [
    "macros",
    "rt-multi-thread",
    "test-util",
]

[dev-dependencies.wiremock]
version = "0.6"