* 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"
Moves common request options e.g., `ContentLength` into `typespec_client_core` while reducing the number of seldom-used (specified directly) types exported from `typespec_client_core::http`.
* 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
* AMQP changes to support message headers and properties; AMQP changes to support type serialization; Integrated a coupleof fe2o3 bug fixes
* Pull request feedback
* use Response's type parameter as a marker type for the body, but don't actually deserialize
* make pipeline send generic to improve type inference and reduce need for map_body
* fix doctest
* change read_body/map_body into deserialize_body/deserialize_body_into
* fix issues after rebasing
* refmt and fix compile issue
* rename FromResponseBody to Model
* fix toml spacing
* address pr feedback
* set_ -> with_
* fix formatting again :(
* Refactors most of azure_core to typespec
Little was modified when moving types and functions. Of what little was modified, most types were either separated from unrelated topics - like streams from HTTP - or better consolidated into fewer submodules to avoid complicating the module hierarchy.
`TelemetryOptions` was temporarily removed. Because `ClientOptions` was moved to `typespec_client_core` but telemetry considered Azure-specific by most other Azure SDK languages, we need to figure out how to pass this in an unbranded way. Since it basically just sets the `User-Agent` HTTP header, perhaps we can make it more generic and optional.
* Fix resolution errors on Noop client
* Fix build breaks from dependencies
* Add unconditional checks of Azure retry headers
This restores the checks for Azure-specific headers.
Makes sure these components are always installed when running
`rustup show` or other tools. Adding `rust-analyzer` is questionable,
but enough dev UX uses it's probaby fine and not too slow to acquire on
CI build machines.
* 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
* Add lifetime annotation to ClientMethodOptionsBuilder trait
This allows implementors of the trait to ensure that the lifetime of
context lives at least as long as the trait's implementor.
* remove unused generic type param
* Move crates into subdirs under service dirs
The exception in this commit is `typespec`, which will likely be a root
project for RFC 3243 (packages-as-namespaces) with packages thereunder.
* Fix e2e_tests.sh