Skip to content

Conversation

@havarnov
Copy link

  • uses csbindgen to automatically create cs bindings
  • adds a nuget package

@havarnov havarnov force-pushed the feature/dotnet-bindings branch 3 times, most recently from 72499b2 to f32ce6a Compare October 30, 2025 22:37
@nhatcher
Copy link
Member

Oh wow! I haven't thought about this, but could be great!!!

@havarnov havarnov force-pushed the feature/dotnet-bindings branch from e30c326 to d1805e2 Compare November 2, 2025 20:17
@havarnov
Copy link
Author

havarnov commented Nov 3, 2025

@nhatcher the rust side of this binding would be equivalent to how a c binding would look, nothing dotnet specific about it. Would you prefer to split it into a c binding project? I guess that also can be done at a later stage if necessary/requested.

@nhatcher
Copy link
Member

nhatcher commented Nov 4, 2025

necessary/requested.

I don't know, to be honest. I actually don't have much experience with dotnet :)
Once this is ready for review please include a README on how to use it.
Are the dotnet packages publishable somewehere like PyPi for python, crates.io for Rust or npmjs for js?

@havarnov
Copy link
Author

havarnov commented Nov 5, 2025

Are the dotnet packages publishable somewehere like PyPi for python, crates.io for Rust or npmjs for js?

Yes, nuget.org is Microsofts official package repository.

@havarnov
Copy link
Author

havarnov commented Nov 5, 2025

Once this is ready for review please include a README on how to use it.

Sure. I’ll ping you when it’s ready for review.

@havarnov havarnov force-pushed the feature/dotnet-bindings branch 21 times, most recently from baf7e80 to 27fd7d1 Compare November 12, 2025 21:44
@havarnov havarnov force-pushed the feature/dotnet-bindings branch 12 times, most recently from 51144c9 to b801f0a Compare November 14, 2025 22:05
@havarnov havarnov force-pushed the feature/dotnet-bindings branch from b801f0a to d903f70 Compare November 14, 2025 22:08
@havarnov
Copy link
Author

@nhatcher this is now ready for review.

I decided to aim for a very simple 0.0.1-beta1 release with few features. But the developer experience, build, CI should all be good to go.

Just to be clear, I'm totally fine with you not wanting this bindings in this repo if you don't want to increase the complexity of the project or whatever. It's possible to keep this in a separate repo.

@nhatcher
Copy link
Member

Let's see! I will have a look at it. I will learn something for sure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants