[package] name = "lakestream" # version is auto-updated via lakestream/build.rs version = "0.0.3" authors = ["Anthony Potappel "] edition = "2021" description = "Portable file-utility for object-stores" documentation = "https://docs.rs/lakestream" homepage = "https://lakestream.dev" repository = "https://github.com/serverlessnext/lakestream" readme = "../README.rst" license = "MIT" [lib] name = "lakestream" path = "src/lib.rs" [dependencies] percent-encoding = { version = "2.1", default-features = false, features = ["alloc"] } hex = { version = "0.4.3", default-features = false, features = ["alloc"] } serde = { version = "1.0", features = ["derive"] } hmac = { version = "0.11", default-features = false } sha2 = { version = "0.9.9", default-features = false } regex = { version = "1.8", default-features = false, features = ["std", "unicode"] } futures = { version = "0.3", default-features = false } url = "2.3" log = "0.4" serde-xml-rs = "0.6" async-trait = "0.1" [target.'cfg(not(target_arch = "wasm32"))'.dependencies] time = { version = "0.3", features = ["parsing"]} hyper = { version = "0.14", default-features = false, features = ["client", "http1", "http2"]} hyper-tls = { version = "0.5" } native-tls = { version = "0.2" } openssl-sys = { version = "0.9", features = ["vendored"] } tokio-native-tls = { version = "0.3" } [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3" web-sys = { version = "0.3", features = ['Request', 'RequestInit', 'RequestMode', 'Headers', 'Window', 'Response', 'console'] } wasm-bindgen-futures = "0.4" wasm-bindgen = "0.2.84" [build-dependencies] toml_edit = "0.2" [dev-dependencies] # keep tokio version+features in sync with lakestream-cli tokio = { version = "1.12", default-features = false, features = ["rt-multi-thread", "macros"] } tempfile = "3.5.0" [profile.release] lto = true opt-level = 3 panic = "abort"