Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: malachite-base
Upstream-Contact: Mikhail Hogrefe <mikhailhogrefe@gmail.com>
Source: https://github.com/mhogrefe/malachite

Files: *
Copyright: 2026 Mikhail Hogrefe
License: LGPL-3+

Files:
 src/num/arithmetic/extended_gcd.rs
 src/num/arithmetic/gcd.rs
 src/num/arithmetic/mod_inverse.rs
Copyright: 2009, 2016 William Hart
License: LGPL-3+

Files: src/num/arithmetic/kronecker_symbol.rs
Copyright:
 1996, 1998, 2000-2004, 2008, 2010 Free Software Foundation, Inc.
 2008 Peter Shrimpton
 2009 William Hart
License: LGPL-3+
Comment: Contains code adapted from the GNU MP Library and the FLINT Library.

Files:
 src/num/arithmetic/mod_add.rs
 src/num/arithmetic/mod_neg.rs
 src/num/arithmetic/mod_sub.rs
Copyright:
 2010 William Hart
 2021 Fredrik Johansson
License: LGPL-3+

Files: src/num/arithmetic/mod_mul.rs
Copyright:
 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 2006, 2007, 2008, 2009, 2010, 2015, 2016 William Hart
 2010, 2011, 2021 Fredrik Johansson
 2008 Peter Shrimpton
 2009 Tom Boothby
License: LGPL-3+
Comment: Contains code adapted from the FLINT Library.

Files: src/num/arithmetic/mod_pow.rs
Copyright: 2009, 2010, 2012, 2016 William Hart
License: LGPL-3+

Files: src/num/arithmetic/root.rs
Copyright:
 2015 William Hart
 2015 Fredrik Johansson
 2015 Kushagra Singh
License: LGPL-3+

Files: src/num/arithmetic/sqrt.rs
Copyright:
 1999-2002, 2004, 2005, 2008, 2010, 2012, 2015, 2017 Free Software Foundation, Inc.
 2009 William Hart
License: LGPL-3+
Comment: Contains code adapted from the GNU MP Library and the FLINT Library.
 The GNU MP Library code includes mpn_sqrtrem1, contributed to the GNU
 project by Torbjorn Granlund.

Files:
 src/num/arithmetic/x_mul_y_to_zz.rs
 src/num/arithmetic/xx_add_yy_to_zz.rs
 src/num/arithmetic/xx_sub_yy_to_zz.rs
Copyright: 1991-1994, 1996, 1997, 1999-2005, 2007-2009, 2011-2020 Free Software Foundation, Inc.
License: LGPL-3+
Comment: Contains code adapted from the GNU MP Library.

Files:
 src/num/arithmetic/xx_div_mod_y_to_qr.rs
 src/num/arithmetic/xxx_add_yyy_to_zzz.rs
 src/num/arithmetic/xxx_sub_yyy_to_zzz.rs
 src/num/arithmetic/xxxx_add_yyyy_to_zzzz.rs
Copyright:
 1991, 1992, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 2009, 2015, 2016 William Hart
 2011 Fredrik Johansson
License: LGPL-3+
Comment: Contains code adapted from the FLINT Library.

Files: src/num/factorization/factor.rs
Copyright:
 2009 Tom Boothby
 2008, 2009, 2012 William Hart
License: LGPL-3+

Files:
 src/num/factorization/is_power.rs
 src/num/factorization/is_square.rs
Copyright:
 2026 William Youmans
 2009 William Hart
License: LGPL-3+

Files: src/num/factorization/is_prime.rs
Copyright:
 2008 Peter Shrimpton
 2009 Tom Boothby
 2009, 2010, 2013, 2015, 2016 William Hart
 2010 Fredrik Johansson
 2014 Dana Jacobsen
 2023 Mathieu Gouttenoire
License: LGPL-3+

Files:
 src/num/factorization/prime_sieve.rs
 src/num/factorization/primes.rs
Copyright:
 2009 Tom Boothby
 2009 William Hart
 2010 Fredrik Johansson
 2010-2012, 2015, 2016 Free Software Foundation, Inc.
License: LGPL-3+
Comment: Contains code adapted from the GNU MP Library and the FLINT Library.
 The prime sieve code was contributed to the GNU project by Marco Bodrato.

Files: src/num/factorization/primitive_root_prime.rs
Copyright:
 2013 Mike Hansen
 2024 Vincent Neiger
License: LGPL-3+

Files: src/slices/mod.rs
Copyright: 1991, 1993-1997, 1999-2016, 2009, 2020 Free Software Foundation, Inc.
License: LGPL-3+
Comment: Contains code adapted from the GNU MP Library.

Files: src/test_util/num/arithmetic/kronecker_symbol.rs
Copyright: 1996, 1998, 1999-2002, 2000-2004, 2008, 2010 Free Software Foundation, Inc.
License: LGPL-3+
Comment: Contains code adapted from the GNU MP Library.

Files:
 tests/num/factorization/is_power.rs
 tests/num/factorization/is_square.rs
Copyright: 2026 William Youmans
License: LGPL-3+

Files: debian/*
Copyright:
 2026 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
 2026 Michele Cane <michele.cane@proton.me>
License: LGPL-3+

License: LGPL-3+
 This package is free software; you can redistribute it and/or modify it
 under the terms of the GNU Lesser General Public License as published by
 the Free Software Foundation; either version 3 of the License, or (at your
 option) any later version.
 .
 On Debian systems, the full text of the GNU Lesser General Public License
 version 3 can be found in /usr/share/common-licenses/LGPL-3.
