Eric Huss
6b7e2023a5
Bump version of cargo-credential-1password
2023-11-16 10:30:06 -08:00
Tobias Bieniek
2e095e509f
cargo-credential-1password: Add configuration instructions
2023-11-16 18:00:49 +01:00
Tobias Bieniek
9061a6104a
cargo-credential-1password: Use stable branch for docs link
2023-11-16 18:00:49 +01:00
Tobias Bieniek
a0555cfe15
cargo-credential-1password: Fix README
2023-11-16 18:00:49 +01:00
Fabio Valentini
a13a6905e9
credential: include license files in all published crates
2023-11-10 17:12:40 +01:00
Ed Page
03a642b1d8
fix: Set MSRV in all published packages
2023-10-06 16:34:42 -05:00
Ed Page
4b55a4f76f
chore(gh): Automatically update cargo-credential MSRV
2023-10-06 16:34:42 -05:00
Arlo Siemsen
d345ca212f
feat: stabilize credential-process and registry-auth
2023-09-16 22:40:45 -05:00
Weihang Lo
c4f9712a42
chore: bump patch version due to refactor
2023-09-14 14:44:44 +08:00
Weihang Lo
aef3bd22d3
lint: fix errors for rust 2018 idioms
2023-09-14 13:43:48 +08:00
Arlo Siemsen
f020b00bdd
Bump cargo-credential-1password to v0.4.0
2023-09-07 13:52:15 -05:00
bors
73d9081b53
Auto merge of #12623 - arlosi:cred-msrv, r=weihanglo
...
Add MSRV validation GitHub Action for cargo-credential
`cargo-credential` should have a separate MSRV from the rest of Cargo that is more relaxed.
2023-09-06 04:23:02 +00:00
Arlo Siemsen
a900742c33
Add MSRV validation GitHub Action for cargo-credential
2023-09-05 23:01:53 -05:00
Arlo Siemsen
e58b84d35e
breaking change(cargo-credential)
...
Changes the JSON format for cache:expires
2023-09-05 15:22:27 -05:00
Arlo Siemsen
b8099be284
fix: make more credential JSON fields skip_serializing if None
2023-09-05 13:31:23 -05:00
Jacob Finkelman
fde2337ccd
Fewer temporary needless strings
2023-08-30 20:50:52 +00:00
Arlo Siemsen
39db61e26e
fix: add error for unsupported credential provider version
2023-08-29 21:22:29 -05:00
Arlo Siemsen
763edbab09
rename crate to cargo-credential-libsecret
2023-08-17 16:05:31 -05:00
Arlo Siemsen
3d8e8d32cd
credential: make gnome-secret built-in as cargo:libsecret
2023-08-17 13:58:18 -05:00
bors
937b930a77
Auto merge of #12518 - arlosi:cred-dlopen, r=epage
...
cargo-credential-gnome-secret: dynamically load libsecret
Building `cargo-credential-gnome-secret` currently requires the `libsecret` development libraries to be installed and findable via `pkg-config`. This is often an extra step for users and complicates CI builds.
This loads the required functions from `libsecret` dynamically using `libloading` which uses `dlopen` internally.
Closes #12503
Testing this requires manually installing the credential provider on a system with libsecret set up. I tested it on Arch Linux.
2023-08-17 16:56:21 +00:00
Arlo Siemsen
b74e5a0e7e
credential: make 1password no longer built-in
2023-08-17 00:47:30 -05:00
Arlo Siemsen
627936bdf6
cargo-credential-gnome-secret: dynamically load libsecret
2023-08-17 00:18:00 -05:00
Weihang Lo
862226fc60
chore: window-sys should be a platform-specific dependency
2023-08-12 09:17:18 +01:00
Arlo Siemsen
5ade1ad1eb
cargo-credential: reset stdin & stdout to the Console
2023-08-10 13:33:33 -05:00
Arlo Siemsen
af95711ae5
Add more docs and example for cargo-credential
2023-08-07 13:00:56 -05:00
Arlo Siemsen
70b584e401
Add serde(other) to credential protocol enums for future proofing
2023-07-31 16:37:33 -05:00
Arlo Siemsen
7918c7fc7b
Remove from impls
2023-07-31 16:10:56 -05:00
Arlo Siemsen
a81d558941
Use thiserror for credential provider errors
2023-07-31 13:45:08 -05:00
Arlo Siemsen
5321146c7e
Add serde(default) to cargo-credential RegistryInfo headers
2023-07-31 13:44:57 -05:00
Weihang Lo
9913287a5c
fix(cargo-credential): should enable feature serde/derive
2023-07-24 15:18:44 +01:00
Arlo Siemsen
6151a4152b
Send all headers to cred provider
2023-07-21 17:30:01 -05:00
Arlo Siemsen
2b39792aef
Credential provider implementation
2023-07-21 16:02:24 -05:00
Ed Page
5d80aa263d
refactor: Provide workspace-level default license
2023-07-17 13:21:41 -05:00
Ed Page
f358359a17
refactor: Provide a workspace-level default edition
2023-07-17 13:21:40 -05:00
bors
5b377cece0
Auto merge of #12322 - ehuss:credential-readme, r=epage
...
Add READMEs for the credential helpers.
This adds some READMEs for these crates. These are pretty bare bones for now, but I suspect they may get extended in the future based on how we decide to deploy them.
2023-06-30 00:01:00 +00:00
Eric Huss
afbca6baf8
Add READMEs for the credential helpers.
2023-06-29 11:54:41 -07:00
Eric Huss
21ccfb8fa6
Don't try to compile cargo-credential-gnome-secret on non-Linux platforms.
2023-06-29 11:19:58 -07:00
Scott Schafer
34b8c39d77
chore: Use [workspace.dependencies]
2023-04-28 09:56:09 -05:00
Weihang Lo
61a513c1a8
chore: make credential dependencies platform-specific
2023-04-24 14:48:06 +01:00
Eric Huss
ac25009500
Update windows-sys
2023-04-23 12:40:00 -07:00
Ed Page
895435fba9
chore: Use globs for workspace members
...
This is a short-term option until we can have a better solution for
globbing. This does not update `benches/` to support which has a README
in there preventing globbing; this seems low-churn enough not to find a
solution for it.
On the next sync-up with rust-lang/rust, we'll need to update 4e46301258/src/bootstrap/tool.rs (L588-L603)
Fixes #11988
2023-04-18 20:02:21 -05:00