Ben S
4c966938db
Achieve independence from gated features!
...
This commit makes rust-users runnable on Rust Stable and Beta!
- ToOwned in the collections crate can be imported by `std::borrow::ToOwned`
instead, removing the collections flag.
- `as_ref` on raw pointers can be null-checked manually, then dereferenced,
removing the ptr_as_ref flag. The new code reads better, too.
2015-08-02 16:41:19 +01:00
Ben S
de6a1601db
Update broken comment link...
2015-08-02 15:35:25 +01:00
Ben S
37b463859a
Update docs URL
2015-08-02 13:10:13 +01:00
Ben S
1b61aaa466
Merge pull request #8 from kstep/patch-1
...
more user and group operations
2015-07-23 00:19:43 +01:00
Konstantin Stepanov
5cab91cf73
fix docs for switch_user_group
2015-07-23 01:40:53 +03:00
Konstantin Stepanov
7c19c92fd7
switch effective uid only
2015-07-21 12:55:44 +03:00
Konstantin Stepanov
184bd434e1
fixes
2015-07-21 12:19:45 +03:00
Konstantin Stepanov
d52a2bcd8c
update mock
2015-07-21 11:48:49 +03:00
Konstantin Stepanov
fd73810619
security warnings
2015-07-21 11:43:10 +03:00
Konstantin Stepanov
0cabf243bd
add switch user/group functionality
2015-07-21 11:39:32 +03:00
Konstantin Stepanov
6e2e00f287
add functions to set user and group
2015-07-21 11:32:22 +03:00
Konstantin Stepanov
f5d3838e75
add methods to get effective user and group info
2015-07-21 11:22:58 +03:00
Konstantin Stepanov
825062139b
import other gid/uid functions
2015-07-21 11:07:56 +03:00
Ben S
614ae061c7
Have Travis only use the nightly
2015-06-21 12:54:39 +01:00
Ben S
0ccafadca5
Version bump
v0.4.2
2015-06-21 12:49:03 +01:00
Ben S
7cfbbfe1b7
Merge pull request #7 from MrFloya/master
...
Added missing feature flag and removed obsolete one
2015-06-20 21:19:33 +01:00
Florian Wilkens
35903983ff
Added missing feature flag and remove obsolete one
2015-06-20 16:22:59 +02:00
Ben S
f98f764742
Merge pull request #6 from mneumann/master
...
Fix build for DragonFly BSD
2015-06-16 13:52:24 +01:00
Michael Neumann
968fc14738
Fix build for DragonFly BSD
2015-06-16 13:41:54 +02:00
Ben S
beab642e5a
Merge pull request #5 from MrFloya/fix_get_user_by_name
...
Fix get_x_by_name functions to use CStrings
2015-05-13 15:10:56 +01:00
Florian Wilkens
3862ae8d06
Fixed _by_name functions to correctly use CStrings and added corresponding tests.
2015-05-13 15:40:38 +02:00
Florian Wilkens
34a4c66da3
Removed unused import warning on linux
2015-05-13 15:12:00 +02:00
Ben S
1c7cdad0ff
Have different c_passwd structs for different OSes
v0.4.1
2015-05-05 20:16:17 +01:00
Ben S
d4234b64c1
Merge pull request #4 from MrFloya/add_home_and_shell
...
Add home and shell to User struct
2015-05-05 20:01:31 +01:00
Florian Wilkens
5d955e13a5
Added home_dir and shell to User struct
2015-05-04 00:53:24 +02:00