[package]
edition = "2021"
rust-version = "1.90.0"
name = "jules-api"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "API integrations and client implementation for Jules-SDK"
homepage = "https://github.com/ArtisanXL/jules-sdk"
documentation = "https://docs.rs/jules-sdk"
readme = "README.md"
keywords = [
"jules",
"google",
"http-client",
"async",
]
categories = [
"api-bindings",
"web-programming::http-client",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ArtisanXL/jules-sdk"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
cli = ["jules-core/cli"]
default = [
"streaming",
"tools",
]
experimental = ["jules-core/experimental"]
middleware = [
"jules-core/middleware",
"dep:tokio",
]
streaming = ["jules-core/streaming"]
telemetry = ["jules-core/telemetry"]
tools = ["jules-core/tools"]
wasm = ["jules-core/wasm"]
[lib]
name = "jules_api"
path = "src/lib.rs"
[[test]]
name = "client_e2e_test"
path = "tests/client_e2e_test.rs"
[[test]]
name = "load_test"
path = "tests/load_test.rs"
[[test]]
name = "session_endpoints_test"
path = "tests/session_endpoints_test.rs"
[dependencies.jules-core]
version = "0.1.1"
[dependencies.percent-encoding]
version = "2.3.2"
[dependencies.serde]
version = "1.0.229"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.151"
[dependencies.thiserror]
version = "2.0.19"
[dev-dependencies.tokio]
version = "1.53.1"
features = [
"rt",
"macros",
]
[dev-dependencies.wasm-bindgen-test]
version = "0.3.45"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.12"
features = [
"json",
"default-tls",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.53.1"
features = ["time"]
optional = true
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.proptest]
version = "1.11.0"
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.tokio]
version = "1.53.1"
features = [
"net",
"io-util",
"time",
]
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.103"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.126"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.76"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3.103"
features = [
"Headers",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
]
[target.wasm32-unknown-unknown.dependencies.getrandom]
version = "0.4"
features = ["wasm_js"]
[lints.clippy.all]
level = "deny"
priority = 10
[lints.clippy.pedantic]
level = "warn"
priority = 3
[lints.clippy.redundant_clone]
level = "deny"
priority = 9
[lints.rust]
unused_variables = "warn"
[lints.rust.future-incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard-style]
level = "deny"
priority = -2
[lints.rust.rust_2018_idioms]
level = "deny"
priority = -3