z------------- / nim-bencode

Bencode encode/decode library with serialization to/from JSON. Also includes a command-line program.
MIT License
2 stars 0 forks source link

Publish to nimble and one small little request #3

Closed sgmihai closed 1 year ago

sgmihai commented 1 year ago

I'd like this lib to be published to nimble directory if you don't mind, so I don't have to have its sources in my project dir anymore. I see that the nim-bencode name is not taken. Also, would it be possible to bring back the shorthand templates, but with "be" or something short as the identifier ? I have quite a few .hasKey calls on the dictionary structures and I have to prefix the key string with Bencode.. not the greatest, in this context.

z------------- commented 1 year ago

I've added back the shorthand as be.

Nimble is able to install packages directly via Git without them being published on the nimble directory, like this. Have you tried that? I don't particularly want to publish to the nimble directory.

sgmihai commented 1 year ago

I have tried using git url in project config, works good. And the main issue is fixed, can close this issue now.