Commit graph

27 commits

Author SHA1 Message Date
Ayush Singh
a63078b951 Made pointers const when possible.
Also fixed some bugs. Some QStringList were being passed as reference
even though they should be passed by value.
2022-01-31 17:44:11 +05:30
Ayush Singh
c831f48002 Fixed Bug in init_from_engine.
Earlier it was registering the KLocalizedContextHolder with a different
KLocalizedContext than the context object.
2022-01-24 12:21:00 +05:30
Ayush Singh
d591023d69 Update README
Want to trigger doc.rs build again.
2022-01-10 18:51:39 +05:30
Ayush Singh
cf195191ee Publishing new version of crate. 2022-01-04 19:30:48 +05:30
Ayush Singh
f04b01d5c8 Fixed Tests. 2022-01-04 19:28:00 +05:30
Ayush Singh
58b3c81f66 Using kde_frameworks crate now. 2022-01-04 00:44:27 +05:30
Ayush Singh
22e4048f3a Migrated Rust edition from 2018 to 2021.
Also update the crate version since I will be publishing the new version
now.
2022-01-01 20:39:01 +05:30
Ayush Singh
cba1951df6 Changed Categories. 2021-12-23 17:52:05 +05:30
Ayush Singh
8aa4bc7513 Publishing New Crate version. 2021-12-23 17:46:55 +05:30
Ayush Singh
1b8354d05b Made qmetaobject optional dep. 2021-12-23 17:35:16 +05:30
Ayush Singh
4c2f78d2bb Added Methods for KLocalizedString. 2021-12-15 21:55:23 +05:30
Ayush Singh
736d5c5a26 Fixed README and docs. 2021-12-14 22:08:19 +05:30
Ayush Singh
3bf93509a3 Started renaming crate
Changing from ki18n-rs to ki18n.
Might need more changes after publishing.
2021-12-14 21:55:31 +05:30
Ayush Singh
7aba3e4bad Publishing New Version. 2021-12-14 18:30:53 +05:30
Ayush Singh
85a102431f Publishing new version
Also merged new deps to docs.rs so docs should work now.
2021-12-01 17:40:58 +05:30
Ayush Singh
38ebb314b8 Refactored KLocalizedContext
Extracted everything from lib.rs
Also extracted all doc tests to integration tests.
2021-12-01 17:34:45 +05:30
Ayush Singh
b8f1cbaed7 Trying out qmetaobject-rs method for docs. 2021-11-13 09:42:03 +05:30
Ayush Singh
ce6adf77ca Enabled docs-only feature in cpp_build
Can now generate docs inside container. Dunno if it works in actual
crates.io though.
2021-11-13 09:13:02 +05:30
Ayush Singh
d61d5bae1f Trying to fix docs in docs.rs. 2021-11-13 08:56:39 +05:30
Ayush Singh
73e070aa27 Publishing New version.
Bumping version to 1.0.0 since Crates.io is not generating docs for some reason.
2021-11-12 23:16:47 +05:30
Ayush Singh
c1ed08b8ee Publishing new version. 2021-11-09 20:24:43 +05:30
Ayush Singh
dd88341c4d Added license in Cargo.toml
Doesn't seem like license-file option is working in crates.io.
2021-11-07 12:03:23 +05:30
Ayush Singh
3137771cbf Ignored the Example in main page. 2021-11-01 21:27:49 +05:30
Ayush Singh
c1b374e09b Added Documentation.
Almost ready for publishing in crates.io.
2021-11-01 18:02:04 +05:30
Ayush Singh
0c350fc91c Added README and LICENSE.
Also added some metadata to the Cargo.toml
2021-11-01 15:53:52 +05:30
Ayush Singh
63025689ce Switched to stable qmetaobject-rs.
Do not need the new methods from the git branch yet.
2021-11-01 15:27:07 +05:30
Ayush Singh
2c6be797a3 Initial Commit. 2021-11-01 15:01:02 +05:30