#automatic #generate #dual #cargo-toml #template #package #gpl-proprietary

app jlic

Automatically generate a simple GPL/Proprietary dual license for your Rust project

1 unstable release

0.1.0 Jan 17, 2024

#11 in #dual

Custom license

13KB
176 lines

jlic

This tool can be used to automatically generate a simple GPL/Proprietary dual license for your Rust project.

View the license template at template.md.

How to use

  1. Install jlic by running cargo install jlic.

  2. To generate a license, cd into your Rust project and run jlic.

Run jlic --help to view available options.

Note: For now I advise you to manually change the license information in Cargo.toml instead of using the -c or --update flags. Updating package information through jlic -c produces valid TOML but results in a loss of the file's original organization. (See Cargo.toml.)

Troubleshooting

Please ensure that your Rust project is structured correctly and that you are running this script from within the project directory. If you can run cargo build then you should not have trouble using jlic.
If you still encounter errors, please report the issue on the github repository!

Disclaimer:

The license generated by this script is provided for convenience purposes only and has not been validated by any professional attorney. It does not constitute and is not a substitute for professional legal advice. The generated license may not cover all legal considerations relevant to your specific situation.

It is strongly recommended that you consult with a qualified legal professional to review and customize the license according to your unique requirements. The author and contributors of this script disclaim any liability for the use or interpretation of the generated license. By using this script, you agree to these terms and acknowledge the importance of seeking legal advice for your specific circumstances.

Dependencies

~5–7MB
~116K SLoC