repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ucal/src/lib.rs
rust_icu_ucal/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_upluralrules/src/lib.rs
rust_icu_upluralrules/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_unum/src/lib.rs
rust_icu_unum/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_udata/src/lib.rs
rust_icu_udata/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ucnv/src/lib.rs
rust_icu_ucnv/src/lib.rs
// Copyright 2021 Luis Cáceres // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ucnv/src/utf8.rs
rust_icu_ucnv/src/utf8.rs
// Copyright 2021 Luis Cáceres // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_common/src/lib.rs
rust_icu_common/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_common/tests/hygiene.rs
rust_icu_common/tests/hygiene.rs
#![no_implicit_prelude] struct Type { rep: ::std::ptr::NonNull<::rust_icu_sys::UMessageFormat>, } ::rust_icu_common::simple_drop_impl!(Type, umsg_close);
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ubrk/src/lib.rs
rust_icu_ubrk/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_utrans/src/lib.rs
rust_icu_utrans/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/proposals/ecma402_listformat/src/lib.rs
proposals/ecma402_listformat/src/lib.rs
#![doc(html_playground_url = "https://play.rust-lang.org")] //! # The ECMA 402 abstract API surface proposal for `Intl.ListFormat` //! //! *fmil@google.com\ //! Created: 2020-05-28\ //! Last updated: 2020-06-09* //! //! This proposal is an elaboration of the article [Meta-proposal: Towards common ECMA 402 API //! surfa...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ucsdet/src/lib.rs
rust_icu_ucsdet/src/lib.rs
// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ecma402/src/lib.rs
rust_icu_ecma402/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ecma402/src/numberformat.rs
rust_icu_ecma402/src/numberformat.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ecma402/src/listformat.rs
rust_icu_ecma402/src/listformat.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ecma402/src/pluralrules.rs
rust_icu_ecma402/src/pluralrules.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ecma402/src/datetimeformat.rs
rust_icu_ecma402/src/datetimeformat.rs
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_umsg/src/lib.rs
rust_icu_umsg/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ucol/src/lib.rs
rust_icu_ucol/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ustring/src/lib.rs
rust_icu_ustring/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_uenum/src/lib.rs
rust_icu_uenum/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/lib.rs
ecma402_traits/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/displaynames.rs
ecma402_traits/src/displaynames.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/relativetime.rs
ecma402_traits/src/relativetime.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/numberformat.rs
ecma402_traits/src/numberformat.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/listformat.rs
ecma402_traits/src/listformat.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/collator.rs
ecma402_traits/src/collator.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/pluralrules.rs
ecma402_traits/src/pluralrules.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/ecma402_traits/src/datetimeformat.rs
ecma402_traits/src/datetimeformat.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_unumberformatter/src/lib.rs
rust_icu_unumberformatter/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_uformattable/src/lib.rs
rust_icu_uformattable/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_utext/src/lib.rs
rust_icu_utext/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_ulistformatter/src/lib.rs
rust_icu_ulistformatter/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_uchar/src/lib.rs
rust_icu_uchar/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu/src/lib.rs
rust_icu/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_unorm2/src/lib.rs
rust_icu_unorm2/src/lib.rs
// Copyright 2021 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_uloc/build.rs
rust_icu_uloc/build.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_uloc/src/lib.rs
rust_icu_uloc/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/build.rs
rust_icu_sys/build.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_71.rs
rust_icu_sys/bindgen/lib_71.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type UBool = i8; pub type UChar = u16; pub type UChar32 = i32; pub type UVersionInfo = [u8; 4usize]; unsafe extern "C" { pub fn u_versionFromString_71( versionArray: *mut u8, versionString: *const ::s...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_76.rs
rust_icu_sys/bindgen/lib_76.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __uint_least16_t = __uint16_t; pub type char16_t = __uint_least16_t; pub type UBool = i8; pub type UChar = char16_t; pub type UChar32 = i32; pub type UVersionInfo = [u...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_63.rs
rust_icu_sys/bindgen/lib_63.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type UBool = i8; pub type UChar = u16; pub type UChar32 = i32; pub type UVersionInfo = [u8; 4usize]; unsafe extern "C" { pub fn u_versionFromString_63( versionArray: *mut u8, versionString: *const ::s...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_73.rs
rust_icu_sys/bindgen/lib_73.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type UBool = i8; pub type UChar = u16; pub type UChar32 = i32; pub type UVersionInfo = [u8; 4usize]; unsafe extern "C" { pub fn u_versionFromString_73( versionArray: *mut u8, versionString: *const ::s...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_77.rs
rust_icu_sys/bindgen/lib_77.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __uint_least16_t = __uint16_t; pub type char16_t = __uint_least16_t; pub type UBool = i8; pub type UChar = char16_t; pub type UChar32 = i32; pub type UVersionInfo = [u...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_74.rs
rust_icu_sys/bindgen/lib_74.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type UBool = i8; pub type UChar = u16; pub type UChar32 = i32; pub type UVersionInfo = [u8; 4usize]; unsafe extern "C" { pub fn u_versionFromString_74( versionArray: *mut u8, versionString: *const ::s...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/macros.rs
rust_icu_sys/bindgen/macros.rs
// Macros for changing function names. // This is created and edited manually, but should be kept roughly in sync with `build.rs`. /// This library was build with version renaming, so rewrite every function name /// with its name with version number appended. /// The macro will rename a symbol `foo::bar` to `foo::bar...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_70.rs
rust_icu_sys/bindgen/lib_70.rs
/* automatically generated by rust-bindgen 0.66.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type UBool = i8; pub type UChar = u16; pub type UChar32 = i32; pub type UVersionInfo = [u8; 4usize]; extern "C" { pub fn u_versionFromString_70( versionArray: *mut u8, versionString: *const ::std::os:...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen/lib_72.rs
rust_icu_sys/bindgen/lib_72.rs
/* automatically generated by rust-bindgen 0.72.1 */ pub type wchar_t = ::std::os::raw::c_int; pub type UBool = i8; pub type UChar = u16; pub type UChar32 = i32; pub type UVersionInfo = [u8; 4usize]; unsafe extern "C" { pub fn u_versionFromString_72( versionArray: *mut u8, versionString: *const ::s...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
true
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/bindgen_special/lib_72.rs
rust_icu_sys/bindgen_special/lib_72.rs
/* automatically generated by rust-bindgen 0.59.1 */ pub type size_t = ::std::os::raw::c_ulong; pub type __int8_t = ::std::os::raw::c_schar; pub type __uint8_t = ::std::os::raw::c_uchar; pub type __int16_t = ::std::os::raw::c_short; pub type __uint16_t = ::std::os::raw::c_ushort; pub type __int32_t = ::std::os::raw::c...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/src/lib.rs
rust_icu_sys/src/lib.rs
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_sys/tests/hygiene.rs
rust_icu_sys/tests/hygiene.rs
#![no_implicit_prelude] #[test] fn hygiene() { let mut status = ::rust_icu_sys::UErrorCode::U_ZERO_ERROR; unsafe { ::rust_icu_sys::versioned_function!(u_init)(&mut status) }; }
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
google/rust_icu
https://github.com/google/rust_icu/blob/acdee0b194d408c598b6d2f0ccf9d2b87204de87/rust_icu_intl/src/lib.rs
rust_icu_intl/src/lib.rs
// Copyright 2020 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in ...
rust
Apache-2.0
acdee0b194d408c598b6d2f0ccf9d2b87204de87
2026-01-04T20:25:24.845005Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/lib.rs
src/lib.rs
//! # Async IMAP //! //! This crate lets you connect to and interact with servers //! that implement the IMAP protocol ([RFC 3501](https://tools.ietf.org/html/rfc3501) and extensions). //! After authenticating with the server, //! IMAP lets you list, fetch, and search for e-mails, //! as well as monitor mailboxes for c...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/parse.rs
src/parse.rs
use std::collections::HashSet; use async_channel as channel; use futures::io; use futures::prelude::*; use futures::stream::Stream; use imap_proto::{self, MailboxDatum, Metadata, RequestId, Response}; use crate::error::{Error, Result}; use crate::types::ResponseData; use crate::types::*; pub(crate) fn parse_names<T:...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/client.rs
src/client.rs
use std::collections::{HashMap, HashSet}; use std::fmt; use std::ops::{Deref, DerefMut}; use std::pin::Pin; use std::str; use async_channel::{self as channel, bounded}; #[cfg(feature = "runtime-async-std")] use async_std::io::{Read, Write, WriteExt}; use base64::Engine as _; use extensions::id::{format_identification,...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
true
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/error.rs
src/error.rs
//! IMAP error types. use std::io::Error as IoError; use std::str::Utf8Error; use base64::DecodeError; /// A convenience wrapper around `Result` for `imap::Error`. pub type Result<T> = std::result::Result<T, Error>; /// A set of errors that can occur in the IMAP client #[derive(thiserror::Error, Debug)] #[non_exhau...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/mock_stream.rs
src/mock_stream.rs
use std::cmp::min; use std::io::{Error, ErrorKind, Result}; use std::pin::Pin; use std::task::{Context, Poll}; #[cfg(feature = "runtime-async-std")] use async_std::io::{Read, Write}; #[cfg(feature = "runtime-tokio")] use tokio::io::{AsyncRead as Read, AsyncWrite as Write}; #[derive(Default, Clone, Debug, Eq, PartialE...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/imap_stream.rs
src/imap_stream.rs
use std::fmt; use std::pin::Pin; #[cfg(feature = "runtime-async-std")] use async_std::io::{Read, Write, WriteExt}; use bytes::BytesMut; use futures::stream::Stream; use futures::task::{Context, Poll}; use futures::{io, ready}; use nom::Needed; #[cfg(feature = "runtime-tokio")] use tokio::io::{AsyncRead as Read, AsyncW...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/authenticator.rs
src/authenticator.rs
/// This trait allows for pluggable authentication schemes. It is used by [`Client::authenticate`] to /// [authenticate using SASL](https://tools.ietf.org/html/rfc3501#section-6.2.2). /// /// [`Client::authenticate`]: crate::Client::authenticate pub trait Authenticator { /// The type of the response to the challeng...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/extensions/idle.rs
src/extensions/idle.rs
//! Adds support for the IMAP IDLE command specificed in [RFC2177](https://tools.ietf.org/html/rfc2177). use std::fmt; use std::pin::Pin; use std::time::Duration; #[cfg(feature = "runtime-async-std")] use async_std::{ future::timeout, io::{Read, Write}, }; use futures::prelude::*; use futures::task::{Context,...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/extensions/compress.rs
src/extensions/compress.rs
//! IMAP COMPRESS extension specified in [RFC4978](https://www.rfc-editor.org/rfc/rfc4978.html). use std::fmt; use std::pin::Pin; use std::task::{Context, Poll}; use pin_project::pin_project; use crate::client::Session; use crate::error::Result; use crate::imap_stream::ImapStream; use crate::types::IdGenerator; use ...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/extensions/id.rs
src/extensions/id.rs
//! IMAP ID extension specified in [RFC2971](https://datatracker.ietf.org/doc/html/rfc2971) use async_channel as channel; use futures::io; use futures::prelude::*; use imap_proto::{self, RequestId, Response}; use std::collections::HashMap; use crate::types::ResponseData; use crate::types::*; use crate::{ error::R...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/extensions/mod.rs
src/extensions/mod.rs
//! Implementations of various IMAP extensions. #[cfg(feature = "compress")] pub mod compress; pub mod idle; pub mod quota; pub mod id;
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/extensions/quota.rs
src/extensions/quota.rs
//! Adds support for the GETQUOTA and GETQUOTAROOT commands specificed in [RFC2087](https://tools.ietf.org/html/rfc2087). use async_channel as channel; use futures::io; use futures::prelude::*; use imap_proto::{self, RequestId, Response}; use crate::types::*; use crate::{ error::Result, parse::{filter, handle...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/mailbox.rs
src/types/mailbox.rs
use super::{Flag, Uid}; use std::fmt; /// Meta-information about an IMAP mailbox, as returned by /// [`SELECT`](https://tools.ietf.org/html/rfc3501#section-6.3.1) and friends. #[derive(Clone, Debug, Eq, PartialEq, Hash, Default)] pub struct Mailbox { /// Defined flags in the mailbox. See the description of the [F...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/fetch.rs
src/types/fetch.rs
use std::borrow::Cow; use chrono::{DateTime, FixedOffset}; use imap_proto::types::{ AttributeValue, BodyStructure, Envelope, MessageSection, Response, SectionPath, }; use super::{Flag, Seq, Uid}; use crate::types::ResponseData; /// Format of Date and Time as defined RFC3501. /// See `date-time` element in [Forma...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/mod.rs
src/types/mod.rs
//! This module contains types used throughout the IMAP protocol. use std::borrow::Cow; /// From section [2.3.1.1 of RFC 3501](https://tools.ietf.org/html/rfc3501#section-2.3.1.1). /// /// A 32-bit value assigned to each message, which when used with the unique identifier validity /// value (see below) forms a 64-bit...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/quota.rs
src/types/quota.rs
use imap_proto::types::Quota as QuotaRef; use imap_proto::types::QuotaResource as QuotaResourceRef; use imap_proto::types::QuotaResourceName as QuotaResourceNameRef; use imap_proto::types::QuotaRoot as QuotaRootRef; /// <https://tools.ietf.org/html/rfc2087#section-3> #[derive(Debug, Eq, PartialEq, Hash, Clone)] pub en...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/name.rs
src/types/name.rs
pub use imap_proto::types::NameAttribute; use imap_proto::{MailboxDatum, Response}; use self_cell::self_cell; use crate::types::ResponseData; self_cell!( /// A name that matches a `LIST` or `LSUB` command. pub struct Name { owner: Box<ResponseData>, #[covariant] dependent: InnerName, ...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/id_generator.rs
src/types/id_generator.rs
use imap_proto::RequestId; /// Request ID generator. #[derive(Debug)] pub struct IdGenerator { /// Last returned ID. next: u64, } impl IdGenerator { /// Creates a new request ID generator. pub fn new() -> Self { Self { next: 0 } } } impl Default for IdGenerator { fn default() -> Self ...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/request.rs
src/types/request.rs
use imap_proto::RequestId; #[derive(Debug, Eq, PartialEq)] pub struct Request(pub Option<RequestId>, pub Vec<u8>);
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/capabilities.rs
src/types/capabilities.rs
use imap_proto::types::Capability as CapabilityRef; use std::collections::hash_set::Iter; use std::collections::HashSet; const IMAP4REV1_CAPABILITY: &str = "IMAP4rev1"; const AUTH_CAPABILITY_PREFIX: &str = "AUTH="; /// List of available Capabilities. #[derive(Debug, Eq, PartialEq, Hash)] pub enum Capability { ///...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/src/types/response_data.rs
src/types/response_data.rs
use std::fmt; use bytes::BytesMut; use imap_proto::{RequestId, Response}; use self_cell::self_cell; self_cell!( pub struct ResponseData { owner: BytesMut, #[covariant] dependent: Response, } ); impl std::cmp::PartialEq for ResponseData { fn eq(&self, other: &Self) -> bool { ...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/examples/src/bin/idle.rs
examples/src/bin/idle.rs
use std::env; use std::time::Duration; use anyhow::{bail, Result}; use async_imap::extensions::idle::IdleResponse::*; use futures::StreamExt; #[cfg(feature = "runtime-async-std")] use async_std::{net::TcpStream, task, task::sleep}; #[cfg(feature = "runtime-tokio")] use tokio::{net::TcpStream, task, time::sleep}; #[...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/examples/src/bin/futures.rs
examples/src/bin/futures.rs
use std::env; use anyhow::{bail, Result}; use futures::TryStreamExt; #[cfg(feature = "runtime-async-std")] use async_std::net::TcpStream; #[cfg(feature = "runtime-tokio")] use tokio::net::TcpStream; fn main() -> Result<()> { futures::executor::block_on(async { let args: Vec<String> = env::args().collect(...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/examples/src/bin/integration.rs
examples/src/bin/integration.rs
use std::borrow::Cow; use std::time::Duration; use anyhow::{Context as _, Result}; use async_imap::Session; use async_native_tls::TlsConnector; use async_smtp::{SendableEmail, SmtpClient, SmtpTransport}; #[cfg(feature = "runtime-async-std")] use async_std::{net::TcpStream, task, task::sleep}; use futures::{StreamExt, ...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/examples/src/bin/gmail_oauth2.rs
examples/src/bin/gmail_oauth2.rs
use anyhow::Result; use futures::StreamExt; #[cfg(feature = "runtime-async-std")] use async_std::net::TcpStream; #[cfg(feature = "runtime-tokio")] use tokio::net::TcpStream; struct GmailOAuth2 { user: String, access_token: String, } impl async_imap::Authenticator for &GmailOAuth2 { type Response = String...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
chatmail/async-imap
https://github.com/chatmail/async-imap/blob/15f80ea95b96f26cec37f45d194b4345957bc838/examples/src/bin/basic.rs
examples/src/bin/basic.rs
use std::env; use anyhow::{bail, Result}; use futures::TryStreamExt; #[cfg(feature = "runtime-async-std")] use async_std::net::TcpStream; #[cfg(feature = "runtime-tokio")] use tokio::net::TcpStream; #[cfg_attr(feature = "runtime-tokio", tokio::main)] #[cfg_attr(feature = "runtime-async-std", async_std::main)] async ...
rust
Apache-2.0
15f80ea95b96f26cec37f45d194b4345957bc838
2026-01-04T20:25:22.717976Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/build.rs
build.rs
use std::io; #[cfg(windows)] use winres::WindowsResource; fn main() -> io::Result<()> { #[cfg(windows)] { WindowsResource::new() .set_icon("icon.ico") .compile()?; } Ok(()) }
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/lib.rs
src/lib.rs
pub mod common; pub mod config; pub mod database; pub mod tracker; pub mod stats; pub mod api; pub mod http; pub mod udp; pub mod structs;
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/structs.rs
src/structs.rs
use clap::Parser; #[derive(Debug, Parser)] #[command(author, version, about, long_about = None)] pub struct Cli { /// Create config.toml file if not exists or is broken #[arg(long)] pub create_config: bool, /// Create the database for the engine that is used in the config.toml #[arg(long)] pub ...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/main.rs
src/main.rs
use std::mem; use std::net::SocketAddr; use std::process::exit; use std::sync::Arc; use std::time::Duration; use async_std::task; use clap::Parser; use futures_util::future::try_join_all; use log::{error, info}; use parking_lot::deadlock; use sentry::ClientInitGuard; use tokio::runtime::Builder; use tokio_shutdown::Shu...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/structs.rs
src/udp/structs.rs
pub mod connect_request; pub mod announce_request; pub mod scrape_request; pub mod torrent_scrape_statistics; pub mod connect_response; pub mod announce_response; pub mod scrape_response; pub mod error_response; pub mod announce_interval; pub mod connection_id; pub mod transaction_id; pub mod number_of_peers; pub mod n...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/enums.rs
src/udp/enums.rs
pub mod request_parse_error; pub mod request; pub mod response; pub mod server_error;
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/udp.rs
src/udp/udp.rs
use std::net::SocketAddr; use std::process::exit; use std::sync::Arc; use log::{error, info}; use tokio::runtime::Runtime; use tokio::task::JoinHandle; use crate::tracker::structs::torrent_tracker::TorrentTracker; use crate::udp::structs::udp_server::UdpServer; pub const PROTOCOL_IDENTIFIER: i64 = 4_497_486_125_440; p...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/mod.rs
src/udp/mod.rs
pub mod enums; pub mod impls; pub mod structs; pub mod traits; #[allow(clippy::module_inception)] pub mod udp;
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls.rs
src/udp/impls.rs
pub mod request_parse_error; pub mod request; pub mod response; pub mod ipv4_addr; pub mod ipv6_addr; pub mod udp_server; pub mod parse_pool;
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/traits.rs
src/udp/traits.rs
use std::fmt::Debug; pub trait Ip: Clone + Copy + Debug + PartialEq + Eq {}
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/ipv4_addr.rs
src/udp/impls/ipv4_addr.rs
use std::net::Ipv4Addr; use crate::udp::traits::Ip; impl Ip for Ipv4Addr {}
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/response.rs
src/udp/impls/response.rs
use std::convert::TryInto; use std::io; use std::io::{Cursor, Write}; use std::net::{Ipv4Addr, Ipv6Addr}; use byteorder::{NetworkEndian, ReadBytesExt, WriteBytesExt}; use crate::udp::enums::response::Response; use crate::udp::structs::announce_interval::AnnounceInterval; use crate::udp::structs::announce_response::Anno...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/parse_pool.rs
src/udp/impls/parse_pool.rs
use std::sync::Arc; use log::info; use crossbeam::queue::ArrayQueue; use crate::tracker::structs::torrent_tracker::TorrentTracker; use crate::udp::structs::parse_pool::ParsePool; use crate::udp::structs::udp_packet::UdpPacket; use crate::udp::enums::request::Request; use crate::udp::enums::response::Response; use crate...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/ipv6_addr.rs
src/udp/impls/ipv6_addr.rs
use std::net::Ipv6Addr; use crate::udp::traits::Ip; impl Ip for Ipv6Addr {}
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/udp_server.rs
src/udp/impls/udp_server.rs
use std::net::{Ipv4Addr, Ipv6Addr, SocketAddr}; use std::sync::Arc; use std::time::Duration; use log::{debug, info}; use socket2::{Socket, Domain, Type, Protocol}; use tokio::net::UdpSocket; use tokio::runtime::Builder; use crate::stats::enums::stats_event::StatsEvent; use crate::tracker::enums::torrent_peers_type::Tor...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/request.rs
src/udp/impls/request.rs
use std::io; use std::io::{Cursor, Read, Write}; use std::net::Ipv4Addr; use byteorder::{NetworkEndian, ReadBytesExt, WriteBytesExt}; use crate::common::structs::number_of_bytes::NumberOfBytes; use crate::tracker::enums::announce_event::AnnounceEvent; use crate::tracker::structs::info_hash::InfoHash; use crate::tracker...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/impls/request_parse_error.rs
src/udp/impls/request_parse_error.rs
use std::io; use std::borrow::Cow; use crate::udp::enums::request_parse_error::RequestParseError; use crate::udp::structs::connection_id::ConnectionId; use crate::udp::structs::transaction_id::TransactionId; impl RequestParseError { #[tracing::instrument(level = "debug")] pub fn sendable_io(err: io::Error, con...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/structs/scrape_response.rs
src/udp/structs/scrape_response.rs
use crate::udp::structs::torrent_scrape_statistics::TorrentScrapeStatistics; use crate::udp::structs::transaction_id::TransactionId; #[derive(PartialEq, Eq, Clone, Debug)] pub struct ScrapeResponse { pub transaction_id: TransactionId, pub torrent_stats: Vec<TorrentScrapeStatistics>, }
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/structs/torrent_scrape_statistics.rs
src/udp/structs/torrent_scrape_statistics.rs
use crate::udp::structs::number_of_downloads::NumberOfDownloads; use crate::udp::structs::number_of_peers::NumberOfPeers; #[derive(PartialEq, Eq, Debug, Copy, Clone)] pub struct TorrentScrapeStatistics { pub seeders: NumberOfPeers, pub completed: NumberOfDownloads, pub leechers: NumberOfPeers, }
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/structs/parse_pool.rs
src/udp/structs/parse_pool.rs
use std::sync::Arc; use crate::udp::structs::udp_packet::UdpPacket; use crossbeam::queue::ArrayQueue; pub struct ParsePool { pub payload: Arc<ArrayQueue<UdpPacket>> }
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/structs/udp_packet.rs
src/udp/structs/udp_packet.rs
use std::net::SocketAddr; use std::sync::Arc; use tokio::net::UdpSocket; use crate::udp::udp::MAX_PACKET_SIZE; #[derive(Debug, Clone)] pub struct UdpPacket { pub remote_addr: SocketAddr, pub data: [u8; MAX_PACKET_SIZE], pub data_len: usize, pub socket: Arc<UdpSocket>, }
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false
Power2All/torrust-actix
https://github.com/Power2All/torrust-actix/blob/20d91c8be4b979abd1d67602b898a444d48a8945/src/udp/structs/announce_request.rs
src/udp/structs/announce_request.rs
use std::net::Ipv4Addr; use crate::common::structs::number_of_bytes::NumberOfBytes; use crate::tracker::enums::announce_event::AnnounceEvent; use crate::tracker::structs::info_hash::InfoHash; use crate::tracker::structs::peer_id::PeerId; use crate::udp::structs::connection_id::ConnectionId; use crate::udp::structs::num...
rust
MIT
20d91c8be4b979abd1d67602b898a444d48a8945
2026-01-04T20:24:47.160557Z
false