* Do not log PII in Debug implementations
Related to #1707 but does not resolve it. Still need a solution to redact headers as needed.
* Fix style lint issues1
* Add getters to HttpError with test
* Fix wasm32 lint issue
* Elide sanitized fields of HttpError
Safest bet for now. We can expose more later when we figure out a pluggable solution, or at least a way to make it easy to sanitize headers and potentially even body.
* Fix lint issue
* Ignore .vscode/settings.json in cSpell
* Updates for main README
* Updating mark down files for launch of the official sdk betas
* fixed formatting issue
* Added basic prerequisites and build instructions.
* Adding file extension to LICENSE file
* Fixing spelling issues and adding words to cspell dictionary
* fixing formatting issues
* Update CONTRIBUTING.md
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Update CONTRIBUTING.md
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Update README.md
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* Reverting MIT License text change
* changed text on how to identify generated code
* Don't use root slash in subdirectories
Feels misleading.
---------
Co-authored-by: Heath Stewart <heaths@microsoft.com>
* add container_client and ContainerClient::read
* rudimentary initial query API
* re-do partition keys to hide serde_json
* switch to a `NullValue` marker shared by query and partition key, and update docs
* add tracing_subscriber with env filter to all cosmos examples
* fix doctests
* remove Send bound from WASM
* Add 'Sync' bound to from_response_body, but exclude bounds from wasm32
* copyright headers, copyright headers everywhere
* change Pageable back to an owning type
* pr feedback
* refactor partition_key parameter to partition_key_strategy
* refmt and move helper back to azure_data_cosmos
* fix docs
* remove unnecessary doctest from internal utility
* fix cosmos_query sample
* simplify doctests that don't run using panic!()
* Remove ClientSecretCredential, EnvironmentCredential
Also moves SpecificAzureCredential to a sample. Fixes#1812.
* Use DAC constructor instead of factory function
Also fixes a few lints
* Fix doc tests
* Add pre-reqs and tasks for launching a live version of the docs site
* disable spell-check on some files
* Build all features and set 'docsrs' flag to enable docs related features in crates
* Add devcontainer config files for codespaces and vscode
* add cspell extension to vscode
* pr feedback and exclude oncreate from cspell
* yet more cspell exclusions
* implement initial CosmosClient, DatabaseClient and "read database" API
* updates after rebase
* fix some warnings and test issues
* rename "adhoc" sample to "connect"
* add CODEOWNERS for CosmosDB
* use 'cosmosdb' as example prefix
* fix spacing
* a few more tidy-ups
* switch to a team in the cosmos CODEOWNERS
* clippy and lint fixes
* spelling updates
* auth policy test updates
* doc comment updates
* switch to using Model derive macro
* a couple build fixes
* ok that one was my bad
* fix conditional imports
* omit CODEOWNERS from cspell check
* use direct mentions in CODEOWNERS for now
* pr feedback
* fix derive macro broken during refactoring
* use dictionary file and update Cosmos to "Cosmos DB"
* Created cplusplus feature to isolate C++ only elements
* cplusplus options
* PR feedback
* Deserializable and errorkind are used for CPP
* EH changes to reflect AMQP changes
* serialization and deserialization are cplusplus features
* Added content to the readme for Rust Eventhubs - lost more to come
* Fixed readme.md inclusion
* Added content to the readme for Rust Eventhubs; added documentation for the Consumer module
* Added eventhubs to global cspell
* Cleaned up use of EventHubs service name (it's Event Hubs); moved StartPosition to consumer since it's a consumer construct, not a model construct; Cleaned up doccomments around the tree.
* Refactor general implementation into TypeSpec crates
This is part of the unbranding work across languages. For now we have decided to brand around the "TypeSpec runtime" as some other Azure SDK languages have considered.
* Fix build
* Resolve CodeStyle check issue
* Export http_response_from_body from azure_core
* Fix lint, docs errors
* Define `Response<T>`
This doesn't actually work because object-safe traits can't have methods with type parameters, so refactoring is needed.
* Define separate `RawResponse`, `Response<T>`
* Fix code style check
* Fix wasm32-only code
* Support hierarchical Context
Conceptually similar to Go, which was also similarly copied for C++. Instead of being hierarchical, however, which introduces complexity into `len`, `is_empty`, etc. - though we might only want those for testing by GA - this uses a `Cow` to copy the `HashMap` only when necessary.
Closes#1655
* Remove `remove`, keep `len` for tests only