-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update to typespec-rust 0.5.1 #1968
base: main
Are you sure you want to change the base?
Conversation
@@ -1,11 +1,19 @@ | |||
{ | |||
"main": "dist/src/index.js", | |||
"dependencies": { | |||
"@azure-tools/typespec-rust": "0.3.0" | |||
"@azure-tools/typespec-rust": "0.5.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll have 0.6.0
out later today, let's wait for that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.6.0
is now available.
"@typespec/xml": "0.62.0" | ||
"@azure-tools/typespec-autorest": "~0.49.0", | ||
"@azure-tools/typespec-azure-core": "~0.49.0", | ||
"@azure-tools/typespec-client-generator-core": "0.49.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will need to be bumped to 0.49.1
once emitter version 0.6.0
is picked up.
return (Split-Path $projectDirectory -Leaf) | ||
} | ||
|
||
function Get-rust-EmitterAdditionalOptions([string]$projectDirectory) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What calls this? The contents make sense, I just don't know how it's wired into the build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/cc @hallipr
This updates the dependencies, matching devDependencies from azure-sdk-for-python emitter-package.json.
This allowed me to get further when attempting to generate a client for AVS:
I set SaveInput to true to debug. With this PR, the generated tspconfig.yaml
But it will need setting for
crate-name
andcrate-version
. I'm assuming those will be loaded from the directory. I'm also not sure what the new naming convention will be.I hit a bug and will file a separate issue for: